org.opensaml.ws.wspolicy.impl
Class PolicyAttachmentImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.validation.AbstractValidatingXMLObject
          extended by org.opensaml.ws.wspolicy.impl.AbstractWSPolicyObject
              extended by org.opensaml.ws.wspolicy.impl.PolicyAttachmentImpl
All Implemented Interfaces:
PolicyAttachment, WSPolicyObject, AttributeExtensibleXMLObject, ElementExtensibleXMLObject, ValidatingXMLObject, XMLObject

public class PolicyAttachmentImpl
extends AbstractWSPolicyObject
implements PolicyAttachment

PolicyAttachmentImpl.


Field Summary
private  AppliesTo appliesTo
          AppliesTo Child element.
private  IndexedXMLObjectChildrenList<XMLObject> policiesAndReferences
          Policy and PolicyReference children.
private  AttributeMap unknownAttributes
          Wildcard attributes.
private  IndexedXMLObjectChildrenList<XMLObject> unknownChildren
          Wildcard child elements.
 
Fields inherited from interface org.opensaml.ws.wspolicy.PolicyAttachment
ELEMENT_LOCAL_NAME, ELEMENT_NAME
 
Constructor Summary
PolicyAttachmentImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor.
 
Method Summary
 AppliesTo getAppliesTo()
          Get the AppliesTo child element.
 List<XMLObject> getOrderedChildren()
          
 List<Policy> getPolicies()
          Get the list of Policy child elements.
 List<PolicyReference> getPolicyReferences()
          Get the list of PolicyReference child elements.
 AttributeMap getUnknownAttributes()
          
 List<XMLObject> getUnknownXMLObjects()
          
 List<XMLObject> getUnknownXMLObjects(QName typeOrName)
          
 void setAppliesTo(AppliesTo newAppliesTo)
          Set the AppliesTo child element.
 
Methods inherited from class org.opensaml.xml.validation.AbstractValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate, validateChildren
 
Methods inherited from class org.opensaml.xml.AbstractXMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensaml.xml.XMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Field Detail

appliesTo

private AppliesTo appliesTo
AppliesTo Child element.


policiesAndReferences

private IndexedXMLObjectChildrenList<XMLObject> policiesAndReferences
Policy and PolicyReference children.


unknownChildren

private IndexedXMLObjectChildrenList<XMLObject> unknownChildren
Wildcard child elements.


unknownAttributes

private AttributeMap unknownAttributes
Wildcard attributes.

Constructor Detail

PolicyAttachmentImpl

public PolicyAttachmentImpl(String namespaceURI,
                            String elementLocalName,
                            String namespacePrefix)
Constructor.

Parameters:
namespaceURI - The namespace of the element
elementLocalName - The local name of the element
namespacePrefix - The namespace prefix of the element
Method Detail

getAppliesTo

public AppliesTo getAppliesTo()
Get the AppliesTo child element.

Specified by:
getAppliesTo in interface PolicyAttachment
Returns:
the child element

setAppliesTo

public void setAppliesTo(AppliesTo newAppliesTo)
Set the AppliesTo child element.

Specified by:
setAppliesTo in interface PolicyAttachment
Parameters:
newAppliesTo - the new child element

getPolicies

public List<Policy> getPolicies()
Get the list of Policy child elements.

Specified by:
getPolicies in interface PolicyAttachment
Returns:
the list of child elements

getPolicyReferences

public List<PolicyReference> getPolicyReferences()
Get the list of PolicyReference child elements.

Specified by:
getPolicyReferences in interface PolicyAttachment
Returns:
the list of child elements

getUnknownXMLObjects

public List<XMLObject> getUnknownXMLObjects()

Specified by:
getUnknownXMLObjects in interface ElementExtensibleXMLObject

getUnknownXMLObjects

public List<XMLObject> getUnknownXMLObjects(QName typeOrName)

Specified by:
getUnknownXMLObjects in interface ElementExtensibleXMLObject

getUnknownAttributes

public AttributeMap getUnknownAttributes()

Specified by:
getUnknownAttributes in interface AttributeExtensibleXMLObject

getOrderedChildren

public List<XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface XMLObject


Copyright © 1999-2013. All Rights Reserved.