public class PrefixFactoryImpl extends Object implements PrefixFactory
A prefix factory that caches the prefixes it creates.
Constructor and Description |
---|
PrefixFactoryImpl(String base) |
Modifier and Type | Method and Description |
---|---|
String |
getPrefix(String uri)
Return a brand new prefix for the given URI.
|
public PrefixFactoryImpl(String base)
public String getPrefix(String uri)
PrefixFactory
getPrefix
in interface PrefixFactory
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.