org.opensaml.ws.wspolicy.impl
Class PolicyImpl

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.OperatorContentTypeImpl
                  extended by org.opensaml.ws.wspolicy.impl.PolicyImpl
All Implemented Interfaces:
OperatorContentType, Policy, WSPolicyObject, IdBearing, org.opensaml.xml.AttributeExtensibleXMLObject, org.opensaml.xml.validation.ValidatingXMLObject, org.opensaml.xml.XMLObject

public class PolicyImpl
extends OperatorContentTypeImpl
implements Policy

PolicyImpl.


Field Summary
 
Fields inherited from interface org.opensaml.ws.wspolicy.Policy
ELEMENT_LOCAL_NAME, ELEMENT_NAME, NAME_ATTRIB_NAME
 
Fields inherited from interface org.opensaml.ws.wspolicy.OperatorContentType
TYPE_LOCAL_NAME, TYPE_NAME
 
Fields inherited from interface org.opensaml.ws.wssecurity.IdBearing
WSU_ID_ATTR_LOCAL_NAME, WSU_ID_ATTR_NAME
 
Constructor Summary
protected PolicyImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor.
 
Method Summary
 String getName()
          Returns the wsp:Policy/@Name attribute value.
 org.opensaml.xml.util.AttributeMap getUnknownAttributes()
          
 String getWSUId()
          Returns the @wsu:Id attribute value.
 void setName(String newName)
          Sets the wsp:Policy/@Name attribute value.
 void setWSUId(String newId)
          Sets the @wsu:Id attribute value.
 
Methods inherited from class org.opensaml.ws.wspolicy.impl.OperatorContentTypeImpl
getAlls, getExactlyOnes, getOrderedChildren, getPolicies, getPolicyReferences, getXMLObjects, getXMLObjects
 
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.ws.wspolicy.OperatorContentType
getAlls, getExactlyOnes, getPolicies, getPolicyReferences, getXMLObjects, getXMLObjects
 
Methods inherited from interface org.opensaml.xml.XMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Constructor Detail

PolicyImpl

protected PolicyImpl(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

getName

public String getName()
Returns the wsp:Policy/@Name attribute value.

Specified by:
getName in interface Policy
Returns:
the Name attribute value or null.

setName

public void setName(String newName)
Sets the wsp:Policy/@Name attribute value.

Specified by:
setName in interface Policy
Parameters:
newName - the Name attribute value to set.

getWSUId

public String getWSUId()
Returns the @wsu:Id attribute value.

Specified by:
getWSUId in interface IdBearing
Returns:
The @wsu:Id attribute value or null.

setWSUId

public void setWSUId(String newId)
Sets the @wsu:Id attribute value.

Specified by:
setWSUId in interface IdBearing
Parameters:
newId - The @wsu:Id attribute value

getUnknownAttributes

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

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


Copyright © 2006-2013 Internet2. All Rights Reserved.