Package com.sun.identity.saml2.assertion
Interface SubjectLocality
-
- All Known Implementing Classes:
SubjectLocalityImpl
public interface SubjectLocalityTheSubjectLocalityelement specifies the DNS domain name and IP address for the system entity that performed the authentication. It exists as part ofAuthenticationStatementelement.<complexType name="SubjectLocalityType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="Address" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="DNSName" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAddress()Returns the value of theAddressattribute.StringgetDNSName()Returns the value of theDNSNameattribute.booleanisMutable()Returns the mutability of the object.voidmakeImmutable()Makes the object immutable.voidsetAddress(String value)Sets the value of theAddressattribute.voidsetDNSName(String value)Sets the value of theDNSNameattribute.StringtoXMLString()Returns a String representation of the element.StringtoXMLString(boolean includeNS, boolean declareNS)Returns a String representation of theSubjectLocalityelement.
-
-
-
Method Detail
-
makeImmutable
void makeImmutable()
Makes the object immutable.
-
isMutable
boolean isMutable()
Returns the mutability of the object.- Returns:
trueif the object is mutable;falseotherwise.
-
getDNSName
String getDNSName()
Returns the value of theDNSNameattribute.- Returns:
- the value of the
DNSNameattribute. - See Also:
setDNSName(String)
-
setDNSName
void setDNSName(String value) throws SAML2Exception
Sets the value of theDNSNameattribute.- Parameters:
value- new value of theDNSNameattribute.- Throws:
SAML2Exception- if the object is immutable.- See Also:
getDNSName()
-
getAddress
String getAddress()
Returns the value of theAddressattribute.- Returns:
- the value of the
Addressattribute. - See Also:
setAddress(String)
-
setAddress
void setAddress(String value) throws SAML2Exception
Sets the value of theAddressattribute.- Parameters:
value- new value ofAddressattribute.- Throws:
SAML2Exception- if the object is immutable.- See Also:
getAddress()
-
toXMLString
String toXMLString() throws SAML2Exception
Returns a String representation of the element.- Returns:
- A string containing the valid XML for this element. By default name space name is prepended to the element name.
- Throws:
SAML2Exception- if the object does not conform to the schema.
-
toXMLString
String toXMLString(boolean includeNS, boolean declareNS) throws SAML2Exception
Returns a String representation of theSubjectLocalityelement.- Parameters:
includeNS- 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:
- A string containing the valid XML for this element
- Throws:
SAML2Exception- if the object does not conform to the schema.
-
-