public final class CtnSection extends AstAbstractInnerNode.AstInnerNode2<CtnNode> implements CtnNode
AstAbstractInnerNode.AstInnerNode1<T extends AstNode<T>>, AstAbstractInnerNode.AstInnerNode2<T extends AstNode<T>>, AstAbstractInnerNode.AstInnerNode3<T extends AstNode<T>>, AstAbstractInnerNode.AstInnerNode4<T extends AstNode<T>>modCountAST_TEST_NODE, NT_ID_NODE, NT_TEST_BODY, NT_TEST_DOCUMENT, NT_TEST_NODE_WITH_OBJ_PROP, NT_TEST_NODE_WITH_PROP_AND_CONTENT, NT_TEST_SECTION, NT_TEST_TITLE, NT_TEST_URLEMPTY_CHILD_NAMES, NT_CUSTOM_BIT, NT_NODE_LIST, NT_PARSER_ENTITY, NT_TEXT, NT_TUPLE_1, NT_TUPLE_2, NT_TUPLE_3, NT_TUPLE_4, NT_TUPLE_5, NT_UNTYPED| Modifier | Constructor and Description |
|---|---|
protected |
CtnSection() |
protected |
CtnSection(int level,
CtnTitle title,
CtnBody body) |
| Modifier and Type | Method and Description |
|---|---|
CtnBody |
getBody() |
String[] |
getChildNames()
Returns the names of the children.
|
int |
getLevel() |
String |
getNodeName()
Returns the name of this node.
|
int |
getNodeType()
Returns an integer value that identifies the node type.
|
int |
getPropertyCount() |
int |
getSuperPropertyCount() |
CtnTitle |
getTitle() |
boolean |
hasBody() |
boolean |
hasTitle() |
AstNodePropertyIterator |
propertyIterator()
Return an iterator which iterates over this node's properties.
|
void |
removeBody() |
void |
removeTitle() |
void |
setBody(CtnBody body) |
void |
setLevel(int level) |
void |
setTitle(CtnTitle title) |
get, remove, set, sizeget, toStringaddAll, clearAttributes, clone, cloneWrapException, deepClone, deepCloneWrapException, equals, equalsNoTypeCheck, getAttribute, getAttributes, getBooleanAttribute, getIntAttribute, getLocation, getNativeLocation, getNodeTypeName, getProperty, getProperty, getStringAttribute, hasAttribute, hasAttributes, hasLocation, hasProperties, hasProperty, isList, isNodeType, removeAttribute, setAttribute, setAttributes, setBooleanAttribute, setIntAttribute, setLocation, setLocation, setNativeLocation, setProperty, setStringAttribute, toStringadd, add, addAll, clear, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArrayfinalize, getClass, notify, notifyAll, wait, wait, waitaddAll, clone, cloneWrapException, deepClone, deepCloneWrapException, equals, get, getNativeLocation, getNodeTypeName, isList, isNodeType, setNativeLocation, toStringclearAttributes, getAttribute, getAttributes, getBooleanAttribute, getIntAttribute, getStringAttribute, hasAttribute, hasAttributes, removeAttribute, setAttribute, setAttributes, setBooleanAttribute, setIntAttribute, setStringAttributegetProperty, getProperty, hasProperties, hasProperty, setPropertygetLocation, hasLocation, setLocation, setLocationadd, add, addAll, addAll, clear, contains, containsAll, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArrayparallelStream, removeIf, streampublic int getNodeType()
AstNodeImplgetNodeType in interface AstNode<CtnNode>getNodeType in class AstNodeImpl<CtnNode>public String getNodeName()
AstNodeImplgetNodeName in interface AstNode<CtnNode>getNodeName in class AstNodeImpl<CtnNode>public final int getLevel()
public final void setLevel(int level)
public final int getPropertyCount()
getPropertyCount in interface AstNodePropertyInterfacegetPropertyCount in class AstNodeImpl<CtnNode>public final int getSuperPropertyCount()
public final AstNodePropertyIterator propertyIterator()
AstNodePropertyInterfacepropertyIterator in interface AstNodePropertyInterfacepropertyIterator in class AstNodeImpl<CtnNode>public final void setTitle(CtnTitle title)
public final CtnTitle getTitle()
public final void removeTitle()
public final boolean hasTitle()
public final void setBody(CtnBody body)
public final CtnBody getBody()
public final void removeBody()
public final boolean hasBody()
public final String[] getChildNames()
AstNodeImplgetChildNames in interface AstNode<CtnNode>getChildNames in class AstAbstractInnerNode<CtnNode>Copyright © 2009–2017 University of Erlangen-Nürnberg - Open Source Research Group. All rights reserved.