Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.axis.encoding
Class AttributeSerializationContextImpl  view AttributeSerializationContextImpl download AttributeSerializationContextImpl.java

java.lang.Object
  extended byorg.apache.axis.encoding.SerializationContext
      extended byorg.apache.axis.encoding.AttributeSerializationContextImpl
All Implemented Interfaces:
javax.xml.rpc.encoding.SerializationContext

public class AttributeSerializationContextImpl
extends SerializationContext

Used to suppress element tag serialization when serializing simple types into attributes.


Nested Class Summary
 
Nested classes inherited from class org.apache.axis.encoding.SerializationContext
SerializationContext.MultiRefItem
 
Field Summary
(package private)  SerializationContext parent
           
 
Fields inherited from class org.apache.axis.encoding.SerializationContext
log, preferredPrefixes, schemaVersion, startOfDocument
 
Constructor Summary
AttributeSerializationContextImpl(java.io.Writer writer, SerializationContext parent)
           
 
Method Summary
 void endElement()
          Writes the end element tag for the open element.
 java.lang.String qName2String(javax.xml.namespace.QName qname)
           
 void startElement(javax.xml.namespace.QName qName, org.xml.sax.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, 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
 

Field Detail

parent

SerializationContext parent
Constructor Detail

AttributeSerializationContextImpl

public AttributeSerializationContextImpl(java.io.Writer writer,
                                         SerializationContext parent)
Method Detail

startElement

public void startElement(javax.xml.namespace.QName qName,
                         org.xml.sax.Attributes attributes)
                  throws java.io.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

endElement

public void endElement()
                throws java.io.IOException
Description copied from class: SerializationContext
Writes the end element tag for the open element.

Overrides:
endElement in class SerializationContext

qName2String

public java.lang.String qName2String(javax.xml.namespace.QName qname)
Overrides:
qName2String in class SerializationContext