org.jboss.axis.encoding
Class AttributeSerializationContextImpl
java.lang.Object
org.jboss.axis.encoding.SerializationContextImpl
org.jboss.axis.encoding.AttributeSerializationContextImpl
- All Implemented Interfaces:
- javax.xml.rpc.encoding.SerializationContext
public class AttributeSerializationContextImpl
- extends SerializationContextImpl
Used to suppress element tag serialization when serializing simple
types into attributes.
- Author:
- Thomas Sandholm (sandholm@mcs.anl.gov)
Methods inherited from class org.jboss.axis.encoding.SerializationContextImpl |
attributeQName2String, getCurrentMessage, getCurrentXMLType, getDoMultiRefs, getElementStack, getMessageContext, getPrefixForURI, getPrefixForURI, getPrefixForURI, getPretty, getQNameForClass, getSerializerForJavaType, getTypeMapping, getTypeMappingRegistry, getValueAsString, isNoDefaultNamespace, isPrimitive, outputMultiRefs, qName2String, registerPrefixForURI, serialize, serialize, setDoMultiRefs, setNoDefaultNamespace, setPretty, setSendDecl, setTypeAttribute, shouldSendXSIType, writeChars, writeDOMElement, writeSafeString, writeString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttributeSerializationContextImpl
public AttributeSerializationContextImpl(Writer writer,
SerializationContext parent)
startElement
public void startElement(javax.xml.namespace.QName qName,
Attributes attributes)
throws IOException
- Description copied from class:
SerializationContextImpl
- Writes (using the Writer) the start tag for element QName along with the
indicated attributes and namespace mappings.
- Overrides:
startElement
in class SerializationContextImpl
- Parameters:
qName
- is the name of the elementattributes
- are the attributes to write
- Throws:
IOException
endElement
public void endElement()
throws IOException
- Description copied from class:
SerializationContextImpl
- Writes the end element tag for the open element.
- Overrides:
endElement
in class SerializationContextImpl
- Throws:
IOException
qName2String
public String qName2String(javax.xml.namespace.QName qname)
- Overrides:
qName2String
in class SerializationContextImpl
startDocument
public void startDocument()
throws IOException
- Overrides:
startDocument
in class SerializationContextImpl
- Throws:
IOException
endDocument
public void endDocument()
throws IOException
- Overrides:
endDocument
in class SerializationContextImpl
- Throws:
IOException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.