|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.oreodata.metadata.JoinMetadata
An implementation of the RecordDescriptor interface. This class knows how to instantiate itself from a DOM Element
| Constructor Summary | |
JoinMetadata()
|
|
| Method Summary | |
XMLRecordHandler |
createSAXHandler(HierarchicalHandler parent,
Record rec,
boolean recurse)
Create a SAX Handler that fills in a record based on SAX events. |
XMLRecordHandler |
createSAXHandler(org.xml.sax.XMLReader parser,
Record rec,
boolean recurse)
Create a SAX Handler that fills in a record based on SAX events. |
FieldDescriptor |
getField(int i)
|
FieldDescriptor |
getField(java.lang.String name)
|
java.util.Enumeration |
getFieldDescriptors()
|
java.lang.Class |
getPresentationWrapperClass()
|
FieldDescriptor |
getPrimaryKeyField()
|
java.lang.String |
getProperty(java.lang.String propertyName)
a hook so that implementors can add other properties |
java.lang.Class |
getRecordClass()
|
java.lang.String |
getTableName()
|
java.lang.String |
getType()
|
boolean |
hasExternallySetValues()
|
int |
indexOf(java.lang.String fieldname)
|
protected void |
init(org.w3c.dom.Element element,
java.util.Map recordData,
java.lang.ClassLoader cloader)
fill in internal state from a DOM element |
Record |
newRecord()
|
protected void |
processPresentationWrapper(org.w3c.dom.Element element,
java.lang.ClassLoader cloader)
|
protected void |
processProperties(org.w3c.dom.Element element)
|
int |
size()
The number of fields in the record. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JoinMetadata()
| Method Detail |
public FieldDescriptor getField(java.lang.String name)
getField in interface RecordDescriptorpublic FieldDescriptor getField(int i)
getField in interface RecordDescriptorpublic java.util.Enumeration getFieldDescriptors()
getFieldDescriptors in interface RecordDescriptor
protected void init(org.w3c.dom.Element element,
java.util.Map recordData,
java.lang.ClassLoader cloader)
throws org.xml.sax.SAXException
element - A W3C DOM API object that represents
the XML fragment that we are processing.recordData - a dictionary of metadata objects that have
been processed so far.cloader - The servlet classloader if it is available, or null
org.xml.sax.SAXException - This implies that there is something invalid
in the XML.
protected void processPresentationWrapper(org.w3c.dom.Element element,
java.lang.ClassLoader cloader)
throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected void processProperties(org.w3c.dom.Element element)
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic int size()
RecordDescriptor
size in interface RecordDescriptorpublic int indexOf(java.lang.String fieldname)
indexOf in interface RecordDescriptorfieldname - the name of the field or an alias
public java.lang.Class getPresentationWrapperClass()
getPresentationWrapperClass in interface RecordDescriptorpublic FieldDescriptor getPrimaryKeyField()
getPrimaryKeyField in interface RecordDescriptorpublic java.lang.Class getRecordClass()
getRecordClass in interface RecordDescriptorpublic Record newRecord()
newRecord in interface RecordDescriptorpublic java.lang.String getType()
getType in interface RecordDescriptorpublic java.lang.String getTableName()
getTableName in interface RecordDescriptor
public XMLRecordHandler createSAXHandler(org.xml.sax.XMLReader parser,
Record rec,
boolean recurse)
RecordDescriptor
createSAXHandler in interface RecordDescriptor
public XMLRecordHandler createSAXHandler(HierarchicalHandler parent,
Record rec,
boolean recurse)
RecordDescriptor
createSAXHandler in interface RecordDescriptorpublic java.lang.String getProperty(java.lang.String propertyName)
RecordDescriptor
getProperty in interface RecordDescriptorpublic boolean hasExternallySetValues()
hasExternallySetValues in interface RecordDescriptor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||