org.apache.ws.commons.serialize
Class OrderedAttributeXMLWriter
- org.xml.sax.ContentHandler, XMLWriter
public class OrderedAttributeXMLWriter
A subclass of
XMLWriterImpl
,
which writes the attributes ordered alphabetically. This is mainly
useful for test purposes, when a canonical representation of the
result is required for comparing against an expected value.
void | startElement(String pNamespaceURI, String pLocalName, String pQName, Attributes pAttrs) - Starts a new element.
|
canEncode , characters , endDocument , endElement , endPrefixMapping , getDocumentLocator , getEncoding , getIndentString , getLineFeed , getWriter , ignorableWhitespace , isDeclarating , isFlushing , isIndenting , processingInstruction , setDeclarating , setDocumentLocator , setEncoding , setFlushing , setIndentString , setIndenting , setLineFeed , setWriter , skippedEntity , startDocument , startElement , startPrefixMapping |
startElement
public void startElement(String pNamespaceURI,
String pLocalName,
String pQName,
Attributes pAttrs)
throws SAXException
Starts a new element.
- startElement in interface XMLWriterImpl