escapeAttributeValue
public abstract String escapeAttributeValue(Object value)
Escapes the reserved characters in a value of an attribute.
escapeTextValue
public abstract String escapeTextValue(Object value)
Escapes the reserved characters in a value of a text node.
extractFromScopeOrNull
public static XMLLib extractFromScopeOrNull(Scriptable scope)
getPrettyIndent
public int getPrettyIndent()
isIgnoreComments
public boolean isIgnoreComments()
isIgnoreProcessingInstructions
public boolean isIgnoreProcessingInstructions()
isIgnoreWhitespace
public boolean isIgnoreWhitespace()
isPrettyPrinting
public boolean isPrettyPrinting()
isXMLName
public abstract boolean isXMLName(Context cx,
Object name)
nameRef
public abstract Ref nameRef(Context cx,
Object namespace,
Object name,
Scriptable scope,
int memberTypeFlags)
setIgnoreComments
public void setIgnoreComments(boolean b)
setIgnoreProcessingInstructions
public void setIgnoreProcessingInstructions(boolean b)
setIgnoreWhitespace
public void setIgnoreWhitespace(boolean b)
setPrettyIndent
public void setPrettyIndent(int i)
setPrettyPrinting
public void setPrettyPrinting(boolean b)
toDefaultXmlNamespace
public abstract Object toDefaultXmlNamespace(Context cx,
Object uriValue)
Construct namespace for default xml statement.