Package org.apache.axis.encoding
Class AttributeSerializationContextImpl
java.lang.Object
org.apache.axis.encoding.SerializationContext
org.apache.axis.encoding.AttributeSerializationContextImpl
- All Implemented Interfaces:
SerializationContext
Used to suppress element tag serialization when serializing simple
types into attributes.
- Author:
- Thomas Sandholm (sandholm@mcs.anl.gov)
-
Field Summary
Fields inherited from class org.apache.axis.encoding.SerializationContext
log, startOfDocument
-
Constructor Summary
ConstructorsConstructorDescriptionAttributeSerializationContextImpl
(Writer writer, SerializationContext parent) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Writes the end element tag for the open element.qName2String
(QName qname) void
startElement
(QName qName, Attributes attributes) Writes (using the Writer) the start tag for element QName along with the indicated attributes and namespace mappings.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
-
Constructor Details
-
AttributeSerializationContextImpl
-
-
Method Details
-
startElement
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 classSerializationContext
- Parameters:
qName
- is the name of the elementattributes
- are the attributes to write- Throws:
IOException
-
endElement
Description copied from class:SerializationContext
Writes the end element tag for the open element.- Overrides:
endElement
in classSerializationContext
- Throws:
IOException
-
qName2String
- Overrides:
qName2String
in classSerializationContext
-