org.opensaml.xacml.impl
Class AbstractXACMLObjectMarshaller

java.lang.Object
  extended by org.opensaml.xml.io.AbstractXMLObjectMarshaller
      extended by org.opensaml.xacml.impl.AbstractXACMLObjectMarshaller
All Implemented Interfaces:
Marshaller
Direct Known Subclasses:
ActionMatchTypeMarshaller, ActionsTypeMarshaller, ActionTypeMarshaller, ActionTypeMarshaller, ApplyTypeMarshaller, AttributeDesignatorTypeMarshaller, AttributeSelectorTypeMarshaller, AttributeTypeMarshaller, AttributeValueTypeMarshaller, AttributeValueTypeMarshaller, CombinerParametersTypeMarshaller, CombinerParameterTypeMarshaller, ConditionTypeMarshaller, DecisionTypeMarshaller, DefaultsTypeMarshaller, DescriptionTypeMarshaller, EnvironmentMatchTypeMarshaller, EnvironmentsTypeMarshaller, EnvironmentTypeMarshaller, EnvironmentTypeMarshaller, FunctionTypeMarshaller, MissingAttributeDetailTypeMarshaller, ObligationsTypeMarshaller, ObligationTypeMarshaller, PolicySetTypeMarshaller, PolicyTypeMarshaller, RequestTypeMarshaller, ResourceContentTypeMarshaller, ResourceMatchTypeMarshaller, ResourcesTypeMarshaller, ResourceTypeMarshaller, ResourceTypeMarshaller, ResponseTypeMarshaller, ResultTypeMarshaller, RuleCombinerParametersTypeMarshaller, RuleTypeMarshaller, StatusCodeTypeMarshaller, StatusDetailTypeMarshaller, StatusMessageTypeMarshaller, StatusTypeMarshaller, SubjectMatchTypeMarshaller, SubjectsTypeMarshaller, SubjectTypeMarshaller, SubjectTypeMarshaller, TargetTypeMarshaller, VariableDefinitionTypeMarshaller, VariableReferenceTypeMarshaller

public abstract class AbstractXACMLObjectMarshaller
extends AbstractXMLObjectMarshaller

A thread safe, abstract implementation of the Marshaller interface that handles most of the boilerplate code for Marshallers.


Constructor Summary
  AbstractXACMLObjectMarshaller()
          Constructor.
protected AbstractXACMLObjectMarshaller(String targetNamespaceURI, String targetLocalName)
          Deprecated. no replacement
 
Method Summary
protected  void marshallAttributes(XMLObject xmlObject, Element domElement)
          No-op method.
protected  void marshallElementContent(XMLObject xmlObject, Element domElement)
          No-op method.
 
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

AbstractXACMLObjectMarshaller

public AbstractXACMLObjectMarshaller()
Constructor.


AbstractXACMLObjectMarshaller

protected AbstractXACMLObjectMarshaller(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 marshaller operates on
targetLocalName - the local name of either the schema type QName or element QName of the elements this marshaller operates on
Method Detail

marshallAttributes

protected void marshallAttributes(XMLObject xmlObject,
                                  Element domElement)
                           throws MarshallingException
No-op method. Extending implementations should override this method if they have attributes to marshall into the Element.

Specified by:
marshallAttributes in class AbstractXMLObjectMarshaller
Throws:
MarshallingException

marshallElementContent

protected void marshallElementContent(XMLObject xmlObject,
                                      Element domElement)
                               throws MarshallingException
No-op method. Extending implementations should override this method if they have text content to marshall into the Element.

Specified by:
marshallElementContent in class AbstractXMLObjectMarshaller
Throws:
MarshallingException


Copyright © 1999-2012. All Rights Reserved.