org.opensaml.xml
Class AbstractExtensibleXMLObjectMarshaller

java.lang.Object
  extended by org.opensaml.xml.io.AbstractXMLObjectMarshaller
      extended by org.opensaml.xml.AbstractElementExtensibleXMLObjectMarshaller
          extended by org.opensaml.xml.AbstractExtensibleXMLObjectMarshaller
All Implemented Interfaces:
Marshaller

public class AbstractExtensibleXMLObjectMarshaller
extends AbstractElementExtensibleXMLObjectMarshaller

AbstractExtensibleXMLObjectMarshaller marshalls element of type xs:any and with xs:anyAttribute attributes.


Constructor Summary
AbstractExtensibleXMLObjectMarshaller()
          Constructor.
AbstractExtensibleXMLObjectMarshaller(String targetNamespaceURI, String targetLocalName)
          Deprecated. no replacement
 
Method Summary
protected  void marshallAttributes(XMLObject xmlObject, Element domElement)
          Marshalls the xs:anyAttribute attributes.
 
Methods inherited from class org.opensaml.xml.AbstractElementExtensibleXMLObjectMarshaller
marshallElementContent
 
Methods inherited from class org.opensaml.xml.io.AbstractXMLObjectMarshaller
checkXMLObjectIsTarget, marshall, marshall, marshall, marshallChildElements, marshallInto, marshallNamespacePrefix, marshallNamespaces, marshallSchemaInstanceAttributes, setDocumentElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractExtensibleXMLObjectMarshaller

public AbstractExtensibleXMLObjectMarshaller()
Constructor.


AbstractExtensibleXMLObjectMarshaller

public AbstractExtensibleXMLObjectMarshaller(String targetNamespaceURI,
                                             String targetLocalName)
Deprecated. no replacement

Constructor.

Parameters:
targetNamespaceURI - the namespace URI of either the schema type QName or element QName of the elements this unmarshaller operates on
targetLocalName - the local name of either the schema type QName or element QName of the elements this unmarshaller operates on
Method Detail

marshallAttributes

protected void marshallAttributes(XMLObject xmlObject,
                                  Element domElement)
                           throws MarshallingException
Marshalls the xs:anyAttribute attributes. No xs:anyAttribute attributes. Marshalls a given XMLObject into a W3C Element. The given signing context should be blindly passed to the marshaller for child elements. The XMLObject passed to this method is guaranteed to be of the target name specified during this unmarshaller's construction.

Overrides:
marshallAttributes in class AbstractElementExtensibleXMLObjectMarshaller
Parameters:
xmlObject - the XMLObject to marshall
domElement - the W3C DOM element
Throws:
MarshallingException - thrown if there is a problem marshalling the element


Copyright © 1999-2012. All Rights Reserved.