|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jrdf.parser.NamespaceListenerImpl
public final class NamespaceListenerImpl
| Constructor Summary | |
|---|---|
NamespaceListenerImpl(MapFactory mapFactory)
|
|
| Method Summary | |
|---|---|
String |
getFullURI(String prefix)
Given a prefix return the full URI. |
void |
handleNamespace(String prefix,
String uri)
Called by an RDF parser when it has encountered a new namespace declaration. |
boolean |
hasPrefix(String prefix)
Return true if the prefix has a mapping. |
boolean |
removePrefix(String prefix)
Allows the removal of a prefix to URI binding. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NamespaceListenerImpl(MapFactory mapFactory)
| Method Detail |
|---|
public boolean hasPrefix(String prefix)
NamespaceListener
hasPrefix in interface NamespaceListenerprefix - the prefix to test.
public boolean removePrefix(String prefix)
NamespaceListener
removePrefix in interface NamespaceListenerprefix - the prefix to remove.
public void handleNamespace(String prefix,
String uri)
NamespaceListener
handleNamespace in interface NamespaceListenerprefix - The prefix that is used in the namespace declaration.uri - The URI of the namespace.public String getFullURI(String prefix)
NamespaceListener
getFullURI in interface NamespaceListenerprefix - the local name/prefix of the uri.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||