org.apache.axiom.om.impl.builder
Interface CustomBuilder
- All Known Implementing Classes:
- ByteArrayCustomBuilder
public interface CustomBuilder
A Custom Builder is registered on the StAXBuilder for a particular QName or payload.
When the QName or payload is encountered, the CustomBuilder will build the OMElement
or OMSourcedElement for the StAXBuilder.
create
OMElement create(String namespace,
String localPart,
OMContainer parent,
javax.xml.stream.XMLStreamReader reader,
OMFactory factory)
throws OMException
- Create an OMElement for this whole subtree.
A null is returned if the default StAXBuilder behavior should be used.
- Parameters:
namespace
- localPart
- parent
- reader
-
- Returns:
- null or OMElement
- Throws:
OMException
Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.