com.servingxml.util.record
Class AbstractRecord

java.lang.Object
  extended by com.servingxml.util.record.AbstractRecord
All Implemented Interfaces:
Record
Direct Known Subclasses:
RecordBuilder, RecordImpl

public abstract class AbstractRecord
extends java.lang.Object
implements Record

A RecordImpl class represents a set of record.


Field Summary
 
Fields inherited from interface com.servingxml.util.record.Record
EMPTY, EMPTY_ARRAY, EMPTY_RECORD_TYPE_NAME
 
Constructor Summary
AbstractRecord()
           
 
Method Summary
 org.xml.sax.XMLReader createXmlReader(PrefixMap prefixMap)
          Gets an XMLReader representation of the record.
 java.lang.String toString()
          Returns a string XML representation of the record, primarily for debugging purposes.
 java.lang.String toXmlString(PrefixMap prefixMap)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.servingxml.util.record.Record
fieldCount, getFieldName, getObject, getRecordType, getString, getStringArray, getValue, getValue, writeToContentHandler
 

Constructor Detail

AbstractRecord

public AbstractRecord()
Method Detail

toString

public java.lang.String toString()
Returns a string XML representation of the record, primarily for debugging purposes.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of the record.

toXmlString

public java.lang.String toXmlString(PrefixMap prefixMap)
Specified by:
toXmlString in interface Record

createXmlReader

public org.xml.sax.XMLReader createXmlReader(PrefixMap prefixMap)
Description copied from interface: Record
Gets an XMLReader representation of the record.

Specified by:
createXmlReader in interface Record
Returns:
An XMLReader representation of the record.