MIFFile, RefElementpublic class MIFElement
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
protected boolean |
finish |
true if finishing
|
protected boolean |
finished |
true if finished
|
protected java.lang.String |
name |
name
|
protected boolean |
started |
true if started
|
protected java.util.List |
valueElements |
value elements
|
protected java.lang.String |
valueStr |
value string
|
| Constructor | Description |
|---|---|
MIFElement(java.lang.String name) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addElement(MIFElement el) |
|
void |
finish(boolean deep) |
|
boolean |
output(java.io.OutputStream os,
int indent) |
Output this element to an output stream.
|
void |
setValue(java.lang.String str) |
protected java.lang.String name
protected java.lang.String valueStr
protected java.util.List valueElements
protected boolean started
protected boolean finish
protected boolean finished
public void setValue(java.lang.String str)
str - a string valuepublic void addElement(MIFElement el)
el - an MIF elementpublic boolean output(java.io.OutputStream os,
int indent)
throws java.io.IOException
os - output streamindent - indentationjava.io.IOException - if not caughtpublic void finish(boolean deep)
deep - if true, also perform finish over value elementsCopyright 1999-2016 The Apache Software Foundation. All Rights Reserved.