Class XMLLibImpl

  • All Implemented Interfaces:
    java.io.Serializable

    public final class XMLLibImpl
    extends XMLLib
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Method Detail

      • toDomNode

        public static org.w3c.dom.Node toDomNode​(java.lang.Object xmlObject)
        This experimental interface is undocumented.
      • isXMLName

        public boolean isXMLName​(Context _cx,
                                 java.lang.Object nameObj)
        Specified by:
        isXMLName in class XMLLib
      • toDefaultXmlNamespace

        public java.lang.Object toDefaultXmlNamespace​(Context cx,
                                                      java.lang.Object uriValue)
        Description copied from class: XMLLib
        Construct namespace for default xml statement.
        Specified by:
        toDefaultXmlNamespace in class XMLLib
      • escapeTextValue

        public java.lang.String escapeTextValue​(java.lang.Object o)
        Description copied from class: XMLLib
        Escapes the reserved characters in a value of a text node.
        Specified by:
        escapeTextValue in class XMLLib
        Parameters:
        o - Unescaped text
        Returns:
        The escaped text
      • escapeAttributeValue

        public java.lang.String escapeAttributeValue​(java.lang.Object o)
        Description copied from class: XMLLib
        Escapes the reserved characters in a value of an attribute.
        Specified by:
        escapeAttributeValue in class XMLLib
        Parameters:
        o - Unescaped text
        Returns:
        The escaped text
      • nameRef

        public Ref nameRef​(Context cx,
                           java.lang.Object namespace,
                           java.lang.Object name,
                           Scriptable scope,
                           int memberTypeFlags)
        Specified by:
        nameRef in class XMLLib