Package com.adobe.xfa.wspolicy
Class Policy
- java.lang.Object
-
- com.adobe.xfa.Obj
-
- com.adobe.xfa.Node
-
- com.adobe.xfa.Element
-
- com.adobe.xfa.wspolicy.Policy
-
- All Implemented Interfaces:
Peer
- Direct Known Subclasses:
CompoundAssertion
,PrimitiveAssertion
public class Policy extends Element
-
-
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 Modifier and Type Field Description static java.lang.String
aSP_HASHPASSWORD
static java.lang.String
aSP_HTTPBASICAUTHENTICATION
static java.lang.String
aSP_HTTPDIGESTAUTHENTICATION
static java.lang.String
aSP_HTTPSTOKEN
static java.lang.String
aSP_NAMESPACE_PREFIX
static java.lang.String
aSP_NAMESPACE_URI
static java.lang.String
aSP_REQUIRECLIENTCERTIFICATE
static java.lang.String
aSP_SUPPORTINGTOKENS
static java.lang.String
aSP_TRANSPORTBINDING
static java.lang.String
aSP_TRANSPORTTOKEN
static java.lang.String
aSP_USERNAMETOKEN
static java.lang.String
aSP_X509TOKEN
static java.lang.String
aWSP_ALL
static java.lang.String
aWSP_EXACTLYONE
static java.lang.String
aWSP_NAMESPACE_PREFIX
static java.lang.String
aWSP_NAMESPACE_URI
static java.lang.String
aWSP_POLICY
static java.lang.String
aWSP_POLICYREFERENCE
static java.lang.String
aWSP_POLICYURIS
static java.lang.String
aWSP_URIATTR
static java.lang.String
aWSU_ID
static java.lang.String
aWSU_NAMESPACE_PREFIX
static java.lang.String
aWSU_NAMESPACE_URI
static int
WSP_ALL_ASSERTION
static int
WSP_EXACTLY_ONE_ASSERTION
static int
WSP_PRIMITIVE_ASSERTION
-
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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
deletePolicyInfo(Element oHostNode)
int
getAssertionType()
Policy
getFirstPolicyChild()
Policy
getNextPolicySibling()
Policy
getParentPolicy()
java.lang.String
getProperty(java.lang.String sXPath)
static CompoundAssertion
newPolicy(Document oDestDoc, ObjectHolder<Element> oNewDomNodeOut)
static CompoundAssertion
resolvePolicy(Element oHostNode)
-
Methods inherited from class com.adobe.xfa.Element
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, getDeltas, getElement, getElement, getElementClass, getElementLocal, getEnum, getEnum, getEventTable, getFirstXFAChild, 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, getScriptTable, 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, isValidChild, 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, 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, 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, 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, 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
-
-
-
-
Field Detail
-
aWSP_NAMESPACE_URI
public static final java.lang.String aWSP_NAMESPACE_URI
- See Also:
- Constant Field Values
-
aWSP_NAMESPACE_PREFIX
public static final java.lang.String aWSP_NAMESPACE_PREFIX
- See Also:
- Constant Field Values
-
aWSP_POLICYURIS
public static final java.lang.String aWSP_POLICYURIS
- See Also:
- Constant Field Values
-
aWSP_POLICY
public static final java.lang.String aWSP_POLICY
- See Also:
- Constant Field Values
-
aWSP_POLICYREFERENCE
public static final java.lang.String aWSP_POLICYREFERENCE
- See Also:
- Constant Field Values
-
aWSP_URIATTR
public static final java.lang.String aWSP_URIATTR
- See Also:
- Constant Field Values
-
aWSP_ALL
public static final java.lang.String aWSP_ALL
- See Also:
- Constant Field Values
-
aWSP_EXACTLYONE
public static final java.lang.String aWSP_EXACTLYONE
- See Also:
- Constant Field Values
-
aSP_NAMESPACE_URI
public static final java.lang.String aSP_NAMESPACE_URI
- See Also:
- Constant Field Values
-
aSP_NAMESPACE_PREFIX
public static final java.lang.String aSP_NAMESPACE_PREFIX
- See Also:
- Constant Field Values
-
aSP_TRANSPORTBINDING
public static final java.lang.String aSP_TRANSPORTBINDING
- See Also:
- Constant Field Values
-
aSP_TRANSPORTTOKEN
public static final java.lang.String aSP_TRANSPORTTOKEN
- See Also:
- Constant Field Values
-
aSP_HTTPSTOKEN
public static final java.lang.String aSP_HTTPSTOKEN
- See Also:
- Constant Field Values
-
aSP_HTTPBASICAUTHENTICATION
public static final java.lang.String aSP_HTTPBASICAUTHENTICATION
- See Also:
- Constant Field Values
-
aSP_HTTPDIGESTAUTHENTICATION
public static final java.lang.String aSP_HTTPDIGESTAUTHENTICATION
- See Also:
- Constant Field Values
-
aSP_REQUIRECLIENTCERTIFICATE
public static final java.lang.String aSP_REQUIRECLIENTCERTIFICATE
- See Also:
- Constant Field Values
-
aSP_USERNAMETOKEN
public static final java.lang.String aSP_USERNAMETOKEN
- See Also:
- Constant Field Values
-
aSP_HASHPASSWORD
public static final java.lang.String aSP_HASHPASSWORD
- See Also:
- Constant Field Values
-
aSP_X509TOKEN
public static final java.lang.String aSP_X509TOKEN
- See Also:
- Constant Field Values
-
aSP_SUPPORTINGTOKENS
public static final java.lang.String aSP_SUPPORTINGTOKENS
- See Also:
- Constant Field Values
-
aWSU_NAMESPACE_URI
public static final java.lang.String aWSU_NAMESPACE_URI
- See Also:
- Constant Field Values
-
aWSU_NAMESPACE_PREFIX
public static final java.lang.String aWSU_NAMESPACE_PREFIX
- See Also:
- Constant Field Values
-
aWSU_ID
public static final java.lang.String aWSU_ID
- See Also:
- Constant Field Values
-
WSP_PRIMITIVE_ASSERTION
public static final int WSP_PRIMITIVE_ASSERTION
- See Also:
- Constant Field Values
-
WSP_ALL_ASSERTION
public static final int WSP_ALL_ASSERTION
- See Also:
- Constant Field Values
-
WSP_EXACTLY_ONE_ASSERTION
public static final int WSP_EXACTLY_ONE_ASSERTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFirstPolicyChild
public final Policy getFirstPolicyChild()
-
getNextPolicySibling
public final Policy getNextPolicySibling()
-
resolvePolicy
public static CompoundAssertion resolvePolicy(Element oHostNode)
-
deletePolicyInfo
public static void deletePolicyInfo(Element oHostNode)
-
newPolicy
public static CompoundAssertion newPolicy(Document oDestDoc, ObjectHolder<Element> oNewDomNodeOut)
-
getAssertionType
public int getAssertionType()
-
getProperty
public java.lang.String getProperty(java.lang.String sXPath)
-
getParentPolicy
public Policy getParentPolicy()
-
-