This serializer does not have any special support for namespaces. For example, namespace prefixes are declared in the resulting XML stream if and only if the corresponding "xmlns" attributes are explicitly included in the {@link Attributes} instances passed in{@link #startElement(String,String,String,Attributes)} calls.
As a convenience this class inherits the {@link DefaultHandler} classinstead of just the {@link ContentHandler} interface. This makes iteasier to pass instances of this class to methods like {@link javax.xml.parsers.SAXParser#parse(String,DefaultHandler)} thatexpect a DefaultHandler instance instead of a ContentHandler.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|