Element.DualDomNode, Element.ReplaceContentNode.ChangeLoggerAttrIsDefault, AttrIsFragment, AttrIsTransient, CREATEACTIONCREATE_ALWAYS_NEW, CREATE_IF_NOT_EXIST, CREATE_MUST_NOT_EXIST, CREATE_REPLACE, gsXFANamespacePrefixATTR_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 and Description |
|---|
RichTextNode(Element pParent,
Node prevSibling) |
| Modifier and Type | Method and Description |
|---|---|
Element |
createProto(Element parent,
boolean bFull) |
void |
getDeltas(Element delta,
XFAList list)
Gets a collection of deltas to restore.
|
Node |
getFirstXFAChild()
Gets this element's first XFA child.
|
ScriptTable |
getScriptTable() |
String |
getValue(boolean bAsFragment,
boolean bSuppressPreamble,
boolean bLegacyWhitespaceProcessing)
Get the pcData for this node.
|
String |
getValuesFromDom(Node node,
boolean bAsFragment,
boolean bSuppressPreamble,
boolean bLegacyWhitespaceProcessing) |
int |
getVersionRequired() |
boolean |
isValidChild(int eTag,
int nError,
boolean bBeforeInsert,
boolean bOccurrenceErrorOnly) |
void |
saveXML(OutputStream outFile,
DOMSaveOptions options,
boolean bSaveXMLScript)
Serializes this element (and all its children) to an output stream.
|
void |
setValue(String sData)
Set the pcdata for this node.
|
String |
toString()
Cast this node to a string value.
|
void |
updateIDValuesImpl(String sPrefix,
List<String> oldReferenceList)
Update a list of ID-based string values in the rich text.
|
boolean |
validateSchema(int nTargetVersion,
int nTargetAvailability,
boolean bRecursive,
List<NodeValidationInfo> pValidationInfo)
Validate this node against the schema.
|
appendChild, appendChild, appendPI, appendPI, assignNode, clone, clone, connectPeerToDocument, constructKey, constructKeys, copyContent, defaultAttribute, defaultElement, defaultElement, establishID, evaluate, explodeQName, findAttr, findSchemaAttr, foundBadAttribute, foundBadAttribute, getAll, getAppModel, getAtom, getAttr, getAttribute, getAttribute, getAttributeByName, getAttrIndex, getAttrName, getAttrNS, getAttrProp, getAttrQName, getAttrVal, getChildReln, getClassAll, getClassIndex, getClassName, getElement, getElement, getElementClass, getElementLocal, getEnum, getEnum, getEventTable, getFirstXMLChild, getID, getIndex, getInheritedNS, getInstalledLocale, getIsNull, getLastXMLChild, getLineNumber, getLocalName, getModel, getName, getNode, getNodes, getNodeSchema, getNS, getNumAttrs, getOneOfChild, getOneOfChild, getPI, getPI, getPrefix, getProperty, getProperty, getSaveXMLSaveTransient, getSchemaType, getScriptMethodInfo, getSibling, getText, getXFAChild, getXMLChild, getXMLName, getXPath, getXsiNilAttribute, inhibitPrettyPrint, inhibitPrettyPrint, insertChild, isContainer, isFragment, isHidden, isHidden, isIndexed, isInstalledLocaleAmbient, isLeaf, isNameSpaceAttr, isPropertySpecified, isPropertySpecified, isPropertyValid, isSpecified, isSpecified, isSpecified, isTransient, isTransparent, isValidAttr, isValidElement, loadXML, loadXML, makeDefault, makeNonDefault, newAttribute, optimizeNameSpace, peekAttribute, peekElement, peekOneOfChild, peekProperty, peekProperty, postSave, preSave, privateSetName, processTextChildrenDuringParse, removeAttr, removeAttr, removeChild, removePI, removePI, removeWhiteSpace, removeXsiNilAttribute, replaceChild, resetPostLoadXML, resolveAndEnumerateChildren, resolveNodeCreate, resolvePrefix, saveFilteredXML, saveXML, serialize, setAttribute, setAttribute, setAttribute, setAttribute, setAttrProp, setDefaultFlag, setDOMProperties, setElement, setIsDataWindowRoot, setIsIndexed, setLineNumber, setLocalName, setModel, setName, setNS, setOneOfChild, setProperty, setProperty, setQName, setSaveXMLSaveTransient, setTransparent, setXMLName, setXsiNilAttribute, updateFromPeercheckAncestorPerms, 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, isDefault, isDirty, isMapped, isPermsLockSet, isTransient, locateChildByClass, locateChildByName, logValueChangeHelper, notifyPeers, performSOMAssignment, remove, resolveNode, resolveNode, resolveNode, resolveNodes, resolveNodes, sendMessenge, setDirty, setDocument, setLocked, setMapped, setPermsLock, setPrivateName, setWillDirty, setXfaPeer, unLock, validateUsage, validateUsageFailedIsFataladdPeer, addPeeredNode, clearPeers, deafen, getClassAtom, getClassTag, getPeer, getScriptProperty, getScriptThis, invokeFunction, isDeaf, isMute, isSameClass, isSameClass, isSameClass, mute, peerRemoved, removePeer, removePeeredNode, setClass, setClassTag, setScriptProperty, unDeafen, unMutepublic void updateIDValuesImpl(String sPrefix, List<String> oldReferenceList)
public void getDeltas(Element delta, XFAList list)
ElementgetDeltas in class Elementdelta - an Element from the form packet.list - the list of deltas to be populated.Element.getDeltas(Element, XFAList)public Node getFirstXFAChild()
ElementgetFirstXFAChild in class ElementElement.getFirstXFAChild()public ScriptTable getScriptTable()
getScriptTable in class Elementpublic String getValue(boolean bAsFragment, boolean bSuppressPreamble, boolean bLegacyWhitespaceProcessing)
bAsFragment - if true, it returns a String containing an html fragment,
false return only the text content.public String getValuesFromDom(Node node, boolean bAsFragment, boolean bSuppressPreamble, boolean bLegacyWhitespaceProcessing)
node - bAsFragment - bSuppressPreamble - bLegacyWhitespaceProcessing - public boolean isValidChild(int eTag,
int nError,
boolean bBeforeInsert,
boolean bOccurrenceErrorOnly)
isValidChild in class ElementeTag - the class tag of the node that will be or has been appendedbBeforeInsert - if true, then the child has not yet been inserted
into the child list of this element.true if eTag is a valid child.Element.isValidChild(int, int, boolean, boolean)public void setValue(String sData)
sData - -
a string containing the new pcdata.public String toString()
public boolean validateSchema(int nTargetVersion,
int nTargetAvailability,
boolean bRecursive,
List<NodeValidationInfo> pValidationInfo)
NodevalidateSchema in class NodenTargetVersion - the target XFA versionnTargetAvailability - a collection of bits defining what subsets of the schema are supportedpValidationInfo - list of invalid children, attributes and attribute values based on the target
version and availability. If this node is not valid child of its parent this node will be
the first entry of pInfo.public int getVersionRequired()
public void saveXML(OutputStream outFile, DOMSaveOptions options, boolean bSaveXMLScript)
Copyright © 2010 - 2020 Adobe. All Rights Reserved