Package org.apache.xml.serializer.dom3
Class NamespaceSupport
java.lang.Object
org.apache.xml.serializer.dom3.NamespaceSupport
Namespace support for XML document handlers. This class doesn't
perform any error checking and assumes that all strings passed
as arguments to methods are unique symbols. The SymbolTable class
can be used for this purpose.
Derived from org.apache.xerces.util.NamespaceSupport
- Version:
- $Id: NamespaceSupport.java 1225426 2011-12-29 04:13:08Z mrglavas $
- Author:
- Andy Clark, IBM
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The XML Namespace ("http://www.w3.org/XML/1998/namespace").static final String
XML Information Set REC all namespace attributes (including those named xmlns, whose [prefix] property has no value) have a namespace URI of http://www.w3.org/2000/xmlns/ -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
declarePrefix
(String prefix, String uri) getDeclaredPrefixAt
(int index) int
void
void
void
reset()
-
Field Details
-
XML_URI
The XML Namespace ("http://www.w3.org/XML/1998/namespace"). This is the Namespace URI that is automatically mapped to the "xml" prefix. -
XMLNS_URI
XML Information Set REC all namespace attributes (including those named xmlns, whose [prefix] property has no value) have a namespace URI of http://www.w3.org/2000/xmlns/
-
-
Constructor Details
-
NamespaceSupport
public NamespaceSupport()Default constructor.
-
-
Method Details
-
reset
public void reset()- See Also:
-
pushContext
public void pushContext()- See Also:
-
popContext
public void popContext()- See Also:
-
declarePrefix
- See Also:
-
getURI
- See Also:
-
getPrefix
- See Also:
-
getDeclaredPrefixCount
public int getDeclaredPrefixCount()- See Also:
-
getDeclaredPrefixAt
- See Also:
-
getAllPrefixes
- See Also:
-