|
Oracle Application Development Framework Model and Business Components Java API Reference
10g Release 3 (10.1.3) B16005-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.jbo.mom.xml.ElementDefWriter
| Field Summary | |
protected Element |
_element |
| Constructor Summary | |
ElementDefWriter(Element element) |
|
| Method Summary | |
void |
commit()This method Commits the transaction. |
Element |
getElement() |
void |
rollback()This method rolls back the transaction. |
boolean |
writeBoolean(java.lang.String attrName, boolean value)This method writes an attribute of type boolean |
boolean |
writeByte(java.lang.String attrName, byte value)This method writes an attribute of type byte |
boolean |
writeChar(java.lang.String attrName, char value)This method writes an attribute of type char |
boolean |
writeDouble(java.lang.String attrName, double value)This method writes an attribute of type double |
boolean |
writeFloat(java.lang.String attrName, float value)This method writes an attribute of type float |
boolean |
writeInt(java.lang.String attrName, int value)This method writes an attribute of type int |
boolean |
writeLong(java.lang.String attrName, long value)This method writes an attribute of type long |
void |
writeObject(DefPersistable value)This method writes a persistable object including its children to the output stream |
void |
writeObject(PersistentDefinition jtpObject)This method writes a persistable object including its children to the output stream |
boolean |
writeObject(java.lang.String attrName, java.lang.Object value)This method writes an attribute of type object |
boolean |
writeShort(java.lang.String attrName, short value)This method writes an attribute of type short |
boolean |
writeString(java.lang.String attrName, java.lang.String value)This method writes an attribute of type String |
boolean |
writeStringArray(java.lang.String attrName, java.util.Enumeration value)This method writes an attribute of type String |
boolean |
writeStringArray(java.lang.String attrName, com.sun.java.util.collections.Iterator value)This method writes an attribute of type String |
boolean |
writeStringArrayElement(java.lang.String attrName, com.sun.java.util.collections.Iterator value)This method writes an attribute of type String |
boolean |
writeTable(DefPersistable jtpObject, java.lang.String attrName, com.sun.java.util.collections.HashMap value)This method writes an attribute of type ArrayList |
boolean |
writeTable(DefPersistable jtpObject, java.lang.String attrName, java.util.Hashtable value)This method writes an attribute of type Hashtable |
boolean |
writeTable(DefPersistable jtpObject, java.lang.String attrName, java.lang.String elementName, java.lang.String name, java.lang.String sValue, com.sun.java.util.collections.HashMap table)This method writes an attribute of type Hashtable |
boolean |
writeTable(DefPersistable jtpObject, java.lang.String attrName, java.lang.String elementName, java.lang.String name, java.lang.String value, java.util.Hashtable table)This method writes an attribute of type Hashtable |
void |
writeUserObject(java.lang.String elementName, java.lang.String value) |
boolean |
writeUserString(java.lang.String attrName, java.lang.String value)This method writes an attribute of type String This method writes the String as it is. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Element _element
| Constructor Detail |
public ElementDefWriter(Element element)
| Method Detail |
public void writeObject(DefPersistable value)
throws DefPersistenceException
DefWriterwriteObject in interface DefWritervalue - the DefPersistable object to writeDefPersistenceException
public void writeUserObject(java.lang.String elementName,
java.lang.String value)
throws DefPersistenceException
writeUserObject in interface DefWriterDefPersistenceException
public boolean writeObject(java.lang.String attrName,
java.lang.Object value)
DefWriterwriteObject in interface DefWriterattrName - the name of the Attribute to readvalue - Value of the Attribute
public boolean writeTable(DefPersistable jtpObject,
java.lang.String attrName,
com.sun.java.util.collections.HashMap value)
DefWriterwriteTable in interface DefWriterjtpObject - the object holding this AttributeattrName - the name of the Attribute to writtenvalue - the value of the Attribute
public boolean writeTable(DefPersistable jtpObject,
java.lang.String attrName,
java.util.Hashtable value)
DefWriterwriteTable in interface DefWriterjtpObject - the object holding this AttributeattrName - the name of the Attribute to writtenvalue - the value of the Attribute
public boolean writeTable(DefPersistable jtpObject,
java.lang.String attrName,
java.lang.String elementName,
java.lang.String name,
java.lang.String sValue,
com.sun.java.util.collections.HashMap table)
DefWriterwriteTable in interface DefWriterjtpObject - the object holding this AttributeattrName - the name of the Attribute to writtenelementName - the value of the name of the attribute.name - the value of the label of the attribute namesValue - the value of the label for the attribute valuetable - the value of the Attribute
public boolean writeTable(DefPersistable jtpObject,
java.lang.String attrName,
java.lang.String elementName,
java.lang.String name,
java.lang.String value,
java.util.Hashtable table)
DefWriterwriteTable in interface DefWriterjtpObject - the object holding this AttributeattrName - the name of the Attribute to writtenelementName - the value of the name of the attribute.name - the value of the label of the attribute namevalue - the value of the label for the attribute valuetable - the value of the Attribute
public boolean writeString(java.lang.String attrName,
java.lang.String value)
DefWriterwriteString in interface DefWriterattrName - the name of the Attribute to readvalue - Value of the Attribute
public boolean writeUserString(java.lang.String attrName,
java.lang.String value)
DefWriterwriteUserString in interface DefWriterattrName - the name of the Attribute to readvalue - Value of the Attribute
public boolean writeStringArray(java.lang.String attrName,
com.sun.java.util.collections.Iterator value)
DefWriterwriteStringArray in interface DefWriterattrName - the name of the Attribute to readvalue - Enumeration of values
public boolean writeStringArray(java.lang.String attrName,
java.util.Enumeration value)
DefWriterwriteStringArray in interface DefWriterattrName - the name of the Attribute to readvalue - Enumeration of values
public boolean writeInt(java.lang.String attrName,
int value)
DefWriterwriteInt in interface DefWriterattrName - the name of the Attribute to readvalue - Value of the Attribute
public boolean writeShort(java.lang.String attrName,
short value)
DefWriterwriteShort in interface DefWriterattrName - the name of the Attribute to readvalue - Value of the Attribute
public boolean writeLong(java.lang.String attrName,
long value)
DefWriterwriteLong in interface DefWriterattrName - the name of the Attribute to readvalue - Value of the Attribute
public boolean writeFloat(java.lang.String attrName,
float value)
DefWriterwriteFloat in interface DefWriterattrName - the name of the Attribute to readvalue - Value of the Attribute
public boolean writeDouble(java.lang.String attrName,
double value)
DefWriterwriteDouble in interface DefWriterattrName - the name of the Attribute to readvalue - Value of the Attribute
public boolean writeBoolean(java.lang.String attrName,
boolean value)
DefWriterwriteBoolean in interface DefWriterattrName - the name of the Attribute to readvalue - Value of the Attribute
public boolean writeByte(java.lang.String attrName,
byte value)
DefWriterwriteByte in interface DefWriterattrName - the name of the Attribute to readvalue - Value of the Attribute
public boolean writeChar(java.lang.String attrName,
char value)
DefWriterwriteChar in interface DefWriterattrName - the name of the Attribute to readvalue - Value of the Attribute
public void writeObject(PersistentDefinition jtpObject)
throws DefPersistenceException
DefWriterwriteObject in interface DefWriterjtpObject - the PersistentDefinition object to writeDefPersistenceException
public boolean writeStringArrayElement(java.lang.String attrName,
com.sun.java.util.collections.Iterator value)
DefWriterwriteStringArrayElement in interface DefWriterattrName - the name of the Element to write
public void commit()
throws DefPersistenceException
DefWritercommit in interface DefWriterDefPersistenceException
public void rollback()
throws DefPersistenceException
DefWriterrollback in interface DefWriterDefPersistenceExceptionpublic Element getElement()
|
Oracle Application Development Framework Model and Business Components Java API Reference
10g Release 3 (10.1.3) B16005-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||