Package org.mozilla.javascript.xmlimpl
Class XMLLibImpl
- java.lang.Object
- 
- org.mozilla.javascript.xml.XMLLib
- 
- org.mozilla.javascript.xmlimpl.XMLLibImpl
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 public final class XMLLibImpl extends XMLLib implements java.io.Serializable - See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.mozilla.javascript.xml.XMLLibXMLLib.Factory
 
- 
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringescapeAttributeValue(java.lang.Object o)Escapes the reserved characters in a value of an attribute.java.lang.StringescapeTextValue(java.lang.Object o)Escapes the reserved characters in a value of a text node.intgetPrettyIndent()static voidinit(Context cx, Scriptable scope, boolean sealed)booleanisIgnoreComments()booleanisIgnoreProcessingInstructions()booleanisIgnoreWhitespace()booleanisPrettyPrinting()booleanisXMLName(Context _cx, java.lang.Object nameObj)RefnameRef(Context cx, java.lang.Object namespace, java.lang.Object name, Scriptable scope, int memberTypeFlags)RefnameRef(Context cx, java.lang.Object name, Scriptable scope, int memberTypeFlags)voidsetIgnoreComments(boolean b)voidsetIgnoreProcessingInstructions(boolean b)voidsetIgnoreWhitespace(boolean b)voidsetPrettyIndent(int i)voidsetPrettyPrinting(boolean b)java.lang.ObjecttoDefaultXmlNamespace(Context cx, java.lang.Object uriValue)Construct namespace for default xml statement.static org.w3c.dom.NodetoDomNode(java.lang.Object xmlObject)This experimental interface is undocumented.- 
Methods inherited from class org.mozilla.javascript.xml.XMLLibbindToScope, extractFromScope, extractFromScopeOrNull
 
- 
 
- 
- 
- 
Method Detail- 
toDomNodepublic static org.w3c.dom.Node toDomNode(java.lang.Object xmlObject) This experimental interface is undocumented.
 - 
initpublic static void init(Context cx, Scriptable scope, boolean sealed) 
 - 
setIgnoreCommentspublic void setIgnoreComments(boolean b) - Overrides:
- setIgnoreCommentsin class- XMLLib
 
 - 
setIgnoreWhitespacepublic void setIgnoreWhitespace(boolean b) - Overrides:
- setIgnoreWhitespacein class- XMLLib
 
 - 
setIgnoreProcessingInstructionspublic void setIgnoreProcessingInstructions(boolean b) - Overrides:
- setIgnoreProcessingInstructionsin class- XMLLib
 
 - 
setPrettyPrintingpublic void setPrettyPrinting(boolean b) - Overrides:
- setPrettyPrintingin class- XMLLib
 
 - 
setPrettyIndentpublic void setPrettyIndent(int i) - Overrides:
- setPrettyIndentin class- XMLLib
 
 - 
isIgnoreCommentspublic boolean isIgnoreComments() - Overrides:
- isIgnoreCommentsin class- XMLLib
 
 - 
isIgnoreProcessingInstructionspublic boolean isIgnoreProcessingInstructions() - Overrides:
- isIgnoreProcessingInstructionsin class- XMLLib
 
 - 
isIgnoreWhitespacepublic boolean isIgnoreWhitespace() - Overrides:
- isIgnoreWhitespacein class- XMLLib
 
 - 
isPrettyPrintingpublic boolean isPrettyPrinting() - Overrides:
- isPrettyPrintingin class- XMLLib
 
 - 
getPrettyIndentpublic int getPrettyIndent() - Overrides:
- getPrettyIndentin class- XMLLib
 
 - 
isXMLNamepublic boolean isXMLName(Context _cx, java.lang.Object nameObj) 
 - 
toDefaultXmlNamespacepublic java.lang.Object toDefaultXmlNamespace(Context cx, java.lang.Object uriValue) Description copied from class:XMLLibConstruct namespace for default xml statement.- Specified by:
- toDefaultXmlNamespacein class- XMLLib
 
 - 
escapeTextValuepublic java.lang.String escapeTextValue(java.lang.Object o) Description copied from class:XMLLibEscapes the reserved characters in a value of a text node.- Specified by:
- escapeTextValuein class- XMLLib
- Parameters:
- o- Unescaped text
- Returns:
- The escaped text
 
 - 
escapeAttributeValuepublic java.lang.String escapeAttributeValue(java.lang.Object o) Description copied from class:XMLLibEscapes the reserved characters in a value of an attribute.- Specified by:
- escapeAttributeValuein class- XMLLib
- Parameters:
- o- Unescaped text
- Returns:
- The escaped text
 
 - 
nameRefpublic Ref nameRef(Context cx, java.lang.Object name, Scriptable scope, int memberTypeFlags) 
 - 
nameRefpublic Ref nameRef(Context cx, java.lang.Object namespace, java.lang.Object name, Scriptable scope, int memberTypeFlags) 
 
- 
 
-