public interface Block
extends org.apache.axiom.om.OMDataSourceExt
| Modifier and Type | Method and Description |
|---|---|
BlockFactory |
getBlockFactory()
Get BlockFactory
|
java.lang.Object |
getBusinessContext()
GetBusinesContext Some business objects have an associated context object (i.e.
|
java.lang.Object |
getBusinessObject(boolean consume)
Get a reference to the Business Object represented by this Block
|
org.apache.axiom.om.OMElement |
getOMElement()
Get the OMElement represented by this Block.
|
Message |
getParent()
Get the Message associated with this block
|
javax.xml.namespace.QName |
getQName()
Get the QName (namespace, localpart) of the Block.
|
javax.xml.stream.XMLStreamReader |
getXMLStreamReader(boolean consume)
Get the XMLStreamReader represented by this Block
|
boolean |
isConsumed()
isConsumed Return true if the block is consumed.
|
boolean |
isElementData() |
boolean |
isQNameAvailable() |
void |
outputTo(javax.xml.stream.XMLStreamWriter writer,
boolean consume)
Write out the Block
|
void |
setParent(Message parent)
Set the Message associated with this block (This method is intended to be called by the
Message Implementation only)
|
java.lang.String |
traceString(java.lang.String indent)
Get a traceString...the trace string dumps the contents of the Block without forcing an
underlying ill-performant transformation of the message.
|
java.lang.Object getBusinessObject(boolean consume)
throws javax.xml.stream.XMLStreamException,
javax.xml.ws.WebServiceException
consume - true if this is the last request on the block.javax.xml.stream.XMLStreamExceptionjavax.xml.ws.WebServiceExceptionjava.lang.Object getBusinessContext()
javax.xml.stream.XMLStreamReader getXMLStreamReader(boolean consume)
throws javax.xml.stream.XMLStreamException,
javax.xml.ws.WebServiceException
consume - true if this is the last request on the block.javax.xml.stream.XMLStreamExceptionjavax.xml.ws.WebServiceExceptionorg.apache.axiom.om.OMElement getOMElement()
throws javax.xml.stream.XMLStreamException,
javax.xml.ws.WebServiceException
javax.xml.stream.XMLStreamExceptionjavax.xml.ws.WebServiceExceptionvoid outputTo(javax.xml.stream.XMLStreamWriter writer,
boolean consume)
throws javax.xml.stream.XMLStreamException,
javax.xml.ws.WebServiceException
writer - XMLStreamWriterconsume - true if this is the last request on the block.javax.xml.stream.XMLStreamExceptionjavax.xml.ws.WebServiceExceptionboolean isConsumed()
java.lang.String traceString(java.lang.String indent)
boolean isQNameAvailable()
javax.xml.namespace.QName getQName()
throws javax.xml.ws.WebServiceException
javax.xml.ws.WebServiceExceptionisQNameAvailableBlockFactory getBlockFactory()
Message getParent()
void setParent(Message parent)
parent - boolean isElementData()
Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.