public abstract class WtEmptyImmutableNode extends Object implements WtNode
NT_BODY, NT_BOLD, NT_DEFINITION_LIST, NT_DEFINITION_LIST_DEF, NT_DEFINITION_LIST_TERM, NT_ENCVAL_BITS, NT_EXTERNAL_LINK, NT_GARBAGE, NT_HEADING, NT_HORIZONTAL_RULE, NT_IGNORED, NT_ILLEGAL_CODE_POINT, NT_IM_END_TAG, NT_IM_START_TAG, NT_IMAGE_LINK, NT_INTERNAL_LINK, NT_ITALICS, NT_LCT_FLAGS, NT_LCT_RULE, NT_LCT_RULE_CONV, NT_LCT_RULE_GARBAGE, NT_LCT_RULE_TEXT, NT_LCT_RULES, NT_LCT_VAR_CONV, NT_LINK_OPTION_ALT_TEXT, NT_LINK_OPTION_GARBAGE, NT_LINK_OPTION_KEYWORD, NT_LINK_OPTION_LINK_TARGET, NT_LINK_OPTION_RESIZE, NT_LINK_OPTIONS, NT_LINK_TITLE, NT_LIST_ITEM, NT_MW_NODE_BITS, NT_NAME, NT_NEWLINE, NT_ONLY_INCLUDE, NT_ORDERED_LIST, NT_PAGE_NAME, NT_PAGE_SWITCH, NT_PARAGRAPH, NT_PARSED_WIKITEXT_PAGE, NT_PARSER_BITS, NT_PREPRO_WIKITEXT_PAGE, NT_PREPROC_BITS, NT_REDIRECT, NT_SECTION, NT_SEMI_PRE, NT_SEMI_PRE_LINE, NT_SIGNATURE, NT_SPACES, NT_TABLE, NT_TABLE_CAPTION, NT_TABLE_CELL, NT_TABLE_HEADER, NT_TABLE_IMPLICIT_TBODY, NT_TABLE_ROW, NT_TAG_EXTENSION, NT_TAG_EXTENSION_BODY, NT_TEMPLATE, NT_TEMPLATE_ARGUMENT, NT_TEMPLATE_ARGUMENTS, NT_TEMPLATE_PARAMETER, NT_TICKS, NT_UNORDERED_LIST, NT_URL, NT_VALUE, NT_WHITESPACE, NT_XML_ATTRIBUTE, NT_XML_ATTRIBUTE_GARBAGE, NT_XML_ATTRIBUTES, NT_XML_CHAR_REF, NT_XML_COMMENT, NT_XML_ELEMENT, NT_XML_EMPTY_TAG, NT_XML_END_TAG, NT_XML_ENTITY_REF, NT_XML_START_TAG| Constructor and Description |
|---|
WtEmptyImmutableNode() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
WtNode element) |
boolean |
add(WtNode e) |
boolean |
addAll(Collection<? extends WtNode> c) |
boolean |
addAll(int index,
Collection<? extends WtNode> c) |
boolean |
addAll(xtc.util.Pair<? extends WtNode> p) |
void |
clear() |
void |
clearAttributes() |
void |
clearRtd() |
Object |
clone() |
de.fau.cs.osr.ptk.common.ast.AstNode<WtNode> |
cloneWrapException() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
de.fau.cs.osr.ptk.common.ast.AstNode<WtNode> |
deepClone() |
de.fau.cs.osr.ptk.common.ast.AstNode<WtNode> |
deepCloneWrapException() |
boolean |
equals(Object obj) |
protected String |
genMsg() |
WtNode |
get(int index) |
<S extends WtNode> |
get(int index,
Class<S> clazz) |
Object |
getAttribute(String name) |
Map<String,Object> |
getAttributes() |
boolean |
getBooleanAttribute(String name) |
String[] |
getChildNames() |
int |
getIntAttribute(String name) |
xtc.tree.Location |
getLocation() |
de.fau.cs.osr.ptk.common.ast.AstLocation |
getNativeLocation() |
abstract String |
getNodeName() |
abstract int |
getNodeType() |
String |
getNodeTypeName() |
Object |
getProperty(String name) |
Object |
getProperty(String name,
Object default_) |
int |
getPropertyCount() |
WtRtData |
getRtd() |
String |
getStringAttribute(String name) |
boolean |
hasAttribute(String name) |
boolean |
hasAttributes() |
boolean |
hasLocation() |
boolean |
hasProperties() |
boolean |
hasProperty(String name) |
int |
indexOf(Object o) |
abstract boolean |
indicatesAbsence() |
boolean |
isEmpty() |
boolean |
isList() |
boolean |
isNodeType(int testType) |
Iterator<WtNode> |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator<WtNode> |
listIterator() |
ListIterator<WtNode> |
listIterator(int index) |
de.fau.cs.osr.ptk.common.ast.AstNodePropertyIterator |
propertyIterator() |
WtNode |
remove(int index) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
Object |
removeAttribute(String name) |
boolean |
retainAll(Collection<?> c) |
WtNode |
set(int index,
WtNode element) |
Object |
setAttribute(String name,
Object value) |
void |
setAttributes(Map<String,Object> attrs) |
boolean |
setBooleanAttribute(String name,
boolean value) |
Integer |
setIntAttribute(String name,
Integer value) |
void |
setLocation(xtc.tree.Locatable locatable) |
void |
setLocation(xtc.tree.Location location) |
void |
setNativeLocation(de.fau.cs.osr.ptk.common.ast.AstLocation location) |
Object |
setProperty(String name,
Object value) |
void |
setRtd(Object... glue) |
void |
setRtd(String... glue) |
void |
setRtd(WtRtData rtd) |
String |
setStringAttribute(String name,
String value) |
int |
size() |
List<WtNode> |
subList(int fromIndex,
int toIndex) |
void |
suppressRtd() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
String |
toString() |
void |
toString(Appendable out) |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, waithashCode, replaceAll, sort, spliteratorparallelStream, removeIf, streampublic abstract boolean indicatesAbsence()
public void suppressRtd()
suppressRtd in interface WtNodeprotected String genMsg()
public boolean hasLocation()
hasLocation in interface xtc.tree.Locatablepublic xtc.tree.Location getLocation()
getLocation in interface xtc.tree.Locatablepublic void setLocation(xtc.tree.Location location)
setLocation in interface xtc.tree.Locatablepublic void setLocation(xtc.tree.Locatable locatable)
setLocation in interface xtc.tree.Locatablepublic boolean hasAttributes()
hasAttributes in interface de.fau.cs.osr.ptk.common.ast.AstNodeAttributeInterfacepublic Map<String,Object> getAttributes()
getAttributes in interface de.fau.cs.osr.ptk.common.ast.AstNodeAttributeInterfacepublic void setAttributes(Map<String,Object> attrs)
setAttributes in interface de.fau.cs.osr.ptk.common.ast.AstNodeAttributeInterfacepublic void clearAttributes()
clearAttributes in interface de.fau.cs.osr.ptk.common.ast.AstNodeAttributeInterfacepublic boolean hasAttribute(String name)
hasAttribute in interface de.fau.cs.osr.ptk.common.ast.AstNodeAttributeInterfacepublic Object getAttribute(String name)
getAttribute in interface de.fau.cs.osr.ptk.common.ast.AstNodeAttributeInterfacepublic Object setAttribute(String name, Object value)
setAttribute in interface de.fau.cs.osr.ptk.common.ast.AstNodeAttributeInterfacepublic Object removeAttribute(String name)
removeAttribute in interface de.fau.cs.osr.ptk.common.ast.AstNodeAttributeInterfacepublic int getIntAttribute(String name)
getIntAttribute in interface de.fau.cs.osr.ptk.common.ast.AstNodeAttributeInterfacepublic Integer setIntAttribute(String name, Integer value)
setIntAttribute in interface de.fau.cs.osr.ptk.common.ast.AstNodeAttributeInterfacepublic boolean getBooleanAttribute(String name)
getBooleanAttribute in interface de.fau.cs.osr.ptk.common.ast.AstNodeAttributeInterfacepublic boolean setBooleanAttribute(String name, boolean value)
setBooleanAttribute in interface de.fau.cs.osr.ptk.common.ast.AstNodeAttributeInterfacepublic String getStringAttribute(String name)
getStringAttribute in interface de.fau.cs.osr.ptk.common.ast.AstNodeAttributeInterfacepublic String setStringAttribute(String name, String value)
setStringAttribute in interface de.fau.cs.osr.ptk.common.ast.AstNodeAttributeInterfacepublic boolean hasProperties()
hasProperties in interface de.fau.cs.osr.ptk.common.ast.AstNodePropertyInterfacepublic int getPropertyCount()
getPropertyCount in interface de.fau.cs.osr.ptk.common.ast.AstNodePropertyInterfacepublic Object getProperty(String name)
getProperty in interface de.fau.cs.osr.ptk.common.ast.AstNodePropertyInterfacepublic Object getProperty(String name, Object default_)
getProperty in interface de.fau.cs.osr.ptk.common.ast.AstNodePropertyInterfacepublic boolean hasProperty(String name)
hasProperty in interface de.fau.cs.osr.ptk.common.ast.AstNodePropertyInterfacepublic Object setProperty(String name, Object value)
setProperty in interface de.fau.cs.osr.ptk.common.ast.AstNodePropertyInterfacepublic de.fau.cs.osr.ptk.common.ast.AstNodePropertyIterator propertyIterator()
propertyIterator in interface de.fau.cs.osr.ptk.common.ast.AstNodePropertyInterfacepublic abstract int getNodeType()
getNodeType in interface de.fau.cs.osr.ptk.common.ast.AstNode<WtNode>public boolean isNodeType(int testType)
isNodeType in interface de.fau.cs.osr.ptk.common.ast.AstNode<WtNode>public final String getNodeTypeName()
getNodeTypeName in interface de.fau.cs.osr.ptk.common.ast.AstNode<WtNode>public abstract String getNodeName()
getNodeName in interface de.fau.cs.osr.ptk.common.ast.AstNode<WtNode>public de.fau.cs.osr.ptk.common.ast.AstLocation getNativeLocation()
getNativeLocation in interface de.fau.cs.osr.ptk.common.ast.AstNode<WtNode>public void setNativeLocation(de.fau.cs.osr.ptk.common.ast.AstLocation location)
setNativeLocation in interface de.fau.cs.osr.ptk.common.ast.AstNode<WtNode>public boolean addAll(xtc.util.Pair<? extends WtNode> p)
addAll in interface de.fau.cs.osr.ptk.common.ast.AstNode<WtNode>public boolean isList()
isList in interface de.fau.cs.osr.ptk.common.ast.AstNode<WtNode>public String[] getChildNames()
getChildNames in interface de.fau.cs.osr.ptk.common.ast.AstNode<WtNode>public void toString(Appendable out) throws IOException
toString in interface de.fau.cs.osr.ptk.common.ast.AstNode<WtNode>IOExceptionpublic Object clone() throws CloneNotSupportedException
clone in interface de.fau.cs.osr.ptk.common.ast.AstNode<WtNode>clone in class ObjectCloneNotSupportedExceptionpublic de.fau.cs.osr.ptk.common.ast.AstNode<WtNode> cloneWrapException()
cloneWrapException in interface de.fau.cs.osr.ptk.common.ast.AstNode<WtNode>public de.fau.cs.osr.ptk.common.ast.AstNode<WtNode> deepClone() throws CloneNotSupportedException
deepClone in interface de.fau.cs.osr.ptk.common.ast.AstNode<WtNode>CloneNotSupportedExceptionpublic de.fau.cs.osr.ptk.common.ast.AstNode<WtNode> deepCloneWrapException()
deepCloneWrapException in interface de.fau.cs.osr.ptk.common.ast.AstNode<WtNode>public boolean add(WtNode e)
public boolean addAll(Collection<? extends WtNode> c)
public boolean addAll(int index,
Collection<? extends WtNode> c)
public void clear()
public boolean contains(Object o)
public boolean containsAll(Collection<?> c)
containsAll in interface Collection<WtNode>containsAll in interface List<WtNode>public <S extends WtNode> S get(int index, Class<S> clazz)
get in interface de.fau.cs.osr.ptk.common.ast.AstNode<WtNode>public boolean isEmpty()
public int lastIndexOf(Object o)
lastIndexOf in interface List<WtNode>public ListIterator<WtNode> listIterator()
listIterator in interface List<WtNode>public ListIterator<WtNode> listIterator(int index)
listIterator in interface List<WtNode>public boolean remove(Object o)
public boolean removeAll(Collection<?> c)
public boolean retainAll(Collection<?> c)
public int size()
public Object[] toArray()
public <T> T[] toArray(T[] a)
Copyright © 2010–2017 University of Erlangen-Nürnberg - Open Source Research Group. All rights reserved.