|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Record
A Record
class represents a set of fields.
Field Summary | |
---|---|
static Record |
EMPTY
|
static Record[] |
EMPTY_ARRAY
|
static Name |
EMPTY_RECORD_TYPE_NAME
|
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)
|
Field Detail |
---|
static final Name EMPTY_RECORD_TYPE_NAME
static final Record EMPTY
static final Record[] EMPTY_ARRAY
Method Detail |
---|
RecordType getRecordType()
int fieldCount()
Name getFieldName(int i)
java.lang.String getString(Name name)
name
- The field name.
java.lang.String[] getStringArray(Name name)
name
- The field name.
Value getValue(Name name)
name
- The field name.
Value getValue(int index)
index
- the index of the field.
org.xml.sax.XMLReader createXmlReader(PrefixMap prefixMap)
XMLReader
representation of the record.
XMLReader
representation of the record.java.lang.Object getObject(Name name)
name
- The field name.
java.lang.String toXmlString(PrefixMap prefixMap)
void writeToContentHandler(PrefixMap prefixMap, org.xml.sax.ContentHandler handler) throws org.xml.sax.SAXException
org.xml.sax.SAXException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |