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) |
XMLStreamReader |
filter(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. |
InputSource |
getControl(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)
InputSource getControl(InputStream testFileContent) throws Exception
getContainer(OMXMLParserWrapper)
.testFileContent
- the content of the test fileInputSource
for the control documentException
OMContainer getContainer(OMXMLParserWrapper builder)
OMContainer
from the given test file.builder
- the builder for the test fileXMLStreamReader filter(XMLStreamReader reader)
getContainer(OMXMLParserWrapper)
.reader
- the original stream reader representing the content of the test fileCopyright © 2004–2023 The Apache Software Foundation. All rights reserved.