public interface XmlEventReaderFactory
Modifier and Type | Method and Description |
---|---|
XMLEventReader |
createEditorXmlEventReader(Reader xml) |
XMLEventReader |
createStorageXmlEventReader(Reader xml) |
XMLEventReader |
createStorageXmlEventReader(Reader xml,
boolean entityReplacing)
This method is experimental and may change at very short notice.
|
XMLEventReader |
createXmlEventReader(Reader xml) |
XMLEventReader |
createXMLEventReader(Reader xml,
List<Namespace> namespaces,
boolean entityReplacing)
A factory method providing more detailed control over the XMLEventReader you require.
|
XMLEventReader |
createXmlFragmentBodyEventReader(XMLEventReader delegate) |
XMLEventReader |
createXmlFragmentEventReader(Reader xml)
Create a fragment event reader which excludes the start and end document events.
|
XMLEventReader |
createXmlFragmentEventReader(XMLEventReader delegate) |
XMLEventReader createXmlEventReader(Reader xml) throws XMLStreamException
XMLStreamException
XMLEventReader createXmlFragmentEventReader(Reader xml) throws XMLStreamException
XMLStreamException
XMLEventReader createStorageXmlEventReader(Reader xml) throws XMLStreamException
XMLStreamException
XMLEventReader createStorageXmlEventReader(Reader xml, boolean entityReplacing) throws XMLStreamException
XMLStreamException
XMLEventReader createEditorXmlEventReader(Reader xml) throws XMLStreamException
XMLStreamException
XMLEventReader createXMLEventReader(Reader xml, List<Namespace> namespaces, boolean entityReplacing) throws XMLStreamException
xml
- the XML formatted data to be readnamespaces
- a List of namespaces to be found within the supplied XML dataentityReplacing
- a flag indicating whether entities found within the XML data should be replaced with characters, or left as entities.XMLStreamException
XMLEventReader createXmlFragmentEventReader(XMLEventReader delegate) throws XMLStreamException
XMLStreamException
XMLEventReader createXmlFragmentBodyEventReader(XMLEventReader delegate) throws XMLStreamException
XMLStreamException
Copyright © 2003–2016 Atlassian. All rights reserved.