public interface OMContainerFactory
OMContainer instance from a test file.| Modifier and Type | Field and Description |
|---|---|
static OMContainerFactory |
DOCUMENT |
| Modifier and Type | Method and Description |
|---|---|
void |
addTestProperties(AxiomTestCase testCase) |
javax.xml.stream.XMLStreamReader |
filter(javax.xml.stream.XMLStreamReader reader)
Filter the given stream so that its content matches the content of the container returned by
getContainer(OMXMLParserWrapper). |
OMContainer |
getContainer(OMXMLParserWrapper builder)
Extract the
OMContainer from the given test file. |
org.xml.sax.InputSource |
getControl(java.io.InputStream testFileContent)
Prepare a control document that has the same content as the container returned by
getContainer(OMXMLParserWrapper). |
static final OMContainerFactory DOCUMENT
void addTestProperties(AxiomTestCase testCase)
org.xml.sax.InputSource getControl(java.io.InputStream testFileContent)
throws java.lang.Exception
getContainer(OMXMLParserWrapper).testFileContent - the content of the test fileInputSource for the control documentjava.lang.ExceptionOMContainer getContainer(OMXMLParserWrapper builder)
OMContainer from the given test file.builder - the builder for the test filejavax.xml.stream.XMLStreamReader filter(javax.xml.stream.XMLStreamReader reader)
getContainer(OMXMLParserWrapper).reader - the original stream reader representing the content of the test file