|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.xerces.dom.NodeImpl
org.apache.xerces.dom.ChildNode
org.apache.xerces.dom.ParentNode
org.apache.xerces.dom.ElementImpl
org.apache.xerces.dom.ElementNSImpl
fi.hut.tml.xsmiles.dom.XSmilesElementImpl
fi.hut.tml.xsmiles.mlfc.x3d.GenericElementImpl
General X3D element. To obtain convert DEF attribute to id attribute and to animate all elements.
| Nested Class Summary |
| Nested classes inherited from class fi.hut.tml.xsmiles.dom.XSmilesElementImpl |
XSmilesElementImpl.PseudoNodeList |
| Field Summary | |
protected X3DMLFC |
mlfc
|
| Fields inherited from class fi.hut.tml.xsmiles.dom.XSmilesElementImpl |
DESTROYED, elementStatus, INITIALIZED, INITIALIZING, setPseudoClasses, style, UNINITIALIZED, xblpropname |
| Fields inherited from class org.apache.xerces.dom.ElementNSImpl |
localName, namespaceURI |
| Fields inherited from class org.apache.xerces.dom.ElementImpl |
attributes, name |
| Fields inherited from class org.apache.xerces.dom.ParentNode |
firstChild, fNodeListCache, ownerDocument |
| Fields inherited from class org.apache.xerces.dom.ChildNode |
nextSibling, previousSibling |
| Fields inherited from class org.apache.xerces.dom.NodeImpl |
DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, ID, IGNORABLEWS, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODE, UNNORMALIZED |
| Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
| Constructor Summary | |
GenericElementImpl(org.apache.xerces.dom.DocumentImpl owner,
java.lang.String namespace,
java.lang.String tag,
X3DMLFC m)
Constructor - Set the owner, name and namespace. |
|
| Method Summary | |
float |
convertStringToUnitless(java.lang.String attr,
java.lang.String value)
Convert String attribute to an float value |
java.lang.String |
convertUnitlessToString(java.lang.String attr,
float value)
|
void |
destroy()
Do cleanup |
void |
dispatch(java.lang.String type)
|
java.lang.String |
getAnimAttribute(java.lang.String attr)
Get animation value of an attribute. |
java.lang.String |
getAttribute(java.lang.String s)
Get Id Kludge - get DEF attribute instead! |
java.lang.String |
getId()
Get Id Kludge - get DEF attribute instead! |
void |
init()
Initialize this element. |
void |
refreshAnimation()
Refresh element with all the animation values. |
void |
removeAnimAttribute(java.lang.String attr)
The anim attribute value removed with this method allows the DOM attribute value be visible. |
void |
setAnimAttribute(java.lang.String attr,
java.lang.String value)
The attribute value set with this method should take precedence over the DOM attribute value. |
| Methods inherited from class org.apache.xerces.dom.ElementNSImpl |
getBaseURI, getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, setPrefix, setType, setValues |
| Methods inherited from class org.apache.xerces.dom.ElementImpl |
cloneNode, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, getXercesAttribute, hasAttribute, hasAttributeNS, hasAttributes, isEqualNode, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeData |
| Methods inherited from class org.apache.xerces.dom.ParentNode |
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, insertBefore, item, removeChild, replaceChild, setTextContent, synchronizeChildren |
| Methods inherited from class org.apache.xerces.dom.ChildNode |
getNextSibling, getParentNode, getPreviousSibling |
| Methods inherited from class org.apache.xerces.dom.NodeImpl |
addEventListener, appendChild, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setUserData, setUserData, toString |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.w3c.dom.Element |
getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS |
| Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
| Field Detail |
protected X3DMLFC mlfc
| Constructor Detail |
public GenericElementImpl(org.apache.xerces.dom.DocumentImpl owner,
java.lang.String namespace,
java.lang.String tag,
X3DMLFC m)
| Method Detail |
public void dispatch(java.lang.String type)
public void init()
init in interface InitializableElementinit in class XSmilesElementImplpublic void destroy()
destroy in class XSmilesElementImplpublic java.lang.String getId()
getId in class XSmilesElementImplpublic java.lang.String getAttribute(java.lang.String s)
getAttribute in interface org.w3c.dom.Element
public float convertStringToUnitless(java.lang.String attr,
java.lang.String value)
convertStringToUnitless in interface AnimationService
public java.lang.String convertUnitlessToString(java.lang.String attr,
float value)
convertUnitlessToString in interface AnimationServicepublic java.lang.String getAnimAttribute(java.lang.String attr)
getAnimAttribute in interface AnimationServiceattr - Animated attribute
public void setAnimAttribute(java.lang.String attr,
java.lang.String value)
setAnimAttribute in interface AnimationServiceattr - Attribute to be animatedvalue - Animation value to be setpublic void removeAnimAttribute(java.lang.String attr)
removeAnimAttribute in interface AnimationServiceattr - Attribute to be animated (animation removed)public void refreshAnimation()
refreshAnimation in interface AnimationService
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||