|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.content.render.xhtml.DefaultXmlEventReaderFactory
public class DefaultXmlEventReaderFactory
Constructor Summary | |
---|---|
DefaultXmlEventReaderFactory()
This is a convenience constructor used in testing. |
|
DefaultXmlEventReaderFactory(XMLEntityResolver resolver)
|
Method Summary | |
---|---|
javax.xml.stream.XMLEventReader |
createEditorXmlEventReader(java.io.Reader xml)
|
javax.xml.stream.XMLEventReader |
createStorageXmlEventReader(java.io.Reader xml)
|
javax.xml.stream.XMLEventReader |
createStorageXmlEventReader(java.io.Reader xml,
boolean entityReplacing)
This method is experimental and may change at very short notice. |
javax.xml.stream.XMLEventReader |
createXmlEventReader(java.io.Reader xml)
|
javax.xml.stream.XMLEventReader |
createXMLEventReader(java.io.Reader xml,
java.util.List<Namespace> namespaces,
boolean entityReplacing)
A factory method providing more detailed control over the XMLEventReader you require. |
javax.xml.stream.XMLEventReader |
createXmlFragmentBodyEventReader(javax.xml.stream.XMLEventReader delegate)
|
javax.xml.stream.XMLEventReader |
createXmlFragmentEventReader(java.io.Reader xml)
Create a fragment event reader which excludes the start and end document events. |
javax.xml.stream.XMLEventReader |
createXmlFragmentEventReader(javax.xml.stream.XMLEventReader delegate)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultXmlEventReaderFactory()
public DefaultXmlEventReaderFactory(XMLEntityResolver resolver)
Method Detail |
---|
public javax.xml.stream.XMLEventReader createXmlEventReader(java.io.Reader xml) throws javax.xml.stream.XMLStreamException
createXmlEventReader
in interface XmlEventReaderFactory
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLEventReader createXmlFragmentEventReader(java.io.Reader xml) throws javax.xml.stream.XMLStreamException
XmlEventReaderFactory
createXmlFragmentEventReader
in interface XmlEventReaderFactory
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLEventReader createStorageXmlEventReader(java.io.Reader xml) throws javax.xml.stream.XMLStreamException
createStorageXmlEventReader
in interface XmlEventReaderFactory
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLEventReader createStorageXmlEventReader(java.io.Reader xml, boolean entityReplacing) throws javax.xml.stream.XMLStreamException
XmlEventReaderFactory
createStorageXmlEventReader
in interface XmlEventReaderFactory
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLEventReader createEditorXmlEventReader(java.io.Reader xml) throws javax.xml.stream.XMLStreamException
createEditorXmlEventReader
in interface XmlEventReaderFactory
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLEventReader createXMLEventReader(java.io.Reader xml, java.util.List<Namespace> namespaces, boolean entityReplacing) throws javax.xml.stream.XMLStreamException
XmlEventReaderFactory
createXMLEventReader
in interface XmlEventReaderFactory
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.
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLEventReader createXmlFragmentEventReader(javax.xml.stream.XMLEventReader delegate) throws javax.xml.stream.XMLStreamException
createXmlFragmentEventReader
in interface XmlEventReaderFactory
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLEventReader createXmlFragmentBodyEventReader(javax.xml.stream.XMLEventReader delegate) throws javax.xml.stream.XMLStreamException
createXmlFragmentBodyEventReader
in interface XmlEventReaderFactory
javax.xml.stream.XMLStreamException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |