public class Content extends ProtoableNode
Element.DualDomNode, Element.ReplaceContent
Node.ChangeLogger
AttrIsDefault, AttrIsFragment, AttrIsTransient, CREATEACTION
CREATE_ALWAYS_NEW, CREATE_IF_NOT_EXIST, CREATE_MUST_NOT_EXIST, CREATE_REPLACE, gsXFANamespacePrefix
ATTR_CHANGED, CHILD_ADDED, CHILD_REMOVED, DESCENDENT_ADDED, DESCENDENT_ATTR_CHANGED, DESCENDENT_REMOVED, DESCENDENT_VALUE_CHANGED, PARENT_CHANGED, PERMS_LOCK_CLEARED, PERMS_LOCK_SET, PROTO_ATTR_CHANGED, PROTO_CHILD_ADDED, PROTO_CHILD_REMOVED, PROTO_DESCENDENT_ADDED, PROTO_DESCENDENT_ATTR_CHANGED, PROTO_DESCENDENT_REMOVED, PROTO_DESCENDENT_VALUE_CHANGED, PROTO_VALUE_CHANGED, UPDATED, VALUE_CHANGED
Modifier and Type | Method and Description |
---|---|
void |
appendChild(Node poChild,
boolean bValidate)
Appends the given child to this element.
|
boolean |
couldBeNull() |
boolean |
equals(Object object)
Equals is a helper function that returns whether two Contents are equal
(case-sensitive, and considering the null state of both
nodes).
|
boolean |
getIsNull()
Determine if this node contains a null value.
|
ScriptTable |
getScriptTable() |
String |
getStrValue() |
int |
hashCode()
Returns a hash code value for the object.
|
void |
insertChild(Node poChild,
Node poRefNode,
boolean bValidate)
Inserts a child before a specific child in the child list.
|
void |
resetPostLoadXML() |
boolean |
sameText(Content compare)
This method is a helper function that returns whether two Contents have
the same text value.
|
void |
setIsNull(boolean bNull,
boolean bNotify,
boolean bDefault)
Sets the null state of the node
|
void |
setStrValue(String sText,
boolean bNotify,
boolean bDefault) |
void |
setValue(String sValue,
boolean bFromData,
boolean bNotify,
boolean bDefault) |
String |
toString()
Return the value of the content as a string
|
clone, createProto, elementGetAttribute, externalProtoFailed, fetchIDValues, getAttribute, getAttributeByName, getElement, getExternalProtoSource, getOneOfChild, getPI, getPI, getProto, getProtoed, getText, hasExternalProto, hasProto, isContextSensitiveAttribute, isDefault, isSpecified, notifyPeers, performResolveProtos, preSave, releaseExternalProtos, reResolveProto, resolveProto, setAttribute, setElement, setOneOfChild, setPermsLock, setProto, updateIDValues
appendChild, appendPI, appendPI, assignNode, clone, connectPeerToDocument, constructKey, constructKeys, copyContent, defaultAttribute, defaultElement, defaultElement, establishID, evaluate, explodeQName, findAttr, findSchemaAttr, foundBadAttribute, foundBadAttribute, getAll, getAppModel, getAtom, getAttr, getAttribute, getAttrIndex, getAttrName, getAttrNS, getAttrProp, getAttrQName, getAttrVal, getChildReln, getClassAll, getClassIndex, getClassName, getDeltas, getElement, getElementClass, getElementLocal, getEnum, getEnum, getEventTable, getFirstXFAChild, getFirstXMLChild, getID, getIndex, getInheritedNS, getInstalledLocale, getLastXMLChild, getLineNumber, getLocalName, getModel, getName, getNode, getNodes, getNodeSchema, getNS, getNumAttrs, getOneOfChild, getPrefix, getProperty, getProperty, getSaveXMLSaveTransient, getSchemaType, getScriptMethodInfo, getSibling, getXFAChild, getXMLChild, getXMLName, getXPath, getXsiNilAttribute, inhibitPrettyPrint, inhibitPrettyPrint, isContainer, isFragment, isHidden, isHidden, isIndexed, isInstalledLocaleAmbient, isLeaf, isNameSpaceAttr, isPropertySpecified, isPropertySpecified, isPropertyValid, isSpecified, isSpecified, isTransient, isTransparent, isValidAttr, isValidChild, isValidElement, loadXML, loadXML, makeDefault, makeNonDefault, newAttribute, optimizeNameSpace, peekAttribute, peekElement, peekOneOfChild, peekProperty, peekProperty, postSave, privateSetName, processTextChildrenDuringParse, removeAttr, removeAttr, removeChild, removePI, removePI, removeWhiteSpace, removeXsiNilAttribute, replaceChild, resolveAndEnumerateChildren, resolveNodeCreate, resolvePrefix, saveFilteredXML, saveXML, saveXML, serialize, setAttribute, setAttribute, setAttribute, setAttrProp, setDefaultFlag, setDOMProperties, setIsDataWindowRoot, setIsIndexed, setLineNumber, setLocalName, setModel, setName, setNS, setProperty, setProperty, setQName, setSaveXMLSaveTransient, setTransparent, setXMLName, setXsiNilAttribute, updateFromPeer
checkAncestorPerms, checkDescendentPerms, checkPerms, cleanDirtyFlags, compareVersions, getData, getFirstXMLChildElement, getLocked, getNextXFASibling, getNextXMLSibling, getNextXMLSiblingElement, getNodeAsXML, getOwnerDocument, getPIAsXML, getPIName, getPreviousXMLSibling, getPrivateName, getPropName, getSOMExpression, getSOMExpression, getSomName, getUniqueSOMName, getWillDirty, getXFAChildCount, getXFAParent, getXfaPeer, getXMLChildCount, getXMLParent, hasChanged, isDirty, isMapped, isPermsLockSet, isTransient, locateChildByClass, locateChildByName, logValueChangeHelper, performSOMAssignment, remove, resolveNode, resolveNode, resolveNode, resolveNodes, resolveNodes, sendMessenge, setDirty, setDocument, setLocked, setMapped, setPrivateName, setWillDirty, setXfaPeer, unLock, validateSchema, validateUsage, validateUsageFailedIsFatal
addPeer, addPeeredNode, clearPeers, deafen, getClassAtom, getClassTag, getPeer, getScriptProperty, getScriptThis, invokeFunction, isDeaf, isMute, isSameClass, isSameClass, isSameClass, mute, peerRemoved, removePeer, removePeeredNode, setClass, setClassTag, setScriptProperty, unDeafen, unMute
public void appendChild(Node poChild, boolean bValidate)
Element
appendChild
in class Element
poChild
- the child node being appended.bValidate
- when true, ensures the given child is valid
per the model's schema and throws an ExFull
if not.public boolean couldBeNull()
public boolean equals(Object object)
public int hashCode()
public boolean getIsNull()
Element
public String getStrValue()
public ScriptTable getScriptTable()
getScriptTable
in class ProtoableNode
public void insertChild(Node poChild, Node poRefNode, boolean bValidate)
Element
insertChild
in class Element
poChild
- the child to be insertedpoRefNode
- the child to insert beforebValidate
- if true, validate the insertionpublic void resetPostLoadXML()
resetPostLoadXML
in class Element
public boolean sameText(Content compare)
compare
- -
the Content node to compare withpublic void setIsNull(boolean bNull, boolean bNotify, boolean bDefault)
bNull
- if true, set to nullbNotify
- if true, notify peers of changebDefault
- if false make sure this node is marked as not defaultpublic void setStrValue(String sText, boolean bNotify, boolean bDefault)
public void setValue(String sValue, boolean bFromData, boolean bNotify, boolean bDefault)
Copyright © 2010 - 2020 Adobe. All Rights Reserved