Class IpAddressValue

  • All Implemented Interfaces:
    AttributeValue, PrimitiveValue, Value

    public final class IpAddressValue
    extends StringParseableValue<String>
    Represents the IPAddress datatype introduced in XACML 2.0. All objects of this class are immutable and all methods of the class are thread-safe.
    Version:
    $Id: $
    • Method Detail

      • getXdmItem

        public net.sf.saxon.s9api.XdmItem getXdmItem()
        Returns:
        corresponding XPath (XDM) value
      • printXML

        public String printXML()
        Converts the internal value (accessible via SimpleValue.getUnderlyingValue()) to a valid lexical representation for XML marshalling. Equivalent to the 'printMethod' in JAXB 'javaType' binding customizations. Implementations of this typically call DatatypeConverter. This method is called by SimpleValue.getContent() and its result cached by the same method for later use. Therefore, no need to cache the result in the implementation.
        Specified by:
        printXML in class SimpleValue<String>
        Returns:
        XML-valid lexical representation.