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(javax.xml.stream.XMLStreamReader reader,
Object context,
QName qName)
createBlock from XMLStreamReader
|
boolean |
isElement() |
Block createFrom(javax.xml.stream.XMLStreamReader reader, Object context, QName qName) throws javax.xml.stream.XMLStreamException, javax.xml.ws.WebServiceException
reader - XMLStreamReadercontext - Associated Context or nullQName - must be supplied if knownjavax.xml.stream.XMLStreamExceptionjavax.xml.ws.WebServiceExceptionBlock createFrom(org.apache.axiom.om.OMElement omElement, Object context, QName qName) throws javax.xml.stream.XMLStreamException, javax.xml.ws.WebServiceException
omElement - OMElementcontext - Associated Context or nullQName - must be supplied if knownjavax.xml.stream.XMLStreamExceptionjavax.xml.ws.WebServiceExceptionBlock createFrom(Block other, Object context) throws javax.xml.stream.XMLStreamException, javax.xml.ws.WebServiceException
other - Blockcontext - Associated Context or nulljavax.xml.stream.XMLStreamExceptionjavax.xml.ws.WebServiceExceptionBlock createFrom(Object businessObject, Object context, QName qName) throws javax.xml.ws.WebServiceException
businessObject - context - Associated Context or nullQName - must be supplied if knownjavax.xml.stream.XMLStreamExceptionjavax.xml.ws.WebServiceExceptionboolean isElement()
Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.