|
Oxygen XML Editor 14.2 Author API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectro.sync.contentcompletion.xml.Context
ro.sync.contentcompletion.xml.WhatContextInParent
ro.sync.contentcompletion.xml.WhatPossibleValuesHasAttributeContext
@API(type=EXTENDABLE,
src=PRIVATE)
public class WhatPossibleValuesHasAttributeContextIt is used to determine the possible values of the current attribute.
| Field Summary |
|---|
| Fields inherited from class ro.sync.contentcompletion.xml.WhatContextInParent |
|---|
parentElement |
| Fields inherited from class ro.sync.contentcompletion.xml.Context |
|---|
elementStack, idValuesList, infoProvider, nextSiblingElements, prefixNamespaceMapping, previousSiblingElements, xmlReader |
| Constructor Summary | |
|---|---|
WhatPossibleValuesHasAttributeContext()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
java.util.List<java.lang.String> |
getAncestorValues(java.lang.String name,
java.lang.String namespace,
java.lang.String attribute)
Get the values of the specified (by name) attribute from the ancestors with the given name and namespace. |
java.lang.String |
getAttributeName()
Gets the name of the attribute, including the namespace prefix, if any. |
java.lang.String |
getCurrentValuePrefix()
Get the already inserted value prefix. |
java.lang.String |
getDefaultAttributeValue()
|
java.lang.String |
getGrandparentElement()
Get the qualified name of the grand parent element. |
java.lang.String |
getGrandparentNamespace()
Get the namespace of the grand parent element. |
void |
setAttributeName(java.lang.String attributeName)
Sets the attribute name, including the namespace prefix, if any. |
void |
setCurrentValuePrefix(java.lang.String currentValuePrefix)
Set the the already inserted value prefix. |
java.lang.String |
toString()
Get a description of the current context. |
| Methods inherited from class ro.sync.contentcompletion.xml.WhatContextInParent |
|---|
getParentElement, getPreviousAttributeNames, getPreviousAttributes, getPreviousAttributesList, getRootAttributes, pushContextElement, setParentElement |
| Methods inherited from class ro.sync.contentcompletion.xml.Context |
|---|
executeXPath, executeXPath, getElementStack, getIdValuesList, getNextSiblingElements, getPrefixNamespaceMapping, getPreviousSiblingElements, getSystemID, setAdditionalContextInformationProvider, setElementStack, setIdValuesList, setNextSiblingElements, setPrefixNamespaceMapping, setPreviousSiblingElements, setXMLReader |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WhatPossibleValuesHasAttributeContext()
| Method Detail |
|---|
public java.lang.String getAttributeName()
public void setAttributeName(java.lang.String attributeName)
attributeName - The attribute name.public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getGrandparentElement()
java.util.EmptyStackException - In case the stack is empty.public java.lang.String getGrandparentNamespace()
java.util.EmptyStackException - In case the stack is empty.
public java.util.List<java.lang.String> getAncestorValues(java.lang.String name,
java.lang.String namespace,
java.lang.String attribute)
name and namespace.
name - The name of the element where the attribute must be searched.namespace - The namespace of the element where the attribute must be searched.attribute - The attribute local name.
null.public java.lang.String getCurrentValuePrefix()
null if no prefix was found.public void setCurrentValuePrefix(java.lang.String currentValuePrefix)
currentValuePrefix - The text from the start position of the attribute value and
the caret position.public java.lang.Object clone()
clone in class ro.sync.contentcompletion.xml.WhatContextInParentWhatContextInParent.clone()public java.lang.String getDefaultAttributeValue()
|
Oxygen XML Editor 14.2 Author API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||