| org.griphyn.vdl.dax.DAX org.griphyn.vdl.dax.Leaf
All known Subclasses: org.griphyn.vdl.dax.PseudoText, org.griphyn.vdl.dax.Filename,
Leaf | abstract public class Leaf extends DAX implements Cloneable(Code) | | Leaf is an abstract base class for leaf nodes in the
instance tree.
author: Jens-S. Vöckler author: Yong Zhao version: $Revision: 50 $ See Also: PseudoText See Also: Filename |
Method Summary | |
abstract public Object | clone() Creates and returns a copy of this object. | public String | shortXML(String indent, String namespace, int flag) Dumps the state of the filename as PlainFilenameType without the
transiency information. | public void | shortXML(Writer stream, String indent, String namespace, int flag) Dumps the state of the filename as PlainFilenameType without the
transiency information. |
clone | abstract public Object clone()(Code) | | Creates and returns a copy of this object.
a new instance. |
shortXML | public String shortXML(String indent, String namespace, int flag)(Code) | | Dumps the state of the filename as PlainFilenameType without the
transiency information. Other leaves will use their regular toXML
method.
Parameters: indent - is a String of spaces used for prettyprinting. The initial amount of spaces should be an empty string.The parameter is used internally for the recursive traversal. Parameters: namespace - is the XML schema namespace prefix. If neitherempty nor null, each element will be prefixed with this prefix,and the root element will map the XML namespace. Parameters: flag - if bit#0 is set, also dump the linkage information,otherwise do not dump linkage information. If bit#1 is set, also dump optionality for true optional files. Unused in base class. a String which contains the state of the current classand its siblings using XML. Note that these strings might become large. See Also: Leaf.toXML(String,String) |
shortXML | public void shortXML(Writer stream, String indent, String namespace, int flag) throws IOException(Code) | | Dumps the state of the filename as PlainFilenameType without the
transiency information. Other leaves will use their regular toXML
method.
Parameters: stream - is a stream opened and ready for writing. This can alsobe a string stream for efficient output. Parameters: indent - is a String of spaces used for prettyprinting. The initial amount of spaces should be an empty string.The parameter is used internally for the recursive traversal. Parameters: namespace - is the XML schema namespace prefix. If neitherempty nor null, each element will be prefixed with this prefix,and the root element will map the XML namespace. Parameters: flag - if bit#0 is set, also dump the linkage information,otherwise do not dump linkage information. If bit#1 is set, also dump optionality for true optional files. Unused in base class. exception: IOException - if something fishy happens to the stream. See Also: Leaf.toXML(Writer,String,String) |
|
|