org.mozilla.javascript.xml
public abstract class XMLLib extends Object
Method Summary | |
---|---|
protected XMLLib | bindToScope(Scriptable scope) |
abstract String | escapeAttributeValue(Object value)
Escapes the reserved characters in a value of an attribute
and surround it by "".
|
abstract String | escapeTextValue(Object value)
Escapes the reserved characters in a value of a text node
|
static XMLLib | extractFromScope(Scriptable scope) |
static XMLLib | extractFromScopeOrNull(Scriptable scope) |
abstract boolean | isXMLName(Context cx, Object name) |
abstract Ref | nameRef(Context cx, Object name, Scriptable scope, int memberTypeFlags) |
abstract Ref | nameRef(Context cx, Object namespace, Object name, Scriptable scope, int memberTypeFlags) |
abstract Object | toDefaultXmlNamespace(Context cx, Object uriValue)
Construct namespace for default xml statement. |
Parameters: value Unescaped text
Returns: The escaped text
Parameters: value Unescaped text
Returns: The escaped text