public class MarshallingTest extends XMLObjectBaseTestCase
| Modifier and Type | Field and Description |
|---|---|
private QName |
simpleXMLObjectQName
QName for SimpleXMLObject
|
builderFactory, marshallerFactory, parserPool, unmarshallerFactory| Constructor and Description |
|---|
MarshallingTest()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
testMarshallingExistingEmptyDocument()
Tests marshalling into an existing new empty document.
|
void |
testMarshallingReplaceDocumentRoot()
Tests marshalling into an existing document which already has a document root element.
|
void |
testMarshallingWithAttributes()
Tests marshalling an object that has DOM Attrs.
|
void |
testMarshallingWithChildElements()
Tests marshalling an object that has DOM Element children
|
void |
testMarshallingWithElementContent()
Tests marshalling an object that has DOM Element textual content.
|
void |
testMarshallingXMLFragment()
Tests marshalling a fragment of an already marshalled tree into an existing, but different, DOM tree.
|
assertXMLEquals, assertXMLEquals, buildXMLObject, fetchDuration, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElementinitOpenSAMLprivate QName simpleXMLObjectQName
public void testMarshallingWithAttributes()
throws net.shibboleth.utilities.java.support.xml.XMLParserException
net.shibboleth.utilities.java.support.xml.XMLParserExceptionorg.opensaml.core.xml.io.MarshallingExceptionpublic void testMarshallingWithElementContent()
throws net.shibboleth.utilities.java.support.xml.XMLParserException
net.shibboleth.utilities.java.support.xml.XMLParserExceptionpublic void testMarshallingWithChildElements()
throws net.shibboleth.utilities.java.support.xml.XMLParserException,
org.opensaml.core.xml.io.MarshallingException
net.shibboleth.utilities.java.support.xml.XMLParserExceptionorg.opensaml.core.xml.io.MarshallingExceptionpublic void testMarshallingXMLFragment()
throws net.shibboleth.utilities.java.support.xml.XMLParserException,
org.opensaml.core.xml.io.MarshallingException
net.shibboleth.utilities.java.support.xml.XMLParserExceptionorg.opensaml.core.xml.io.MarshallingExceptionpublic void testMarshallingExistingEmptyDocument()
throws net.shibboleth.utilities.java.support.xml.XMLParserException,
org.opensaml.core.xml.io.MarshallingException
net.shibboleth.utilities.java.support.xml.XMLParserExceptionorg.opensaml.core.xml.io.MarshallingExceptionpublic void testMarshallingReplaceDocumentRoot()
throws net.shibboleth.utilities.java.support.xml.XMLParserException,
org.opensaml.core.xml.io.MarshallingException
net.shibboleth.utilities.java.support.xml.XMLParserExceptionorg.opensaml.core.xml.io.MarshallingExceptionCopyright © 1999–2015. All rights reserved.