org.apache.fop.render.mif
Class MIFElement
java.lang.Object
org.apache.fop.render.mif.MIFElement
public class MIFElement
extends java.lang.Object
The is the basis for MIF document elements.
This enables the creation of the element and to write it
to an output stream including sub-elements or a single value.
finish
protected boolean finish
finished
protected boolean finished
name
protected String name
started
protected boolean started
valueElements
protected List valueElements
valueStr
protected String valueStr
MIFElement
public MIFElement(String n)
finish
public void finish(boolean deep)
output
public boolean output(OutputStream os,
int indent)
throws IOException
Output this element to an output stream.
This will output only so far as the fisrt unfinished child element.
This method can be called again to continue from the previous point.
An element that contains child elements will only be finished when
the finish method is called.
setValue
public void setValue(String str)
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.