|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StorageContext
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 |
getMappingMode()
Returns the current mappping mode. |
java.lang.String |
getMappingNamespace()
Returns the target namespace of the active mapping. |
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 |
---|
int getNodeRank()
java.lang.String getNodeData()
java.lang.String getNormalizedNodeData()
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 |
java.lang.String getQName()
java.lang.String getLocalName()
java.lang.String getNamespaceURI()
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.
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.
java.lang.String getDocumentID()
This method is only implemented by the Repository.
long getDocumentOID()
This method is only implemented by the Repository.
long getOID()
This method is only implemented by the Repository.
long getUOID()
This method is only implemented by the Repository.
short getPathOID()
This method is only implemented by the Repository.
java.lang.String getMappingNamespace()
java.lang.String getMappingMode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |