public class JsNode extends JsTree implements FormNode
Modifier and Type | Field and Description |
---|---|
protected Map |
instanceManagerByTemplate |
protected static JsNode |
nodeJsObject |
protected static Map<String,JsNode> |
nodes |
protected com.itextpdf.tool.xml.Tag |
protoTemplate |
protected com.itextpdf.tool.xml.Tag |
tag |
protected static JsContent |
textJsObject |
static com.itextpdf.tool.xml.Tag |
UNIVERSAL_PROTOTYPE_ROOT |
protected static Charset |
utf8Charset |
flattenerContext, shortcuts, treeJsObject
rhinoJsObject
Modifier | Constructor and Description |
---|---|
protected |
JsNode(JsNode parent) |
|
JsNode(String className) |
|
JsNode(String name, IJsObject parent) |
|
JsNode(com.itextpdf.tool.xml.Tag tag, IJsObject parent) |
|
JsNode(com.itextpdf.tool.xml.Tag tag, IJsObject parent, JsNode prototypeNode) |
Modifier and Type | Method and Description |
---|---|
void |
addAfterMe(JsNode node) |
void |
addChild(JsTree child) |
void |
addChild(com.itextpdf.tool.xml.Tag tag) |
JsNode |
addChild(com.itextpdf.tool.xml.Tag tag, boolean addAllChildren) |
void |
addInstanceManagerForTemplate(com.itextpdf.tool.xml.Tag tag, JsInstanceManager instanceManager) |
void |
addVariable(com.itextpdf.tool.xml.Tag variableTag) |
Object |
get(String name, org.mozilla.javascript.Scriptable start) |
JsNode |
getChild(String name) |
JsInstanceManager |
getInstanceManagerByTemplate(com.itextpdf.tool.xml.Tag templateTag) |
boolean |
getIsContainer() |
boolean |
getIsNull() |
RhinoJsNodeList |
getNodes() |
static JsNode |
getNotNullXFAPrototype(String className) |
JsNode |
getOneOfChild() |
JsNode |
getParent() |
com.itextpdf.tool.xml.Tag |
getProtoTemplate() |
protected Object |
getPrototypeObject(String name) |
com.itextpdf.tool.xml.Tag |
getTag() |
boolean |
isHidden() |
boolean |
isInactive() |
boolean |
isPropertySpecified(String propertyName) |
void |
loadXML(String xml, boolean ignoreRootNode, boolean overrideCurrentInformation) |
void |
put(String name, org.mozilla.javascript.Scriptable start, Object value) |
protected void |
putCallback(String name, Object value) |
String |
retrieveAttribute(String attributeName) |
Map<String,String> |
retrieveAttributes() |
FormNode |
retrieveChild(String... path) |
FormNode |
retrieveChild(String name) |
List<FormNode> |
retrieveChildren() |
List<FormNode> |
retrieveChildren(String name) |
List<String> |
retrieveContent() |
String |
retrieveName() |
FormNode |
retrieveParent() |
List |
retrieveRichText() |
String |
retrieveValue() |
void |
setOneOfChild(JsNode child) |
void |
setProtoTemplate(XFATemplateTag protoTemplate) |
getAll, getIndex, getNamePropertyByNameKey, getSomExpression, resolveNode, resolveNodeInt, resolveNodes, resolveNodesInt, searchNode, searchNodeByClassName, searchNodeById, searchNodeByName, searchNodeDown, searchNodes, searchNodesById, searchNodesByName, splitSOM, strictSearchNode, strictSearchNodeByName
defineConstantProperty, defineProperty, evaluateScript, evaluateScript, getClassName, getDefaultValue, getOwnProperty, getProperty, getStringProperty, isUndefined, unwrap
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, equivalentValues, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasInstance, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype, size
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClassName
protected static final JsNode nodeJsObject
protected static Charset utf8Charset
public static com.itextpdf.tool.xml.Tag UNIVERSAL_PROTOTYPE_ROOT
protected static final JsContent textJsObject
protected com.itextpdf.tool.xml.Tag tag
protected com.itextpdf.tool.xml.Tag protoTemplate
protected MapJsInstanceManager> instanceManagerByTemplate
public JsNode(String className)
public JsNode(com.itextpdf.tool.xml.Tag tag, IJsObject parent)
protected JsNode(JsNode parent)
public void put(String name, org.mozilla.javascript.Scriptable start, Object value)
put
in interface org.mozilla.javascript.Scriptable
put
in class org.mozilla.javascript.ScriptableObject
public Object get(String name, org.mozilla.javascript.Scriptable start)
get
in interface org.mozilla.javascript.Scriptable
get
in class org.mozilla.javascript.ScriptableObject
public boolean getIsNull()
public boolean getIsContainer()
public void loadXML(String xml, boolean ignoreRootNode, boolean overrideCurrentInformation)
public boolean isPropertySpecified(String propertyName)
public JsNode getOneOfChild()
public void setOneOfChild(JsNode child)
public JsNode addChild(com.itextpdf.tool.xml.Tag tag, boolean addAllChildren)
public void addChild(com.itextpdf.tool.xml.Tag tag)
public void addVariable(com.itextpdf.tool.xml.Tag variableTag)
public RhinoJsNodeList getNodes()
public com.itextpdf.tool.xml.Tag getTag()
public JsNode getParent()
public void addAfterMe(JsNode node)
public FormNode retrieveChild(String name)
retrieveChild
in interface FormNode
public FormNode retrieveChild(String... path)
retrieveChild
in interface FormNode
public List<FormNode> retrieveChildren()
retrieveChildren
in interface FormNode
public List<FormNode> retrieveChildren(String name)
retrieveChildren
in interface FormNode
public String retrieveName()
retrieveName
in interface FormNode
retrieveName
in class JsTree
public Map<String,String> retrieveAttributes()
retrieveAttributes
in interface FormNode
public String retrieveAttribute(String attributeName)
retrieveAttribute
in interface FormNode
public FormNode retrieveParent()
retrieveParent
in interface FormNode
public String retrieveValue()
retrieveValue
in interface FormNode
public ListretrieveRichText()
retrieveRichText
in interface FormNode
public List<String> retrieveContent()
retrieveContent
in interface FormNode
public boolean isInactive()
public JsInstanceManager getInstanceManagerByTemplate(com.itextpdf.tool.xml.Tag templateTag)
public void addInstanceManagerForTemplate(com.itextpdf.tool.xml.Tag tag, JsInstanceManager instanceManager)
public void setProtoTemplate(XFATemplateTag protoTemplate)
public com.itextpdf.tool.xml.Tag getProtoTemplate()
Copyright (C) 1998-2019 iText Group NV. All Rights Reserved.