org.apache.axis.encoding
Class AttributeSerializationContextImpl
java.lang.Object
org.apache.axis.encoding.SerializationContext
org.apache.axis.encoding.AttributeSerializationContextImpl
- All Implemented Interfaces:
- SerializationContext
public class AttributeSerializationContextImpl
- extends SerializationContext
Used to suppress element tag serialization when serializing simple
types into attributes.
- Author:
- Thomas Sandholm (sandholm@mcs.anl.gov)
| Methods inherited from class org.apache.axis.encoding.SerializationContext |
attributeQName2String, getCurrentMessage, getCurrentXMLType, getDoMultiRefs, getEncoder, getEncoding, getEncodingStyle, getItemQName, getItemType, getMessageContext, getPrefixForURI, getPrefixForURI, getPrefixForURI, getPretty, getQNameForClass, getSerializerForJavaType, getTypeMapping, getTypeMappingRegistry, getValueAsString, isEncoded, isPrimitive, outputMultiRefs, qName2String, registerPrefixForURI, serialize, serialize, serialize, serialize, serialize, serialize, setDoMultiRefs, setEncoding, setItemQName, setItemType, setPretty, setSendDecl, setTypeAttribute, setWriteXMLType, shouldSendXSIType, writeChars, writeDOMElement, writeSafeString, writeString, writeXMLDeclaration |
| 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(QName qName,
Attributes attributes)
throws IOException
- Description copied from class:
SerializationContext
- Writes (using the Writer) the start tag for element QName along with the
indicated attributes and namespace mappings.
- Overrides:
startElement in class SerializationContext
- 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:
SerializationContext
- Writes the end element tag for the open element.
- Overrides:
endElement in class SerializationContext
- Throws:
IOException
qName2String
public String qName2String(QName qname)
- Overrides:
qName2String in class SerializationContext
Copyright © The Apache Software Foundation. All Rights Reserved.