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
-
SOIFObject()
- Build a new SOIF object
-
SOIFObject(InputStream)
- Build a new SOIF object from an input stream
-
SOIFObject(String)
-
-
GetAttributeNames()
- Return a string array of the attribute names in this SOIF
-
GetAttributeValue(String)
- Return the value of a specified attribute in this SOIF
-
GetNumAttributes()
- Return a count of the number of attributes in this SOIF
-
GetTemplateType()
- Return the template type of this SOIF object.
-
GetURL()
- Return the URL of this SOIF object
-
SetAttributeValue(String, String)
- Set an attribute/value pair for this SOIF
-
SOIFClose()
- Return the SOIF close symbol (the brace)
-
SOIFToBuffer(boolean)
- Return a StringBuffer which is a marshalled version of this SOIF
-
UnparseSOIFElement(String, String)
- Turn a attribute/value pair into a strintg.
SOIFObject
public SOIFObject()
- Build a new SOIF object
SOIFObject
public SOIFObject(String templateType)
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.
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
GetNumAttributes
public int GetNumAttributes()
- Return a count of the number of attributes in this SOIF
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.
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.
GetTemplateType
public String GetTemplateType()
- Return the template type of this SOIF object.
GetURL
public URL GetURL()
- Return the URL of this SOIF object
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).
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.
SOIFClose
public String SOIFClose()
- Return the SOIF close symbol (the brace)
All Packages Class Hierarchy This Package Previous Next Index