org.eclipse.cosmos.rm.validation.internal.artifacts
Class ElementNode
java.lang.Object
org.eclipse.cosmos.rm.validation.internal.artifacts.TypeNode
org.eclipse.cosmos.rm.validation.internal.artifacts.ElementNode
- Direct Known Subclasses:
- TargetElementNode, TargetSchemaNode
public class ElementNode
- extends TypeNode
Element Node represents a node in a document.
|
Constructor Summary |
ElementNode()
|
ElementNode(java.lang.String name,
java.lang.String filePath,
int line,
int column)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ElementNode
public ElementNode()
ElementNode
public ElementNode(java.lang.String name,
java.lang.String filePath,
int line,
int column)
getName
public java.lang.String getName()
- Returns the name of the element
- Returns:
- the name of the element
setName
public void setName(java.lang.String name)
- Sets the name of the element
- Parameters:
name - name of the element
getLocation
public ElementLocation getLocation()
- Returns:
- the location
setLocation
public void setLocation(ElementLocation location)
- Parameters:
location - the location to set