|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.servingxml.app.ServingXmlParameters
public class ServingXmlParameters
A Record class represents a set of fields.
| Field Summary |
|---|
| Fields inherited from interface com.servingxml.util.record.Record |
|---|
EMPTY, EMPTY_ARRAY, EMPTY_RECORD_TYPE_NAME |
| Constructor Summary | |
|---|---|
ServingXmlParameters(Record tail)
|
|
| Method Summary | |
|---|---|
org.xml.sax.XMLReader |
createXmlReader(PrefixMap prefixMap)
Gets an XMLReader representation of the record. |
int |
fieldCount()
|
Name |
getFieldName(int i)
|
java.lang.Object |
getObject(Name name)
Gets the value of a field as a Java object. |
RecordType |
getRecordType()
|
java.lang.String |
getString(Name name)
Gets the value of a field as a string. |
java.lang.String[] |
getStringArray(Name name)
Gets the value of a field as a string array. |
Value |
getValue(int index)
Gets the value of a field at the specified index. |
Value |
getValue(Name name)
Gets the value of a field with the specified name. |
java.lang.String |
toXmlString(PrefixMap prefixMap)
|
void |
writeToContentHandler(PrefixMap prefixMap,
org.xml.sax.ContentHandler handler)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServingXmlParameters(Record tail)
| Method Detail |
|---|
public RecordType getRecordType()
getRecordType in interface Recordpublic int fieldCount()
fieldCount in interface Recordpublic Name getFieldName(int i)
getFieldName in interface Recordpublic java.lang.String getString(Name name)
getString in interface Recordname - The field name.
public java.lang.String[] getStringArray(Name name)
getStringArray in interface Recordname - The field name.
public Value getValue(Name name)
getValue in interface Recordname - The field name.
public Value getValue(int index)
getValue in interface Recordindex - the index of the field.
public org.xml.sax.XMLReader createXmlReader(PrefixMap prefixMap)
XMLReader representation of the record.
createXmlReader in interface RecordXMLReader representation of the record.public java.lang.Object getObject(Name name)
getObject in interface Recordname - The field name.
public java.lang.String toXmlString(PrefixMap prefixMap)
toXmlString in interface Record
public void writeToContentHandler(PrefixMap prefixMap,
org.xml.sax.ContentHandler handler)
throws org.xml.sax.SAXException
writeToContentHandler in interface Recordorg.xml.sax.SAXException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||