org.opensaml.saml1.core.impl
Class AdviceImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.validation.AbstractValidatingXMLObject
          extended by org.opensaml.common.impl.AbstractSAMLObject
              extended by org.opensaml.saml1.core.impl.AdviceImpl
All Implemented Interfaces:
SAMLObject, Advice, ElementExtensibleXMLObject, ValidatingXMLObject, XMLObject

public class AdviceImpl
extends AbstractSAMLObject
implements Advice

Concrete Implementation of the Advice Object


Field Summary
private  IndexedXMLObjectChildrenList<XMLObject> assertionChildren
          Contains all the SAML objects we have added
private  IndexedXMLObjectChildrenList<XMLObject> unknownChildren
          "any" children
 
Fields inherited from interface org.opensaml.saml1.core.Advice
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
 
Constructor Summary
protected AdviceImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor
 
Method Summary
 List<AssertionIDReference> getAssertionIDReferences()
          Get the AssertionIdReferences.
 List<Assertion> getAssertions()
          Get the Assertions.
 List<XMLObject> getOrderedChildren()
          
 List<XMLObject> getUnknownXMLObjects()
          
 List<XMLObject> getUnknownXMLObjects(QName typeOrName)
          
 
Methods inherited from class org.opensaml.common.impl.AbstractSAMLObject
equals, hashCode, prepareForAssignment
 
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, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensaml.xml.validation.ValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate
 
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

assertionChildren

private final IndexedXMLObjectChildrenList<XMLObject> assertionChildren
Contains all the SAML objects we have added


unknownChildren

private final IndexedXMLObjectChildrenList<XMLObject> unknownChildren
"any" children

Constructor Detail

AdviceImpl

protected AdviceImpl(String namespaceURI,
                     String elementLocalName,
                     String namespacePrefix)
Constructor

Parameters:
namespaceURI - the namespace the element is in
elementLocalName - the local name of the XML element this Object represents
namespacePrefix - the prefix for the given namespace
Method Detail

getAssertionIDReferences

public List<AssertionIDReference> getAssertionIDReferences()
Get the AssertionIdReferences.

Specified by:
getAssertionIDReferences in interface Advice
Returns:
The AssertionIdReferences in order

getAssertions

public List<Assertion> getAssertions()
Get the Assertions.

Specified by:
getAssertions in interface Advice
Returns:
the assertions (in order)

getUnknownXMLObjects

public List<XMLObject> getUnknownXMLObjects()

Specified by:
getUnknownXMLObjects in interface ElementExtensibleXMLObject

getUnknownXMLObjects

public List<XMLObject> getUnknownXMLObjects(QName typeOrName)

Specified by:
getUnknownXMLObjects in interface ElementExtensibleXMLObject

getOrderedChildren

public List<XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface XMLObject


Copyright © 1999-2013. All Rights Reserved.