Class soif.SOIFObject
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class soif.SOIFObject

java.lang.Object
   |
   +----soif.SOIFObject

public class SOIFObject
extends Object
A set of data encapsulated in a SOIF

Constructor Index

 o SOIFObject()
Build a new SOIF object
 o SOIFObject(InputStream)
Build a new SOIF object from an input stream
 o SOIFObject(String)

Method Index

 o GetAttributeNames()
Return a string array of the attribute names in this SOIF
 o GetAttributeValue(String)
Return the value of a specified attribute in this SOIF
 o GetNumAttributes()
Return a count of the number of attributes in this SOIF
 o GetTemplateType()
Return the template type of this SOIF object.
 o GetURL()
Return the URL of this SOIF object
 o SetAttributeValue(String, String)
Set an attribute/value pair for this SOIF
 o SOIFClose()
Return the SOIF close symbol (the brace)
 o SOIFToBuffer(boolean)
Return a StringBuffer which is a marshalled version of this SOIF
 o UnparseSOIFElement(String, String)
Turn a attribute/value pair into a strintg.

Constructors

 o SOIFObject
  public SOIFObject()
Build a new SOIF object
 o SOIFObject
  public SOIFObject(String templateType)
 o SOIFObject
  public SOIFObject(InputStream soifInput) throws SOIFException
Build a new SOIF object from an input stream
Parameters:
soifInput - input stream from which the SOIF should be built.

Methods

 o GetAttributeNames
  public String[] GetAttributeNames()
Return a string array of the attribute names in this SOIF
Returns:
An array of String that are the attribute (property) names for the SOIF instance
 o GetNumAttributes
  public int GetNumAttributes()
Return a count of the number of attributes in this SOIF
 o GetAttributeValue
  public String GetAttributeValue(String attribute)
Return the value of a specified attribute in this SOIF
Parameters:
attribute - name of the attribute to get the value of.
 o SetAttributeValue
  public void SetAttributeValue(String attribute,
                                String value)
Set an attribute/value pair for this SOIF
Parameters:
attribute - name of the attribute to set.
value - value to set the attribute to.
 o GetTemplateType
  public String GetTemplateType()
Return the template type of this SOIF object.
 o GetURL
  public URL GetURL()
Return the URL of this SOIF object
 o SOIFToBuffer
  public StringBuffer SOIFToBuffer(boolean close)
Return a StringBuffer which is a marshalled version of this SOIF
Parameters:
close - A boolean value determining whether the soif should be closed (I.E. whether the closing brace should be appended to the soif).
 o UnparseSOIFElement
  public static String UnparseSOIFElement(String attribute,
                                          String value)
Turn a attribute/value pair into a strintg.
Parameters:
attribute - The attribute
value - The attribute's value.
 o SOIFClose
  public String SOIFClose()
Return the SOIF close symbol (the brace)

All Packages  Class Hierarchy  This Package  Previous  Next  Index