public class DefaultXMLNamespaceNode extends FixedChildrenNode implements IDefaultXMLNamespaceNode
Modifier and Type | Field and Description |
---|---|
protected ExpressionNodeBase |
expressionNode
The namespace expression on the right-hand-side of the equals sign.
|
protected KeywordNode |
keywordNode |
emptyNodeArray, parent
UNKNOWN
Constructor and Description |
---|
DefaultXMLNamespaceNode(KeywordNode keywordNode)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
IASNode |
getChild(int i)
Get a particular child of this node
|
int |
getChildCount()
Get the number of children
|
ExpressionNodeBase |
getExpressionNode()
Gets the child node representing the namespace expression
on the right-hand-side of the statement.
|
KeywordNode |
getKeywordNode()
Gets the node representing the
default xml namespace keyword. |
ASTNodeID |
getNodeID()
Get the opcode of this node
|
protected void |
setChildren(boolean fillInOffsets)
If this node has custom children (names, arguments, etc), shove them into
the list of children.
|
void |
setExpressionNode(ExpressionNodeBase expressionNode) |
isTerminal
analyze, buildInnerString, buildStringRecursive, canContinueContainmentSearch, collectImportNodes, combineAttributes, connectedToProjectScope, contains, endAfter, endAfter, endBefore, endBefore, fillInOffsets, getAbsoluteEnd, getAbsoluteStart, getAncestorOfType, getASScope, getContainingFilePath, getContainingNode, getContainingScope, getEnd, getFileScope, getFileSpecification, getInnerString, getNodeKind, getPackageName, getParent, getScopeNode, getSpanningStart, getStart, getSucceedingNode, getWorkspace, isTransparent, looselyContains, normalize, replaceChild, runPostProcess, setParent, span, span, span, startAfter, startAfter, startBefore, startBefore, swapChildren, toString, tryGetOffsetLookup, verify
getColumn, getEndColumn, getEndLine, getLine, getLineColumnString, getOffsetsString, getSourcePath, getSourcePathString, setColumn, setEnd, setEndColumn, setEndLine, setLine, setSourceLocation, setSourcePath, setStart, span, span
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
contains, getAncestorOfType, getContainingNode, getContainingScope, getFileSpecification, getPackageName, getParent, getSpanningStart, getSucceedingNode, isTerminal
getAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getSourcePath, getStart
protected KeywordNode keywordNode
protected ExpressionNodeBase expressionNode
public DefaultXMLNamespaceNode(KeywordNode keywordNode)
public ASTNodeID getNodeID()
IASNode
public int getChildCount()
IASNode
getChildCount
in interface IASNode
getChildCount
in class NodeBase
public IASNode getChild(int i)
IASNode
protected void setChildren(boolean fillInOffsets)
NodeBase
setChildren
in class NodeBase
public KeywordNode getKeywordNode()
IDefaultXMLNamespaceNode
default xml namespace
keyword.
This is not considered a child node.
getKeywordNode
in interface IDefaultXMLNamespaceNode
IKeywordNode
.public ExpressionNodeBase getExpressionNode()
IDefaultXMLNamespaceNode
This is the sole child node.
getExpressionNode
in interface IDefaultXMLNamespaceNode
IExpressionNode
.public void setExpressionNode(ExpressionNodeBase expressionNode)
Copyright © 2016 The Apache Software Foundation. All rights reserved.