org.opensaml.xml
public class MarshallingTest extends XMLObjectBaseTestCase
Modifier and Type | Field and Description |
---|---|
private QName |
simpleXMLObjectQName
QName for SimpleXMLObject
|
builderFactory, marshallerFactory, parserPool, unmarshallerFactory
JAVA5_XSLTC_FACTORY_NAME, XSLT_END, XSLT_IDENTITY_TEMPLATE, XSLT_START, XSLT_START_NO_VERSION, XSLT_STRIP_COMMENTS_TEMPLATE, XSLT_STRIP_WHITESPACE, XSLT_XML_OUTPUT_NOINDENT
CLOSE_NODE, END_CDATA, END_COMMENT, END_PROCESSING_INSTRUCTION, OPEN_END_NODE, OPEN_START_NODE, START_CDATA, START_COMMENT, START_DOCTYPE, START_PROCESSING_INSTRUCTION, W3C_XML_SCHEMA_INSTANCE_NO_NAMESPACE_SCHEMA_LOCATION_ATTR, W3C_XML_SCHEMA_INSTANCE_NS_URI, W3C_XML_SCHEMA_INSTANCE_SCHEMA_LOCATION_ATTR, W3C_XML_SCHEMA_NS_URI, XML_DECLARATION, XMLNS_PREFIX, XPATH_ATTRIBUTE_IDENTIFIER, XPATH_CHARACTER_NODE_IDENTIFIER, XPATH_COMMENT_IDENTIFIER, XPATH_NODE_INDEX_END, XPATH_NODE_INDEX_START, XPATH_PROCESSING_INSTRUCTION_IDENTIFIER, XPATH_SEPARATOR
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.
|
assertEquals, assertEquals, buildXMLObject, printXML, printXML, setUp, unmarshallElement
assertNodeTestPasses, assertNodeTestPasses, assertNodeTestPasses, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLIdentical, assertXMLIdentical, assertXMLNotEqual, assertXMLNotEqual, assertXMLNotEqual, assertXMLNotEqual, assertXMLNotEqual, assertXMLNotEqual, assertXMLNotEqual, assertXMLNotEqual, assertXMLValid, assertXMLValid, assertXMLValid, assertXMLValid, assertXMLValid, assertXMLValid, assertXMLValid, assertXpathEvaluatesTo, assertXpathEvaluatesTo, assertXpathEvaluatesTo, assertXpathExists, assertXpathExists, assertXpathExists, assertXpathNotExists, assertXpathNotExists, assertXpathNotExists, assertXpathsEqual, assertXpathsEqual, assertXpathsEqual, assertXpathsEqual, assertXpathsEqual, assertXpathsEqual, assertXpathsNotEqual, assertXpathsNotEqual, assertXpathsNotEqual, assertXpathsNotEqual, assertXpathsNotEqual, assertXpathsNotEqual, assertXpathValuesEqual, assertXpathValuesEqual, assertXpathValuesEqual, assertXpathValuesEqual, assertXpathValuesEqual, assertXpathValuesEqual, assertXpathValuesNotEqual, assertXpathValuesNotEqual, assertXpathValuesNotEqual, assertXpathValuesNotEqual, assertXpathValuesNotEqual, assertXpathValuesNotEqual, compareXML, compareXML, compareXML, compareXML, compareXML, compareXML
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, tearDown, toString
private QName simpleXMLObjectQName
public void testMarshallingWithAttributes() throws org.opensaml.xml.parse.XMLParserException
org.opensaml.xml.parse.XMLParserException
org.opensaml.xml.io.MarshallingException
public void testMarshallingWithElementContent() throws org.opensaml.xml.parse.XMLParserException
org.opensaml.xml.parse.XMLParserException
public void testMarshallingWithChildElements() throws org.opensaml.xml.parse.XMLParserException, org.opensaml.xml.io.MarshallingException
org.opensaml.xml.parse.XMLParserException
org.opensaml.xml.io.MarshallingException
public void testMarshallingXMLFragment() throws org.opensaml.xml.parse.XMLParserException, org.opensaml.xml.io.MarshallingException
org.opensaml.xml.parse.XMLParserException
org.opensaml.xml.io.MarshallingException
public void testMarshallingExistingEmptyDocument() throws org.opensaml.xml.parse.XMLParserException, org.opensaml.xml.io.MarshallingException
org.opensaml.xml.parse.XMLParserException
org.opensaml.xml.io.MarshallingException
public void testMarshallingReplaceDocumentRoot() throws org.opensaml.xml.parse.XMLParserException, org.opensaml.xml.io.MarshallingException
org.opensaml.xml.parse.XMLParserException
org.opensaml.xml.io.MarshallingException
Copyright © 1999-2014 JBoss by Red Hat. All Rights Reserved.