Class ScopingImpl
- java.lang.Object
-
- com.sun.identity.saml2.protocol.impl.ScopingImpl
-
-
Constructor Summary
Constructors Constructor Description ScopingImpl()Constructor to create Scoping object.ScopingImpl(String xmlString)Constructor to create theScopingObject.ScopingImpl(Element element)Constructor to create theScopingObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IDPListgetIDPList()Returns theIDPListObject.IntegergetProxyCount()Returns the value ofProxyCountattribute.List<RequesterID>getRequesterIDs()Returns a list ofRequesterIDObjects.booleanisMutable()Returns true if object is mutable.voidmakeImmutable()Makes this object immutable.voidsetIDPList(IDPList idpList)Sets theIDPListObject.voidsetProxyCount(Integer proxyCount)Sets the value ofProxyCountattribute.voidsetRequesterIDs(List<RequesterID> value)Sets theRequesterIDObject.StringtoXMLString()Returns a String representation of this Object.StringtoXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representation
-
-
-
Constructor Detail
-
ScopingImpl
public ScopingImpl()
Constructor to create Scoping object.
-
ScopingImpl
public ScopingImpl(Element element) throws SAML2Exception
Constructor to create theScopingObject.- Parameters:
element- Document Element ofScopingObject.- Throws:
SAML2Exception- ifScopingcannot be created.
-
ScopingImpl
public ScopingImpl(String xmlString) throws SAML2Exception
Constructor to create theScopingObject.- Parameters:
xmlString- XML String Representation ofScopingObject.- Throws:
SAML2Exception- ifScopingcannot be created.
-
-
Method Detail
-
getIDPList
public IDPList getIDPList()
Returns theIDPListObject.- Specified by:
getIDPListin interfaceScoping- Returns:
- the
IDPListobject. - See Also:
setIDPList(IDPList)
-
setIDPList
public void setIDPList(IDPList idpList) throws SAML2Exception
Sets theIDPListObject.- Specified by:
setIDPListin interfaceScoping- Parameters:
idpList- the newIDPListobject.- Throws:
SAML2Exception- if the object is immutable.- See Also:
getIDPList()
-
getRequesterIDs
public List<RequesterID> getRequesterIDs()
Returns a list ofRequesterIDObjects.- Specified by:
getRequesterIDsin interfaceScoping- Returns:
- list of
RequesterIDobjects. - See Also:
setRequesterIDs(List)
-
setRequesterIDs
public void setRequesterIDs(List<RequesterID> value) throws SAML2Exception
Sets theRequesterIDObject.- Specified by:
setRequesterIDsin interfaceScoping- Parameters:
value- list ofRequesterIDobjects.- Throws:
SAML2Exception- if the object is immutable.- See Also:
getRequesterIDs()
-
getProxyCount
public Integer getProxyCount()
Returns the value ofProxyCountattribute.- Specified by:
getProxyCountin interfaceScoping- Returns:
- the value of
ProxyCountattribute value. - See Also:
Scoping.setProxyCount(Integer)
-
setProxyCount
public void setProxyCount(Integer proxyCount) throws SAML2Exception
Sets the value ofProxyCountattribute.- Specified by:
setProxyCountin interfaceScoping- Parameters:
proxyCount- new value ofProxyCountattribute.- Throws:
SAML2Exception- if the object is immutable.- See Also:
Scoping.getProxyCount()
-
toXMLString
public String toXMLString() throws SAML2Exception
Returns a String representation of this Object.- Specified by:
toXMLStringin interfaceScoping- Returns:
- a String representation of this Object.
- Throws:
SAML2Exception- if cannot create String object
-
toXMLString
public String toXMLString(boolean includeNSPrefix, boolean declareNS) throws SAML2Exception
Returns a String representation- Specified by:
toXMLStringin interfaceScoping- Parameters:
includeNSPrefix- determines whether or not the namespace qualifier is prepended to the Element when converteddeclareNS- determines whether or not the namespace is declared within the Element.- Returns:
- the String representation of this Object.
- Throws:
SAML2Exception- if String object cannot be created.
-
makeImmutable
public void makeImmutable()
Makes this object immutable.- Specified by:
makeImmutablein interfaceScoping
-
-