| java.lang.Object org.mozilla.javascript.xml.XMLLib org.mozilla.javascript.xmlimpl.XMLLibImpl
Method Summary | |
Object | addXMLObjects(Context cx, XMLObject obj1, XMLObject obj2) | Namespace | castToNamespace(Context cx, Object namespaceObj) | QName | castToQName(Context cx, Object qnameValue) | QName | constructQName(Context cx, Object namespace, Object name) | QName | constructQName(Context cx, Object nameValue) | Namespace[] | createNamespaces(XmlNode.Namespace[] declarations) | final XML | ecmaToXml(Object object) | public String | escapeAttributeValue(Object o) | public String | escapeTextValue(Object o) | Namespace | getDefaultNamespace(Context cx) | XmlProcessor | getProcessor() | Scriptable | globalScope() | public static void | init(Context cx, Scriptable scope, boolean sealed) | public boolean | isXMLName(Context _cx, Object nameObj) | public Ref | nameRef(Context cx, Object name, Scriptable scope, int memberTypeFlags) | public Ref | nameRef(Context cx, Object namespace, Object name, Scriptable scope, int memberTypeFlags) | Namespace | newNamespace(String uri) | QName | newQName(String uri, String localName, String prefix) | QName | newQName(XmlNode.QName qname) | final XML | newTextElementXML(XmlNode reference, XmlNode.QName qname, String value) | XML | newXML(XmlNode node) | final XML | newXMLFromJs(Object inputObject) | XMLList | newXMLList() | final XMLList | newXMLListFrom(Object inputObject) | QName | qnamePrototype() | XMLName | toAttributeName(Context cx, Object nameValue) | public Object | toDefaultXmlNamespace(Context cx, Object uriValue) | public static org.w3c.dom.Node | toDomNode(Object xmlObject) This experimental interface is undocumented. | XmlNode.QName | toNodeQName(Context cx, Object namespaceValue, Object nameValue) | XmlNode.QName | toNodeQName(Context cx, String name, boolean attribute) | XmlNode.QName | toNodeQName(Context cx, Object nameValue, boolean attribute) | 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. |
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).
|
|
|