public final class XMLLibImpl extends org.mozilla.javascript.xml.XMLLib implements Serializable
Modifier and Type | Method and Description |
---|---|
Namespace |
constructNamespace(org.mozilla.javascript.Context cx,
Object prefixValue,
Object uriValue) |
String |
escapeAttributeValue(Object value)
Escapes the reserved characters in a value of an attribute
and surround it by "".
|
String |
escapeTextValue(Object value)
Escapes the reserved characters in a value of a text node
|
static void |
init(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope,
boolean sealed) |
boolean |
isXMLName(org.mozilla.javascript.Context cx,
Object nameObj)
See E4X 13.1.2.1.
|
org.mozilla.javascript.Ref |
nameRef(org.mozilla.javascript.Context cx,
Object namespace,
Object name,
org.mozilla.javascript.Scriptable scope,
int memberTypeFlags) |
org.mozilla.javascript.Ref |
nameRef(org.mozilla.javascript.Context cx,
Object name,
org.mozilla.javascript.Scriptable scope,
int memberTypeFlags) |
Object |
toDefaultXmlNamespace(org.mozilla.javascript.Context cx,
Object uriValue) |
bindToScope, extractFromScope, extractFromScopeOrNull, getPrettyIndent, isIgnoreComments, isIgnoreProcessingInstructions, isIgnoreWhitespace, isPrettyPrinting, setIgnoreComments, setIgnoreProcessingInstructions, setIgnoreWhitespace, setPrettyIndent, setPrettyPrinting
public static void init(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable scope, boolean sealed)
public org.mozilla.javascript.Ref nameRef(org.mozilla.javascript.Context cx, Object name, org.mozilla.javascript.Scriptable scope, int memberTypeFlags)
nameRef
in class org.mozilla.javascript.xml.XMLLib
public org.mozilla.javascript.Ref nameRef(org.mozilla.javascript.Context cx, Object namespace, Object name, org.mozilla.javascript.Scriptable scope, int memberTypeFlags)
nameRef
in class org.mozilla.javascript.xml.XMLLib
public String escapeAttributeValue(Object value)
escapeAttributeValue
in class org.mozilla.javascript.xml.XMLLib
value
- Unescaped textpublic String escapeTextValue(Object value)
escapeTextValue
in class org.mozilla.javascript.xml.XMLLib
value
- Unescaped textpublic Object toDefaultXmlNamespace(org.mozilla.javascript.Context cx, Object uriValue)
toDefaultXmlNamespace
in class org.mozilla.javascript.xml.XMLLib
public boolean isXMLName(org.mozilla.javascript.Context cx, Object nameObj)
isXMLName
in class org.mozilla.javascript.xml.XMLLib
Copyright © 2013 WSO2. All Rights Reserved.