Package com.adobe.xfa.content
Class ExDataValue
- java.lang.Object
-
- com.adobe.xfa.Obj
-
- com.adobe.xfa.Node
-
- com.adobe.xfa.Element
-
- com.adobe.xfa.ProtoableNode
-
- com.adobe.xfa.content.Content
-
- com.adobe.xfa.content.ExDataValue
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.adobe.xfa.Element
Element.DualDomNode, Element.ReplaceContent
-
Nested classes/interfaces inherited from class com.adobe.xfa.Node
Node.ChangeLogger
-
-
Field Summary
-
Fields inherited from class com.adobe.xfa.Element
AttrIsDefault, AttrIsFragment, AttrIsTransient, CREATEACTION
-
Fields inherited from class com.adobe.xfa.Node
CREATE_ALWAYS_NEW, CREATE_IF_NOT_EXIST, CREATE_MUST_NOT_EXIST, CREATE_REPLACE, gsXFANamespacePrefix
-
Fields inherited from interface com.adobe.xfa.ut.Peer
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
-
-
Constructor Summary
Constructors Constructor Description ExDataValue(Element parent, Node prevSibling)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object object)
Equals is a helper function that returns whether two Contents are equal (case-sensitive, and considering the null state of both nodes).ScriptTable
getScriptTable()
java.lang.String
getStrValue()
java.lang.String
getValue(boolean bAsFragment, boolean bSuppressPreamble, boolean bLegacyWhitespaceProcessing)
Get the text stored in this elementvoid
getValues(java.util.List<java.lang.String> values)
For XML node children, get the value within this elementint
hashCode()
Returns a hash code value for the object.void
loadXML(java.io.InputStream sInFile, boolean bIgnoreAggregatingTag, Element.ReplaceContent eReplaceContent)
Loads and appends the specified XML fragment (or document) to this element.boolean
processTextChildrenDuringParse()
Text children of exData cannot be processed at parse time.void
setContent(Node domNode, boolean bDefault)
void
setValue(java.lang.String sText)
Set the text value within this elementvoid
setValue(java.util.List<java.lang.String> values)
For XML node children, set the value within this elementjava.lang.String
toString()
Cast this element to a String.void
updateIDValues(java.lang.String sPrefix, java.util.List<java.lang.String> oldReferenceList)
-
Methods inherited from class com.adobe.xfa.content.Content
appendChild, couldBeNull, getIsNull, insertChild, resetPostLoadXML, sameText, setIsNull, setStrValue, setValue
-
Methods inherited from class com.adobe.xfa.ProtoableNode
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
-
Methods inherited from class com.adobe.xfa.Element
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, makeDefault, makeNonDefault, newAttribute, optimizeNameSpace, peekAttribute, peekElement, peekOneOfChild, peekProperty, peekProperty, postSave, privateSetName, 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
-
Methods inherited from class com.adobe.xfa.Node
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
-
Methods inherited from class com.adobe.xfa.Obj
addPeer, addPeeredNode, clearPeers, deafen, getClassAtom, getClassTag, getPeer, getScriptProperty, getScriptThis, invokeFunction, isDeaf, isMute, isSameClass, isSameClass, isSameClass, mute, peerRemoved, removePeer, removePeeredNode, setClass, setClassTag, setScriptProperty, unDeafen, unMute
-
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object object)
Description copied from class:Content
Equals is a helper function that returns whether two Contents are equal (case-sensitive, and considering the null state of both nodes).
-
hashCode
public int hashCode()
Description copied from class:Content
Returns a hash code value for the object. This method is unsupported.
-
getScriptTable
public ScriptTable getScriptTable()
- Overrides:
getScriptTable
in classContent
-
getStrValue
public java.lang.String getStrValue()
- Overrides:
getStrValue
in classContent
-
updateIDValues
public void updateIDValues(java.lang.String sPrefix, java.util.List<java.lang.String> oldReferenceList)
- Overrides:
updateIDValues
in classProtoableNode
-
getValue
public java.lang.String getValue(boolean bAsFragment, boolean bSuppressPreamble, boolean bLegacyWhitespaceProcessing)
Get the text stored in this element- Returns:
- the text string
-
getValues
public void getValues(java.util.List<java.lang.String> values)
For XML node children, get the value within this element- Parameters:
values
- a list of values
-
processTextChildrenDuringParse
public boolean processTextChildrenDuringParse()
Text children of exData cannot be processed at parse time. This processing is deferred to postLoad processing.- Overrides:
processTextChildrenDuringParse
in classElement
- Returns:
true
if child text nodes should be processed at parse time.
-
loadXML
public void loadXML(java.io.InputStream sInFile, boolean bIgnoreAggregatingTag, Element.ReplaceContent eReplaceContent)
Description copied from class:Element
Loads and appends the specified XML fragment (or document) to this element.- Overrides:
loadXML
in classElement
- Parameters:
sInFile
- the input stream of XML fragment.bIgnoreAggregatingTag
- ignore the root node of the XML fragment, when true, in which case, the children of the root node will be appended to this element. Append the root node of the XML fragment to this element, when false.eReplaceContent
- specifies handling of existing node content.- See Also:
Element.loadXML(InputStream, boolean, ReplaceContent)
-
setContent
public void setContent(Node domNode, boolean bDefault)
-
setValue
public void setValue(java.util.List<java.lang.String> values)
For XML node children, set the value within this element- Parameters:
values
- a list of values to set. (Strings)
-
setValue
public void setValue(java.lang.String sText)
Set the text value within this element- Parameters:
sText
- a string to set/replace the text stored in this element
-
-