Class ElementState


  • @Deprecated(since="2021-09-01")
    public class ElementState
    extends Object
    Deprecated.
    Util Classes related to Xerces are removed in subsequent releases causing a major version change. As these utils are for internal use in Filevault the API is getting deprecated from public API surface.
    Holds the state of the currently serialized element.
    See Also:
    BaseMarkupSerializer
    • Field Summary

      Fields 
      Modifier and Type Field Description
      boolean afterComment
      Deprecated.
      True if the last serialized node was a comment node.
      boolean afterElement
      Deprecated.
      True if the last serialized node was an element node.
      boolean doCData
      Deprecated.
      True if textual content of current element should be serialized as CDATA section.
      boolean empty
      Deprecated.
      True if element is empty.
      boolean inCData
      Deprecated.
      True while inside CData and printing text as CData.
      String localName
      Deprecated.
      The element's local tag name.
      String namespaceURI
      Deprecated.
      The element's namespace URI.
      Map<String,​String> prefixes
      Deprecated.
      Association between namespace URIs (keys) and prefixes (values).
      boolean preserveSpace
      Deprecated.
      True if element is space preserving.
      String rawName
      Deprecated.
      The element's raw tag name (local or prefix:local).
      boolean unescaped
      Deprecated.
      True if textual content of current element should be serialized as raw characters (unescaped).
    • Constructor Summary

      Constructors 
      Constructor Description
      ElementState()
      Deprecated.
       
    • Field Detail

      • rawName

        public String rawName
        Deprecated.
        The element's raw tag name (local or prefix:local).
      • localName

        public String localName
        Deprecated.
        The element's local tag name.
      • namespaceURI

        public String namespaceURI
        Deprecated.
        The element's namespace URI.
      • preserveSpace

        public boolean preserveSpace
        Deprecated.
        True if element is space preserving.
      • empty

        public boolean empty
        Deprecated.
        True if element is empty. Turns false immediately after serializing the first contents of the element.
      • afterElement

        public boolean afterElement
        Deprecated.
        True if the last serialized node was an element node.
      • afterComment

        public boolean afterComment
        Deprecated.
        True if the last serialized node was a comment node.
      • doCData

        public boolean doCData
        Deprecated.
        True if textual content of current element should be serialized as CDATA section.
      • unescaped

        public boolean unescaped
        Deprecated.
        True if textual content of current element should be serialized as raw characters (unescaped).
      • inCData

        public boolean inCData
        Deprecated.
        True while inside CData and printing text as CData.
      • prefixes

        public Map<String,​String> prefixes
        Deprecated.
        Association between namespace URIs (keys) and prefixes (values).
    • Constructor Detail

      • ElementState

        public ElementState()
        Deprecated.