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, org.opensaml.xml.AttributeExtensibleXMLObject, org.opensaml.xml.ElementExtensibleXMLObject, org.opensaml.xml.validation.ValidatingXMLObject, org.opensaml.xml.XMLObject

public class PolicyAttachmentImpl
extends AbstractWSPolicyObject
implements PolicyAttachment

PolicyAttachmentImpl.


Field Summary
 
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<org.opensaml.xml.XMLObject> getOrderedChildren()
          
 List<Policy> getPolicies()
          Get the list of Policy child elements.
 List<PolicyReference> getPolicyReferences()
          Get the list of PolicyReference child elements.
 org.opensaml.xml.util.AttributeMap getUnknownAttributes()
          
 List<org.opensaml.xml.XMLObject> getUnknownXMLObjects()
          
 List<org.opensaml.xml.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
 

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<org.opensaml.xml.XMLObject> getUnknownXMLObjects()

Specified by:
getUnknownXMLObjects in interface org.opensaml.xml.ElementExtensibleXMLObject

getUnknownXMLObjects

public List<org.opensaml.xml.XMLObject> getUnknownXMLObjects(QName typeOrName)

Specified by:
getUnknownXMLObjects in interface org.opensaml.xml.ElementExtensibleXMLObject

getUnknownAttributes

public org.opensaml.xml.util.AttributeMap getUnknownAttributes()

Specified by:
getUnknownAttributes in interface org.opensaml.xml.AttributeExtensibleXMLObject

getOrderedChildren

public List<org.opensaml.xml.XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface org.opensaml.xml.XMLObject


Copyright © 2006-2013 Internet2. All Rights Reserved.