Package org.opensaml.saml.saml1.core
Interface SubjectLocality
- All Superinterfaces:
SAMLObject
,XMLObject
- All Known Implementing Classes:
SubjectLocalityImpl
Interface to define how a SubjectLocality element behaves.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Element name, no namespace.static final QName
Default element name.static final String
Name for the DNSAddress attribute.static final String
Name for the IPAddress attribute.static final String
Local name of the XSI type.static final QName
QName of the XSI type. -
Method Summary
Modifier and TypeMethodDescriptionGets the DNS name of the locality.Gets the IP address of the locality.void
setDNSAddress
(String address) Sets the DNS name of the locality.void
setIPAddress
(String address) Sets the IP address of the locality.Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
DEFAULT_ELEMENT_LOCAL_NAME
Element name, no namespace.- See Also:
-
DEFAULT_ELEMENT_NAME
Default element name. -
TYPE_LOCAL_NAME
Local name of the XSI type.- See Also:
-
TYPE_NAME
QName of the XSI type. -
IPADDRESS_ATTRIB_NAME
Name for the IPAddress attribute.- See Also:
-
DNSADDRESS_ATTRIB_NAME
Name for the DNSAddress attribute.- See Also:
-
-
Method Details
-
getIPAddress
String getIPAddress()Gets the IP address of the locality.- Returns:
- IP address of the locality
-
setIPAddress
Sets the IP address of the locality.- Parameters:
address
- IP address of the locality
-
getDNSAddress
String getDNSAddress()Gets the DNS name of the locality.- Returns:
- DNS name of the locality
-
setDNSAddress
Sets the DNS name of the locality.- Parameters:
address
- DNS name of the locality
-