站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 .net API Documentation 英文版文档

AttributeDeser (JBoss.Net API) - JBoss 4.0.1 sp1 .net API Documentation 英文版文档


org.jboss.net.jmx.adaptor
Class AttributeDeser

java.lang.Object
  extended byorg.xml.sax.helpers.DefaultHandler
      extended byorg.apache.axis.message.SOAPHandler
          extended byorg.apache.axis.encoding.DeserializerImpl
              extended byorg.jboss.net.jmx.adaptor.AttributeDeser
All Implemented Interfaces:
org.apache.axis.encoding.Callback, ContentHandler, org.apache.axis.encoding.Deserializer, javax.xml.rpc.encoding.Deserializer, DTDHandler, EntityResolver, ErrorHandler, Serializable

public class AttributeDeser
extends org.apache.axis.encoding.DeserializerImpl

An AttributeDeser is be used to deserialize Attribute objects using the SOAP-ENC encoding style.

Since:
26.04.03
Version:
$Revision: 1.5 $
Author:
Alireza Taherkordi, Christoph G. Jung
See Also:
Serialized Form

Nested Class Summary
protected  class AttributeDeser.AttributeValueTarget
           
 
Field Summary
protected  String attributeName
           
protected  Object attributeValue
           
protected  javax.xml.namespace.QName xmlType
           
 
Fields inherited from class org.apache.axis.encoding.DeserializerImpl
defaultType, id, isEnded, isHref, isNil, targets, value
 
Fields inherited from class org.apache.axis.message.SOAPHandler
myElement
 
Constructor Summary
AttributeDeser(Class javaClass, javax.xml.namespace.QName xmlType)
           
 
Method Summary
 void onEndElement(String namespace, String localName, org.apache.axis.encoding.DeserializationContext context)
          Append any characters to the value.
 org.apache.axis.message.SOAPHandler onStartChild(String namespace, String localName, String prefix, Attributes attributes, org.apache.axis.encoding.DeserializationContext context)
          dispatch to the deserializer for the value element
 void onStartElement(String namespace, String localName, String qName, Attributes attributes, org.apache.axis.encoding.DeserializationContext context)
          we can already defer the attribute name
 
Methods inherited from class org.apache.axis.encoding.DeserializerImpl
addChildDeserializer, componentsReady, endElement, getDefaultType, getMechanismType, getValue, getValue, getValueTargets, moveValueTargets, registerValueTarget, removeValueTargets, setChildValue, setDefaultType, setValue, setValue, startElement, valueComplete
 
Methods inherited from class org.apache.axis.message.SOAPHandler
makeNewElement, onEndChild
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attributeName

protected String attributeName

attributeValue

protected Object attributeValue

xmlType

protected javax.xml.namespace.QName xmlType
Constructor Detail

AttributeDeser

public AttributeDeser(Class javaClass,
                      javax.xml.namespace.QName xmlType)
Method Detail

onStartElement

public void onStartElement(String namespace,
                           String localName,
                           String qName,
                           Attributes attributes,
                           org.apache.axis.encoding.DeserializationContext context)
                    throws SAXException
we can already defer the attribute name

Throws:
SAXException

onStartChild

public org.apache.axis.message.SOAPHandler onStartChild(String namespace,
                                                        String localName,
                                                        String prefix,
                                                        Attributes attributes,
                                                        org.apache.axis.encoding.DeserializationContext context)
                                                 throws SAXException
dispatch to the deserializer for the value element

Throws:
SAXException

onEndElement

public void onEndElement(String namespace,
                         String localName,
                         org.apache.axis.encoding.DeserializationContext context)
                  throws SAXException
Append any characters to the value. This method is defined by Deserializer.

Throws:
SAXException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.