Package org.mozilla.javascript.xmlimpl
Class XMLLibImpl
java.lang.Object
org.mozilla.javascript.xml.XMLLib
org.mozilla.javascript.xmlimpl.XMLLibImpl
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.mozilla.javascript.xml.XMLLib
XMLLib.Factory -
Method Summary
Modifier and TypeMethodDescriptionEscapes the reserved characters in a value of an attribute.Escapes the reserved characters in a value of a text node.intstatic voidinit(Context cx, Scriptable scope, boolean sealed) booleanbooleanbooleanbooleanbooleannameRef(Context cx, Object namespace, Object name, Scriptable scope, int memberTypeFlags) nameRef(Context cx, Object name, Scriptable scope, int memberTypeFlags) voidsetIgnoreComments(boolean b) voidsetIgnoreProcessingInstructions(boolean b) voidsetIgnoreWhitespace(boolean b) voidsetPrettyIndent(int i) voidsetPrettyPrinting(boolean b) toDefaultXmlNamespace(Context cx, Object uriValue) Construct namespace for default xml statement.static NodeThis experimental interface is undocumented.Methods inherited from class org.mozilla.javascript.xml.XMLLib
extractFromScope, extractFromScopeOrNull
-
Method Details
-
toDomNode
This experimental interface is undocumented. -
init
-
setIgnoreComments
public void setIgnoreComments(boolean b) - Overrides:
setIgnoreCommentsin classXMLLib
-
setIgnoreWhitespace
public void setIgnoreWhitespace(boolean b) - Overrides:
setIgnoreWhitespacein classXMLLib
-
setIgnoreProcessingInstructions
public void setIgnoreProcessingInstructions(boolean b) - Overrides:
setIgnoreProcessingInstructionsin classXMLLib
-
setPrettyPrinting
public void setPrettyPrinting(boolean b) - Overrides:
setPrettyPrintingin classXMLLib
-
setPrettyIndent
public void setPrettyIndent(int i) - Overrides:
setPrettyIndentin classXMLLib
-
isIgnoreComments
public boolean isIgnoreComments()- Overrides:
isIgnoreCommentsin classXMLLib
-
isIgnoreProcessingInstructions
public boolean isIgnoreProcessingInstructions()- Overrides:
isIgnoreProcessingInstructionsin classXMLLib
-
isIgnoreWhitespace
public boolean isIgnoreWhitespace()- Overrides:
isIgnoreWhitespacein classXMLLib
-
isPrettyPrinting
public boolean isPrettyPrinting()- Overrides:
isPrettyPrintingin classXMLLib
-
getPrettyIndent
public int getPrettyIndent()- Overrides:
getPrettyIndentin classXMLLib
-
isXMLName
-
toDefaultXmlNamespace
Description copied from class:XMLLibConstruct namespace for default xml statement.- Specified by:
toDefaultXmlNamespacein classXMLLib
-
escapeTextValue
Description copied from class:XMLLibEscapes the reserved characters in a value of a text node.- Specified by:
escapeTextValuein classXMLLib- Parameters:
o- Unescaped text- Returns:
- The escaped text
-
escapeAttributeValue
Description copied from class:XMLLibEscapes the reserved characters in a value of an attribute.- Specified by:
escapeAttributeValuein classXMLLib- Parameters:
o- Unescaped text- Returns:
- The escaped text
-
nameRef
-
nameRef
public Ref nameRef(Context cx, Object namespace, Object name, Scriptable scope, int memberTypeFlags)
-