org.wso2.javascript.xmlimpl
Class XMLLibImpl
java.lang.Object
org.mozilla.javascript.xml.XMLLib
org.wso2.javascript.xmlimpl.XMLLibImpl
- All Implemented Interfaces:
- java.io.Serializable
public final class XMLLibImpl
- extends org.mozilla.javascript.xml.XMLLib
- implements java.io.Serializable
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class org.mozilla.javascript.xml.XMLLib |
org.mozilla.javascript.xml.XMLLib.Factory |
Method Summary |
Namespace |
constructNamespace(org.mozilla.javascript.Context cx,
java.lang.Object prefixValue,
java.lang.Object uriValue)
|
java.lang.String |
escapeAttributeValue(java.lang.Object value)
Escapes the reserved characters in a value of an attribute
and surround it by "". |
java.lang.String |
escapeTextValue(java.lang.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,
java.lang.Object nameObj)
See E4X 13.1.2.1. |
org.mozilla.javascript.Ref |
nameRef(org.mozilla.javascript.Context cx,
java.lang.Object namespace,
java.lang.Object name,
org.mozilla.javascript.Scriptable scope,
int memberTypeFlags)
|
org.mozilla.javascript.Ref |
nameRef(org.mozilla.javascript.Context cx,
java.lang.Object name,
org.mozilla.javascript.Scriptable scope,
int memberTypeFlags)
|
java.lang.Object |
toDefaultXmlNamespace(org.mozilla.javascript.Context cx,
java.lang.Object uriValue)
|
Methods inherited from class org.mozilla.javascript.xml.XMLLib |
bindToScope, extractFromScope, extractFromScopeOrNull, getPrettyIndent, isIgnoreComments, isIgnoreProcessingInstructions, isIgnoreWhitespace, isPrettyPrinting, setIgnoreComments, setIgnoreProcessingInstructions, setIgnoreWhitespace, setPrettyIndent, setPrettyPrinting |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
init
public static void init(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope,
boolean sealed)
nameRef
public org.mozilla.javascript.Ref nameRef(org.mozilla.javascript.Context cx,
java.lang.Object name,
org.mozilla.javascript.Scriptable scope,
int memberTypeFlags)
- Specified by:
nameRef
in class org.mozilla.javascript.xml.XMLLib
nameRef
public org.mozilla.javascript.Ref nameRef(org.mozilla.javascript.Context cx,
java.lang.Object namespace,
java.lang.Object name,
org.mozilla.javascript.Scriptable scope,
int memberTypeFlags)
- Specified by:
nameRef
in class org.mozilla.javascript.xml.XMLLib
escapeAttributeValue
public java.lang.String escapeAttributeValue(java.lang.Object value)
- Escapes the reserved characters in a value of an attribute
and surround it by "".
- Specified by:
escapeAttributeValue
in class org.mozilla.javascript.xml.XMLLib
- Parameters:
value
- Unescaped text
- Returns:
- The escaped text
escapeTextValue
public java.lang.String escapeTextValue(java.lang.Object value)
- Escapes the reserved characters in a value of a text node
- Specified by:
escapeTextValue
in class org.mozilla.javascript.xml.XMLLib
- Parameters:
value
- Unescaped text
- Returns:
- The escaped text
toDefaultXmlNamespace
public java.lang.Object toDefaultXmlNamespace(org.mozilla.javascript.Context cx,
java.lang.Object uriValue)
- Specified by:
toDefaultXmlNamespace
in class org.mozilla.javascript.xml.XMLLib
isXMLName
public boolean isXMLName(org.mozilla.javascript.Context cx,
java.lang.Object nameObj)
- See E4X 13.1.2.1.
- Specified by:
isXMLName
in class org.mozilla.javascript.xml.XMLLib
constructNamespace
public Namespace constructNamespace(org.mozilla.javascript.Context cx,
java.lang.Object prefixValue,
java.lang.Object uriValue)
Copyright © 2010 WSO2. All Rights Reserved.