|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface provides access to namespace information during a parse. The methods were derived from the accessor methods of NamespaceSupport
NamespaceSupport
Method Summary | |
java.util.Enumeration |
getDeclaredPrefixes()
Return an enumeration of all prefixes currently declared for a URI. |
java.lang.String |
getPrefix(java.lang.String uri)
Return one of the prefixes mapped to a Namespace URI. |
java.util.Enumeration |
getPrefixes()
Return an enumeration of all prefixes currently declared. |
java.util.Enumeration |
getPrefixes(java.lang.String uri)
Return an enumeration of all prefixes currently declared for this uri |
java.lang.String |
getURI(java.lang.String prefix)
Look up a prefix and get the currently-mapped Namespace URI. |
java.lang.String[] |
processName(java.lang.String qName,
java.lang.String[] parts,
boolean isAttribute)
Process a raw XML 1.0 name. |
Method Detail |
public java.lang.String[] processName(java.lang.String qName, java.lang.String[] parts, boolean isAttribute)
qName
- qualified nameparts
- the parts of the namspace representationisAttribute
- true if the name is an attribute name, false
if an element nameNamespaceSupport.processName(String qName,
String[] parts, boolean isAttribute)
public java.lang.String getURI(java.lang.String prefix)
prefix
- the prefix for which the URI is to be determinedNamespaceSupport.getURI(String prefix)
public java.util.Enumeration getPrefixes(java.lang.String uri)
uri
- the URI for which the set of prefixes is desiredNamespaceSupport.getPrefixes()
public java.util.Enumeration getPrefixes()
NamespaceSupport.getPrefixes(String uri)
public java.lang.String getPrefix(java.lang.String uri)
uri
- the URI for which the prefix is desiredSNamespaceSupport.getPrefix(String uri)
public java.util.Enumeration getDeclaredPrefixes()
NamespaceSupport.getDeclaredPrefixes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |