org.apache.ws.jaxme.impl
Class OrderedAttributeXMLWriter
java.lang.Object
   org.apache.ws.jaxme.impl.XMLWriterImpl
org.apache.ws.jaxme.impl.XMLWriterImpl
       org.apache.ws.jaxme.impl.OrderedAttributeXMLWriter
org.apache.ws.jaxme.impl.OrderedAttributeXMLWriter
- All Implemented Interfaces: 
- org.xml.sax.ContentHandler, XMLWriter
- public class OrderedAttributeXMLWriter- extends XMLWriterImpl
This is a subclass of XMLWriterImpl,
 that 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.
 
| Method Summary | 
|  void | startElement(java.lang.String pNamespaceURI,
             java.lang.String pLocalName,
             java.lang.String pQName,
             org.xml.sax.Attributes pAttrs)Starts a new element.
 | 
 
| Methods inherited from class org.apache.ws.jaxme.impl.XMLWriterImpl | 
| canEncode, characters, endDocument, endElement, endPrefixMapping, getDocumentLocator, getMarshaller, getWriter, ignorableWhitespace, init, processingInstruction, setDocumentLocator, setWriter, skippedEntity, startDocument, startPrefixMapping | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
OrderedAttributeXMLWriter
public OrderedAttributeXMLWriter()
startElement
public void startElement(java.lang.String pNamespaceURI,
                         java.lang.String pLocalName,
                         java.lang.String pQName,
                         org.xml.sax.Attributes pAttrs)
                  throws org.xml.sax.SAXException
- Description copied from class: XMLWriterImpl
- Starts a new element.
 
- 
- Specified by:
- startElementin interface- org.xml.sax.ContentHandler
- Overrides:
- startElementin class- XMLWriterImpl
 
- 
- Parameters:
- pNamespaceURI- The namespace URI, if any, or null
- pLocalName- The local name, without prefix, or null
- pQName- The qualified name, including a prefix, or null
- pAttrs- The element attributes
- Throws:
- org.xml.sax.SAXException- Thrown in case of an IOException.