public abstract class AbstractSAMLObjectMarshaller extends AbstractXMLObjectMarshaller
Marshaller interface
that handles most of the boilerplate code for Marshallers.| Constructor and Description |
|---|
AbstractSAMLObjectMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
org.w3c.dom.Element |
marshall(XMLObject xmlObject,
org.w3c.dom.Document document)
Marshall this element, and its children, into a W3C DOM element.
|
org.w3c.dom.Element |
marshall(XMLObject xmlObject,
org.w3c.dom.Element parentElement)
Marshall the given XMLObject and append it as a child to the given parent element.
|
protected void |
marshallAttributes(XMLObject xmlObject,
org.w3c.dom.Element domElement)
No-op method.
|
protected void |
marshallElementContent(XMLObject xmlObject,
org.w3c.dom.Element domElement)
No-op method.
|
marshall, marshallChildElements, marshallInto, marshallNamespacePrefix, marshallNamespaces, marshallSchemaInstanceAttributes, marshallUnknownAttributes, setDocumentElementprotected void marshallAttributes(XMLObject xmlObject, org.w3c.dom.Element domElement) throws MarshallingException
marshallAttributes in class AbstractXMLObjectMarshallerxmlObject - the XMLObject to marshalldomElement - the W3C DOM elementMarshallingException - thrown if there is a problem marshalling the elementprotected void marshallElementContent(XMLObject xmlObject, org.w3c.dom.Element domElement) throws MarshallingException
marshallElementContent in class AbstractXMLObjectMarshallerxmlObject - the XMLObjectdomElement - the DOM element recieving the contentMarshallingException - thrown if the textual content can not be added to the DOM elementpublic org.w3c.dom.Element marshall(XMLObject xmlObject, org.w3c.dom.Document document) throws MarshallingException
marshall in interface Marshallermarshall in class AbstractXMLObjectMarshallerxmlObject - the object to marshalldocument - the DOM document the marshalled element will be placed inMarshallingException - thrown if there is a problem marshalling the given objectpublic org.w3c.dom.Element marshall(XMLObject xmlObject, org.w3c.dom.Element parentElement) throws MarshallingException
marshall in interface Marshallermarshall in class AbstractXMLObjectMarshallerxmlObject - the XMLObject to be marshalledparentElement - the parent of the Element resulting from marshalling the given XMLObjectMarshallingException - thrown if the given XMLObject can not be marshalled.