public final class XMLLibImpl extends XMLLib implements java.io.Serializable
XMLLib.Factory| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
escapeAttributeValue(java.lang.Object o)
Escapes the reserved characters in a value of an attribute.
|
java.lang.String |
escapeTextValue(java.lang.Object o)
Escapes the reserved characters in a value of a text node.
|
int |
getPrettyIndent() |
static void |
init(Context cx,
Scriptable scope,
boolean sealed) |
boolean |
isIgnoreComments() |
boolean |
isIgnoreProcessingInstructions() |
boolean |
isIgnoreWhitespace() |
boolean |
isPrettyPrinting() |
boolean |
isXMLName(Context _cx,
java.lang.Object nameObj) |
Ref |
nameRef(Context cx,
java.lang.Object namespace,
java.lang.Object name,
Scriptable scope,
int memberTypeFlags) |
Ref |
nameRef(Context cx,
java.lang.Object name,
Scriptable scope,
int memberTypeFlags) |
void |
setIgnoreComments(boolean b) |
void |
setIgnoreProcessingInstructions(boolean b) |
void |
setIgnoreWhitespace(boolean b) |
void |
setPrettyIndent(int i) |
void |
setPrettyPrinting(boolean b) |
java.lang.Object |
toDefaultXmlNamespace(Context cx,
java.lang.Object uriValue)
Construct namespace for default xml statement.
|
static org.w3c.dom.Node |
toDomNode(java.lang.Object xmlObject)
This experimental interface is undocumented.
|
bindToScope, extractFromScope, extractFromScopeOrNullpublic static org.w3c.dom.Node toDomNode(java.lang.Object xmlObject)
public static void init(Context cx, Scriptable scope, boolean sealed)
public void setIgnoreComments(boolean b)
setIgnoreComments in class XMLLibpublic void setIgnoreWhitespace(boolean b)
setIgnoreWhitespace in class XMLLibpublic void setIgnoreProcessingInstructions(boolean b)
setIgnoreProcessingInstructions in class XMLLibpublic void setPrettyPrinting(boolean b)
setPrettyPrinting in class XMLLibpublic void setPrettyIndent(int i)
setPrettyIndent in class XMLLibpublic boolean isIgnoreComments()
isIgnoreComments in class XMLLibpublic boolean isIgnoreProcessingInstructions()
isIgnoreProcessingInstructions in class XMLLibpublic boolean isIgnoreWhitespace()
isIgnoreWhitespace in class XMLLibpublic boolean isPrettyPrinting()
isPrettyPrinting in class XMLLibpublic int getPrettyIndent()
getPrettyIndent in class XMLLibpublic boolean isXMLName(Context _cx, java.lang.Object nameObj)
public java.lang.Object toDefaultXmlNamespace(Context cx, java.lang.Object uriValue)
XMLLibtoDefaultXmlNamespace in class XMLLibpublic java.lang.String escapeTextValue(java.lang.Object o)
XMLLibescapeTextValue in class XMLLibo - Unescaped textpublic java.lang.String escapeAttributeValue(java.lang.Object o)
XMLLibescapeAttributeValue in class XMLLibo - Unescaped textpublic Ref nameRef(Context cx, java.lang.Object name, Scriptable scope, int memberTypeFlags)
public Ref nameRef(Context cx, java.lang.Object namespace, java.lang.Object name, Scriptable scope, int memberTypeFlags)