public class RtData extends Object implements Serializable, Cloneable
| Modifier and Type | Class and Description |
|---|---|
protected static class |
RtData.RtDataSuppressSingleton |
| Modifier and Type | Field and Description |
|---|---|
static String |
SEP |
static RtData |
SUPPRESS |
| Modifier | Constructor and Description |
|---|---|
protected |
RtData()
Constructor for SUPPRESS singleton.
|
|
RtData(AstNode<?> node)
Instantiates an RtData object and initializes its size to match that of
the given AstNodeInterface>.
|
|
RtData(AstNode<?> node,
Object... glue)
Instantiates an RtData object, initializes its size to match that of the
given AstNodeInterface> and immediately fills it with glue information.
|
|
RtData(AstNode<?> node,
String... glue)
Instantiates an RtData object, initializes its size to match that of the
given AstNodeInterface> and immediately fills it with glue information.
|
|
RtData(int size)
Instantiates an empty RtData object with the given size.
|
|
RtData(int size,
Object... glue)
Instantiates an RtData object with the given size and immediately fills
it with glue information.
|
|
RtData(int size,
String... glue)
Instantiates an RtData object with the given size and immediately fills
it with glue information.
|
protected |
RtData(RtData rtData) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addNodeOrObject(ArrayList<Object> result,
Object o) |
protected void |
addObject(ArrayList<Object> result,
Object o) |
void |
append(Object... glue) |
Object |
clone() |
RtData |
cloneWrapException() |
boolean |
equals(Object obj) |
Object[] |
getField(int index)
Returns the glue field that can be found between two child nodes or in
front of the first or after the last child node.
|
Object[][] |
getFields() |
int |
hashCode() |
boolean |
isStringOnly(int index) |
boolean |
isSuppress() |
void |
prepend(Object... glue) |
void |
prepend(String text) |
protected static void |
rtAddString(ArrayList<Object> result,
String text) |
void |
set(Object... glue) |
void |
set(String... glue) |
void |
setField(int field,
Object... glue) |
void |
setField(int field,
String... glue) |
void |
setField(int field,
String glue) |
int |
size() |
protected void |
stringRep(StringBuilder sb,
Object o) |
protected void |
stringRep(StringBuilder sb,
String str) |
String |
toString() |
String |
toString(int index)
Converts a glue field to a string.
|
protected void |
toString(int index,
StringBuilder sb) |
protected RtData()
public RtData(AstNode<?> node)
public RtData(int size)
public RtData(AstNode<?> node, Object... glue)
public RtData(int size,
Object... glue)
public RtData(AstNode<?> node, String... glue)
public RtData(int size,
String... glue)
protected RtData(RtData rtData)
public void set(Object... glue)
public void set(String... glue)
public void setField(int field,
Object... glue)
public void setField(int field,
String... glue)
public void setField(int field,
String glue)
public boolean isSuppress()
public int size()
public Object[][] getFields()
public Object[] getField(int index)
public String toString(int index)
public boolean isStringOnly(int index)
protected void toString(int index,
StringBuilder sb)
protected void stringRep(StringBuilder sb, Object o)
protected void stringRep(StringBuilder sb, String str)
public void prepend(Object... glue)
public void append(Object... glue)
public void prepend(String text)
public Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic RtData cloneWrapException()
Copyright © 2009–2017 University of Erlangen-Nürnberg - Open Source Research Group. All rights reserved.