|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provide access to storage system variables.
This interface is passed to generator, notably user generators.
UserGenerator
Method Summary | |
java.lang.Object |
getActualNodeData()
Return the XML Schema actual value attached to the current node if any, converted to a java object. |
java.sql.Connection |
getConnection()
Return the JDBC Connection used by the storage module. |
java.lang.String |
getDocumentID()
get the document ID set by the user or internally generated. |
long |
getDocumentOID()
get the numeric ID allocated for the document. |
java.lang.String |
getLocalName()
Return the local name of the node being stored. |
java.lang.String |
getNamespaceURI()
Return the namespace URI of the node being stored. |
java.lang.String |
getNodeData()
Return the character data attached to the current node if any. |
int |
getNodeRank()
Return the rank (within its siblings) of the current node being stored. |
java.lang.String |
getNormalizedNodeData()
Return the character data attached to the current node if any, normalized according the XML Schema recommendation. |
long |
getOID()
Return the local (to a storage operation) OID (Object IDentifier) of the current node being stored. |
short |
getPathOID()
Return the path OID (Object IDentifier) of the current node being stored. |
java.lang.String |
getQName()
Return the Full Qualified Name of the node being stored. |
java.lang.Object |
getRefValue(int tableIndex,
int columnIndex)
Return the character data stored in a tuple waiting to be stored. |
long |
getUOID()
Return the universal OID (Object IDentifier) of the current node being stored. |
Method Detail |
public int getNodeRank()
public java.lang.String getNodeData()
public java.lang.String getNormalizedNodeData()
public java.lang.Object getActualNodeData()
XML schema base built-in primitive type | Java class |
---|---|
string | String |
boolean | Boolean |
decimal | BigDecimal or Long if type facet ensure it fits. |
float | Float |
double | Double |
QName | org.xquark.schema.datatypes.QName |
NOTATION | org.xquark.schema.datatypes.QName |
duration | org.xquark.schema.datatypes.Duration |
dateTime | org.xquark.schema.datatypes.DateTime |
time | org.xquark.schema.datatypes.DateTime |
date | org.xquark.schema.datatypes.DateTime |
gYearMonth | org.xquark.schema.datatypes.DateTime |
gYear | org.xquark.schema.datatypes.DateTime |
gMonthDay | org.xquark.schema.datatypes.DateTime |
gDay | org.xquark.schema.datatypes.DateTime |
gMonth | org.xquark.schema.datatypes.DateTime |
hexBinary | org.xquark.schema.datatypes.ByteArray |
base64Binary | org.xquark.schema.datatypes.ByteArray |
anyURI | org.xquark.schema.datatypes.URI |
union | not supported |
list | List |
anySimpleType | String |
public java.lang.String getQName()
public java.lang.String getLocalName()
public java.lang.String getNamespaceURI()
public java.lang.Object getRefValue(int tableIndex, int columnIndex)
tableIndex
- index of the table mapping corresponding to tuple
containing data.columnIndex
- index of the column in the table mapping used to
identify the data.
public java.sql.Connection getConnection()
This connection may be used, for example, to fetch information from the relational database in order to generate a column value.
public java.lang.String getDocumentID()
This method is only implemented by the Repository.
public long getDocumentOID()
This method is only implemented by the Repository.
public long getOID()
This method is only implemented by the Repository.
public long getUOID()
This method is only implemented by the Repository.
public short getPathOID()
This method is only implemented by the Repository.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |