org.apache.axis2.jaxws.context.listener
Class ParserInputStreamCustomBuilder
java.lang.Object
org.apache.axis2.jaxws.context.listener.ParserInputStreamCustomBuilder
- All Implemented Interfaces:
- org.apache.axiom.om.impl.builder.CustomBuilder
public class ParserInputStreamCustomBuilder
- extends Object
- implements org.apache.axiom.om.impl.builder.CustomBuilder
A custom builder to that does the following:
1) Uses the parser to fetch the inputStream if parser supports reading of element contents
2) Use the inputStream to create a DataSource backed by the InputStream read from Parser.
3) Use the OMFactory to create OMSourcedElement, OMSourcedElement is backed by ParsedEntityDataSource.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParserInputStreamCustomBuilder
public ParserInputStreamCustomBuilder(String encoding)
- Constructor
- Parameters:
encoding
-
create
public org.apache.axiom.om.OMElement create(String namespace,
String localPart,
org.apache.axiom.om.OMContainer parent,
XMLStreamReader reader,
org.apache.axiom.om.OMFactory factory)
throws org.apache.axiom.om.OMException
- Specified by:
create
in interface org.apache.axiom.om.impl.builder.CustomBuilder
- Throws:
org.apache.axiom.om.OMException
create
public org.apache.axiom.om.OMElement create(String namespace,
String localPart,
org.apache.axiom.om.OMContainer parent,
XMLStreamReader reader,
org.apache.axiom.om.OMFactory factory,
InputStream payload)
throws org.apache.axiom.om.OMException
- Throws:
org.apache.axiom.om.OMException
convertEntityReferences
protected String convertEntityReferences(String value)
Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.