public interface BlockFactory
FactoryRegistry
Modifier and Type | Method and Description |
---|---|
Block |
createFrom(Block other,
Object context)
createBlock from another Block If the other Block was created with the same factory and has the
same context, the other Block is returned.
|
Block |
createFrom(Object businessObject,
Object context,
QName qName)
Create from business object
|
Block |
createFrom(org.apache.axiom.om.OMElement omElement,
Object context,
QName qName)
createBlock from XMLStreamReader
|
Block |
createFrom(XMLStreamReader reader,
Object context,
QName qName)
createBlock from XMLStreamReader
|
boolean |
isElement() |
Block createFrom(XMLStreamReader reader, Object context, QName qName) throws XMLStreamException, WebServiceException
reader
- XMLStreamReadercontext
- Associated Context or nullQName
- must be supplied if knownXMLStreamException
WebServiceException
Block createFrom(org.apache.axiom.om.OMElement omElement, Object context, QName qName) throws XMLStreamException, WebServiceException
omElement
- OMElementcontext
- Associated Context or nullQName
- must be supplied if knownXMLStreamException
WebServiceException
Block createFrom(Block other, Object context) throws XMLStreamException, WebServiceException
other
- Blockcontext
- Associated Context or nullXMLStreamException
WebServiceException
Block createFrom(Object businessObject, Object context, QName qName) throws WebServiceException
businessObject
- context
- Associated Context or nullQName
- must be supplied if knownXMLStreamException
WebServiceException
boolean isElement()
Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.