Package org.eclipse.wst.xsl.core.model
public class XSLNode extends org.eclipse.wst.xsl.core.model.XSLModelObjectA node in the XSL namespace.
Field Summary | |
public static short | ATTRIBUTE_NODE A constant for the attribute node (= <code>org.w3c.dom.Node.ATTRIBUTE_NODE</code>) |
package-private int | columnNumber |
public static short | ELEMENT_NODE A constant for the element node (= <code>org.w3c.dom.Node.ELEMENT_NODE</code>) |
package-private int | lineNumber |
Constructor Summary |
XSLNode(org.eclipse.wst.xsl.core.model.Stylesheet stylesheet
,
short type) |
Method Summary | |
public int | getColumnNumber() Set the column number where this node occurs in the XSL file. |
public int | getLength() Get the length of this node. |
public int | getLineNumber() Set the line number where this node occurs in the XSL file. |
public java.lang.String | getName() |
public short | getNodeType() Get the type of node. |
public int | getOffset() Get the document offset where this node occurs. |
public org.eclipse.wst.xsl.core.model.Stylesheet | getStylesheet() Get the stylesheet that this belongs to. |
public void | setColumnNumber(int columnNumber) Set the columns number where this node occurs in the XSL file. |
public void | setLength(int length) Set the length of this node. |
public void | setLineNumber(int lineNumber) Set the line number where this node occurs in the XSL file. |
public void | setName(java.lang.String name) |
public void | setOffset(int offset) Set the document offset where this node occurs. |
public java.lang.String | toString() |
Field Detail |
public static short ATTRIBUTE_NODE
A constant for the attribute node (= org.w3c.dom.Node.ATTRIBUTE_NODE ) |
package-private int columnNumber
public static short ELEMENT_NODE
A constant for the element node (= org.w3c.dom.Node.ELEMENT_NODE ) |
package-private int lineNumber
Constructor Detail |
public XSLNode(org.eclipse.wst.xsl.core.model.Stylesheet stylesheet
,
short type)
Create a new instance of this.
Methods Detail |
public int getColumnNumber()
Set the column number where this node occurs in the XSL file.
int
- the column number where this node occurs in the XSL file.
public int getLength()
Get the length of this node.
int
- the node length
public int getLineNumber()
Set the line number where this node occurs in the XSL file.
int
- the line number where this node occurs in the XSL file.
public java.lang.String getName()
java.lang.String
public short getNodeType()
Get the type of node.
short
- one of ELEMENT_NODE
or ATTRIBUTE_NODE
public int getOffset()
Get the document offset where this node occurs.
int
- the document offset
public org.eclipse.wst.xsl.core.model.Stylesheet getStylesheet()
Get the stylesheet that this belongs to.
org.eclipse.wst.xsl.core.model.Stylesheet
- the stylesheet
public void setColumnNumber(int columnNumber)
Set the columns number where this node occurs in the XSL file.
columnNumber
- the column number
public void setLength(int length)
Set the length of this node.
length
- the node length
public void setLineNumber(int lineNumber)
Set the line number where this node occurs in the XSL file.
lineNumber
- the line number
public void setName(java.lang.String name)
name
public void setOffset(int offset)
Set the document offset where this node occurs.
offset
- the document offset
public java.lang.String toString()
java.lang.String