edu.ucla.belief.io.xmlbif
Enum XmlbifWriter.Element

Object
  extended by Enum<XmlbifWriter.Element>
      extended by XmlbifWriter.Element
All Implemented Interfaces:
Serializable, Comparable<XmlbifWriter.Element>
Enclosing class:
XmlbifWriter

public static enum XmlbifWriter.Element
extends Enum<XmlbifWriter.Element>


Enum Constant Summary
BIF
           
DEFINITION
           
FOR
           
GIVEN
           
NAME
           
NETWORK
           
OBSERVED
           
OUTCOME
           
PROPERTY
           
TABLE
           
VARIABLE
           
 
Method Summary
 void close(PrintStream out)
           
 void close(PrintStream out, boolean indent)
           
 void escape(String text, PrintStream out)
          see http://www.w3schools.com/xml/xml_cdata.asp see http://www.w3.org/TR/html4/types.html
 void open(PrintStream out)
           
 void setOpenAttr(String open)
           
static XmlbifWriter.Element valueOf(String name)
          Returns the enum constant of this type with the specified name.
static XmlbifWriter.Element[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 void write(String value, PrintStream out)
           
 
Methods inherited from class Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BIF

public static final XmlbifWriter.Element BIF

NETWORK

public static final XmlbifWriter.Element NETWORK

VARIABLE

public static final XmlbifWriter.Element VARIABLE

NAME

public static final XmlbifWriter.Element NAME

OUTCOME

public static final XmlbifWriter.Element OUTCOME

OBSERVED

public static final XmlbifWriter.Element OBSERVED

PROPERTY

public static final XmlbifWriter.Element PROPERTY

DEFINITION

public static final XmlbifWriter.Element DEFINITION

FOR

public static final XmlbifWriter.Element FOR

GIVEN

public static final XmlbifWriter.Element GIVEN

TABLE

public static final XmlbifWriter.Element TABLE
Method Detail

values

public static XmlbifWriter.Element[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (XmlbifWriter.Element c : XmlbifWriter.Element.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static XmlbifWriter.Element valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

open

public void open(PrintStream out)

close

public void close(PrintStream out)

close

public void close(PrintStream out,
                  boolean indent)

write

public void write(String value,
                  PrintStream out)

setOpenAttr

public void setOpenAttr(String open)

escape

public void escape(String text,
                   PrintStream out)
see http://www.w3schools.com/xml/xml_cdata.asp see http://www.w3.org/TR/html4/types.html

Since:
20060615


Copyright 2010 UCLA Automated Reasoning Group