org.apache.axis.message
Class MessageElement
java.lang.Object
|
+--org.apache.axis.message.MessageElement
- Direct Known Subclasses:
- SOAPBodyElement, SOAPEnvelope, SOAPHeader
- public class MessageElement
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected java.lang.String name
prefix
protected java.lang.String prefix
namespaceURI
protected java.lang.String namespaceURI
attributes
protected org.xml.sax.helpers.AttributesImpl attributes
id
protected java.lang.String id
href
protected java.lang.String href
_isRoot
protected boolean _isRoot
message
protected SOAPEnvelope message
_isDirty
protected boolean _isDirty
context
protected DeserializationContext context
typeQName
protected QName typeQName
qNameAttrs
protected java.util.Vector qNameAttrs
nsDecls
public java.util.Hashtable nsDecls
recorder
protected SAX2EventRecorder recorder
startEventIndex
protected int startEventIndex
endEventIndex
protected int endEventIndex
elementRep
protected org.w3c.dom.Element elementRep
namespaces
public java.util.ArrayList namespaces
setFixupDeserializer
public void setFixupDeserializer(Deserializer dser)
getFixupDeserializer
public Deserializer getFixupDeserializer()
setEndIndex
public void setEndIndex(int endIndex)
isDirty
public boolean isDirty()
setDirty
public void setDirty(boolean dirty)
isRoot
public boolean isRoot()
getID
public java.lang.String getID()
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getPrefix
public java.lang.String getPrefix()
setPrefix
public void setPrefix(java.lang.String prefix)
getNamespaceURI
public java.lang.String getNamespaceURI()
setNamespaceURI
public void setNamespaceURI(java.lang.String nsURI)
getType
public QName getType()
setType
public void setType(QName qName)
getRecorder
public SAX2EventRecorder getRecorder()
setRecorder
public void setRecorder(SAX2EventRecorder rec)
getValueAsType
public java.lang.Object getValueAsType(QName type)
throws java.lang.Exception
addAttribute
public void addAttribute(java.lang.String namespace,
java.lang.String localName,
QName value)
setEnvelope
public void setEnvelope(SOAPEnvelope env)
getEnvelope
public SOAPEnvelope getEnvelope()
getRealElement
public MessageElement getRealElement()
getAsDOM
public org.w3c.dom.Element getAsDOM()
throws java.lang.Exception
publishToHandler
public void publishToHandler(org.xml.sax.ContentHandler handler)
throws org.xml.sax.SAXException
publishContents
public void publishContents(org.xml.sax.ContentHandler handler)
throws org.xml.sax.SAXException
output
public final void output(SerializationContext context)
throws java.lang.Exception
- This is the public output() method, which will always simply use
the recorded SAX stream for this element if it is available. If
not, this method calls outputImpl() to allow subclasses and
programmatically created messages to serialize themselves.
- Parameters:
context
- the SerializationContext we will write to.
outputImpl
protected void outputImpl(SerializationContext context)
throws java.lang.Exception
- Subclasses can override
Copyright © 2001 Apache XML Project. All Rights Reserved.