| java.lang.Object org.mozilla.javascript.xml.XMLLib org.mozilla.javascript.xml.impl.xmlbeans.XMLLibImpl
Method Summary | |
Object | addXMLObjects(Context cx, XMLObject obj1, XMLObject obj2) | Namespace | castToNamespace(Context cx, Object namescapeObj) | QName | castToQName(Context cx, Object qnameValue) | Namespace | constructNamespace(Context cx, Object uriValue) | Namespace | constructNamespace(Context cx) | public Namespace | constructNamespace(Context cx, Object prefixValue, Object uriValue) | QName | constructQName(Context cx, Object nameValue) | QName | constructQName(Context cx, Object namespaceValue, Object nameValue) | QName | constructQNameFromString(Context cx, String localName) | void | defaultSettings() | public String | escapeAttributeValue(Object value) | public String | escapeTextValue(Object value) | Namespace | getDefaultNamespace(Context cx) | String | getDefaultNamespaceURI(Context cx) | Scriptable | globalScope() | public static void | init(Context cx, Scriptable scope, boolean sealed) | public boolean | isXMLName(Context cx, Object nameObj) See E4X 13.1.2.1. | public Ref | nameRef(Context cx, Object name, Scriptable scope, int memberTypeFlags) | public Ref | nameRef(Context cx, Object namespace, Object name, Scriptable scope, int memberTypeFlags) | XMLName | toAttributeName(Context cx, Object nameValue) | public Object | toDefaultXmlNamespace(Context cx, Object uriValue) | XMLName | toQualifiedName(Context cx, Object namespaceValue, Object nameValue) | XMLName | toXMLName(Context cx, Object nameValue) | XMLName | toXMLNameFromString(Context cx, String name) | XMLName | toXMLNameOrIndex(Context cx, Object value) If value represents Uint32 index, make it available through
ScriptRuntime.lastUint32Result(cx) and return null. |
ignoreComments | boolean ignoreComments(Code) | | |
ignoreProcessingInstructions | boolean ignoreProcessingInstructions(Code) | | |
ignoreWhitespace | boolean ignoreWhitespace(Code) | | |
prettyIndent | int prettyIndent(Code) | | |
prettyPrinting | boolean prettyPrinting(Code) | | |
constructQNameFromString | QName constructQNameFromString(Context cx, String localName)(Code) | | Optimized version of constructQName for String type
|
defaultSettings | void defaultSettings()(Code) | | |
escapeAttributeValue | public String escapeAttributeValue(Object value)(Code) | | Escapes the reserved characters in a value of an attribute
Parameters: value - Unescaped text The escaped text |
escapeTextValue | public String escapeTextValue(Object value)(Code) | | Escapes the reserved characters in a value of a text node
Parameters: value - Unescaped text The escaped text |
toXMLNameOrIndex | XMLName toXMLNameOrIndex(Context cx, Object value)(Code) | | If value represents Uint32 index, make it available through
ScriptRuntime.lastUint32Result(cx) and return null.
Otherwise return the same value as toXMLName(cx, value).
|
|
|