Interface XmlNode

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getLocalName()
      Returns the XML local name for this node.
      java.lang.String getNamespace()
      Returns the namespace of this node.
      java.lang.String getPrefix()
      Returns the namespace prefix for marshaling this node, or null if the namespace should override the default namespace.
      int getType()
      Returns the XML node type.
      boolean isNamespaceAware()
      Returns true if a namespace was configured for this node, and is therefore used to unmarshal and marshal the node.
      boolean isNillable()
      Returns whether this node is nillable.
      boolean isRepeating()
      Returns whether this node may repeat in the context of its immediate parent.
    • Method Detail

      • getLocalName

        java.lang.String getLocalName()
        Returns the XML local name for this node.
        Returns:
        the XML local name
      • getNamespace

        java.lang.String getNamespace()
        Returns the namespace of this node. If there is no namespace for this node, or this node is not namespace aware, null is returned.
        Returns:
        the XML namespace of this node
      • isNamespaceAware

        boolean isNamespaceAware()
        Returns true if a namespace was configured for this node, and is therefore used to unmarshal and marshal the node.
        Returns:
        true if this node uses a namespace for matching and formatting this node
      • getPrefix

        java.lang.String getPrefix()
        Returns the namespace prefix for marshaling this node, or null if the namespace should override the default namespace.
        Returns:
        the namespace prefix
      • isNillable

        boolean isNillable()
        Returns whether this node is nillable.
        Returns:
        true if this node is nillable
      • isRepeating

        boolean isRepeating()
        Returns whether this node may repeat in the context of its immediate parent.
        Returns:
        true if this node repeats, false otherwise