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 StringElement name, no namespace.static final QNameDefault element name.static final StringName for the DNSAddress attribute.static final StringName for the IPAddress attribute.static final StringLocal name of the XSI type.static final QNameQName of the XSI type. -
Method Summary
Modifier and TypeMethodDescriptionGets the DNS name of the locality.Gets the IP address of the locality.voidsetDNSAddress(String address) Sets the DNS name of the locality.voidsetIPAddress(String address) Sets the IP address of the locality.Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, ensureDOM, 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
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
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
-