Package org.opensaml.saml.common
Class AbstractSAMLObjectMarshaller
- java.lang.Object
-
- org.opensaml.core.xml.io.AbstractXMLObjectMarshaller
-
- org.opensaml.saml.common.AbstractSAMLObjectMarshaller
-
- All Implemented Interfaces:
org.opensaml.core.xml.io.Marshaller
public abstract class AbstractSAMLObjectMarshaller extends org.opensaml.core.xml.io.AbstractXMLObjectMarshallerA thread safe, abstract implementation of theMarshallerinterface that handles most of the boilerplate code for Marshallers.
-
-
Constructor Summary
Constructors Constructor Description AbstractSAMLObjectMarshaller()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Elementmarshall(org.opensaml.core.xml.XMLObject xmlObject, Document document)Elementmarshall(org.opensaml.core.xml.XMLObject xmlObject, Element parentElement)protected voidmarshallAttributes(org.opensaml.core.xml.XMLObject xmlObject, Element domElement)No-op method.protected voidmarshallElementContent(org.opensaml.core.xml.XMLObject xmlObject, Element domElement)No-op method.
-
-
-
Method Detail
-
marshallAttributes
protected void marshallAttributes(org.opensaml.core.xml.XMLObject xmlObject, Element domElement) throws org.opensaml.core.xml.io.MarshallingExceptionNo-op method. Extending implementations should override this method if they have attributes to marshall into the Element.- Overrides:
marshallAttributesin classorg.opensaml.core.xml.io.AbstractXMLObjectMarshaller- Throws:
org.opensaml.core.xml.io.MarshallingException
-
marshallElementContent
protected void marshallElementContent(org.opensaml.core.xml.XMLObject xmlObject, Element domElement) throws org.opensaml.core.xml.io.MarshallingExceptionNo-op method. Extending implementations should override this method if they have text content to marshall into the Element.- Overrides:
marshallElementContentin classorg.opensaml.core.xml.io.AbstractXMLObjectMarshaller- Throws:
org.opensaml.core.xml.io.MarshallingException
-
marshall
public Element marshall(org.opensaml.core.xml.XMLObject xmlObject, Document document) throws org.opensaml.core.xml.io.MarshallingException
- Specified by:
marshallin interfaceorg.opensaml.core.xml.io.Marshaller- Overrides:
marshallin classorg.opensaml.core.xml.io.AbstractXMLObjectMarshaller- Throws:
org.opensaml.core.xml.io.MarshallingException
-
marshall
public Element marshall(org.opensaml.core.xml.XMLObject xmlObject, Element parentElement) throws org.opensaml.core.xml.io.MarshallingException
- Specified by:
marshallin interfaceorg.opensaml.core.xml.io.Marshaller- Overrides:
marshallin classorg.opensaml.core.xml.io.AbstractXMLObjectMarshaller- Throws:
org.opensaml.core.xml.io.MarshallingException
-
-