org.mozilla.javascript.xml
Class XMLLib
java.lang.Object
org.mozilla.javascript.xml.XMLLib
public abstract class XMLLib
extends java.lang.Object
escapeAttributeValue
public abstract String escapeAttributeValue(Object value)
Escapes the reserved characters in a value of an attribute
and surround it by "".
escapeTextValue
public abstract String escapeTextValue(Object value)
Escapes the reserved characters in a value of a text node
extractFromScopeOrNull
public static XMLLib extractFromScopeOrNull(Scriptable scope)
isXMLName
public abstract boolean isXMLName(Context cx,
Object name)
nameRef
public abstract Ref nameRef(Context cx,
Object namespace,
Object name,
Scriptable scope,
int memberTypeFlags)
toDefaultXmlNamespace
public abstract Object toDefaultXmlNamespace(Context cx,
Object uriValue)
Construct namespace for default xml statement.