public final class XMLLibImpl extends XMLLib implements Serializable
XMLLib.Factory| Modifier and Type | Method and Description |
|---|---|
String |
escapeAttributeValue(Object o)
Escapes the reserved characters in a value of an attribute.
|
String |
escapeTextValue(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,
Object nameObj) |
Ref |
nameRef(Context cx,
Object namespace,
Object name,
Scriptable scope,
int memberTypeFlags) |
Ref |
nameRef(Context cx,
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) |
Object |
toDefaultXmlNamespace(Context cx,
Object uriValue)
Construct namespace for default xml statement.
|
static Node |
toDomNode(Object xmlObject)
This experimental interface is undocumented.
|
extractFromScope, extractFromScopeOrNullpublic static Node toDomNode(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 Object toDefaultXmlNamespace(Context cx, Object uriValue)
XMLLibtoDefaultXmlNamespace in class XMLLibpublic String escapeTextValue(Object o)
XMLLibescapeTextValue in class XMLLibo - Unescaped textpublic String escapeAttributeValue(Object o)
XMLLibescapeAttributeValue in class XMLLibo - Unescaped textpublic Ref nameRef(Context cx, Object name, Scriptable scope, int memberTypeFlags)
Copyright © 2010 - 2020 Adobe. All Rights Reserved