|
Project 1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcscie259.project1.mf.Node
cscie259.project1.mf.Element
A simplified, non-interface version of org.w3c.dom.Element. You MAY modify this file, provided you do not change the declarations or definitions of the constructor and getNodeType.
Field Summary |
Fields inherited from class cscie259.project1.mf.Node |
ATTRIBUTE_NODE, DOCUMENT_NODE, ELEMENT_NODE, TEXT_NODE |
Constructor Summary | |
Element(java.lang.String name)
Sets node's name. |
Method Summary | |
int |
getNodeType()
Returns code (Node.ELEMENT_NODE) signifying this node's type. |
Methods inherited from class cscie259.project1.mf.Node |
appendChild, getChildNodes, getNodeName, getNodeValue, getParentNode, setNodeName, setNodeValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Element(java.lang.String name)
name
- name for new elementMethod Detail |
public int getNodeType()
getNodeType
in class Node
|
Project 1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |