|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XMLDataValue
Field Summary |
---|
Fields inherited from interface org.apache.derby.iapi.types.DataValueDescriptor |
---|
UNKNOWN_LOGICAL_LENGTH |
Fields inherited from interface org.apache.derby.iapi.types.Orderable |
---|
ORDER_OP_EQUALS, ORDER_OP_GREATEROREQUALS, ORDER_OP_GREATERTHAN, ORDER_OP_LESSOREQUALS, ORDER_OP_LESSTHAN |
Method Summary | |
---|---|
int |
getXType()
Retrieve this XML value's qualified type. |
boolean |
hasTopLevelAttr()
Return whether or not this XML value represents a sequence that has one or more top-level attribute nodes. |
void |
markAsHavingTopLevelAttr()
Take note of the fact this XML value represents an XML sequence that has one or more top-level attribute nodes. |
void |
setXType(int xtype)
Set this XML value's qualified type. |
BooleanDataValue |
XMLExists(SqlXmlUtil sqlxUtil)
The SQL/XML XMLExists operator. |
XMLDataValue |
XMLParse(java.lang.String text,
boolean preserveWS,
SqlXmlUtil sqlxUtil)
Method to parse an XML string and, if it's valid, store the _serialized_ version locally and then return this XMLDataValue. |
XMLDataValue |
XMLQuery(XMLDataValue result,
SqlXmlUtil sqlxUtil)
Evaluate the XML query expression contained within the received util object against this XML value and store the results into the received XMLDataValue "result" param (assuming "result" is non-null; else create a new XMLDataValue). |
StringDataValue |
XMLSerialize(StringDataValue result,
int targetType,
int targetWidth,
int targetCollationType)
The SQL/XML XMLSerialize operator. |
Methods inherited from interface org.apache.derby.iapi.types.DataValueDescriptor |
---|
checkHostVariable, cloneHolder, cloneValue, coalesce, compare, compare, compare, compare, equals, estimateMemoryUsage, getBoolean, getByte, getBytes, getDate, getDouble, getFloat, getInt, getLength, getLong, getNewNull, getObject, getShort, getStream, getString, getTime, getTimestamp, getTraceString, getTypeName, greaterOrEquals, greaterThan, hasStream, in, isNotNull, isNullOp, lessOrEquals, lessThan, normalize, notEquals, readExternalFromArray, recycle, setBigDecimal, setInto, setInto, setObjectForCast, setToNull, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueFromResultSet, typePrecedence, typeToBigDecimal |
Methods inherited from interface org.apache.derby.iapi.services.io.Storable |
---|
isNull, restoreToNull |
Methods inherited from interface java.io.Externalizable |
---|
readExternal, writeExternal |
Methods inherited from interface org.apache.derby.iapi.services.io.TypedFormat |
---|
getTypeFormatId |
Method Detail |
---|
XMLDataValue XMLParse(java.lang.String text, boolean preserveWS, SqlXmlUtil sqlxUtil) throws StandardException
text
- The string value to check.preserveWS
- Whether or not to preserve
ignorable whitespace.sqlxUtil
- Contains SQL/XML objects and util
methods that facilitate execution of XML-related
operations
StandardException
- Thrown on error.StringDataValue XMLSerialize(StringDataValue result, int targetType, int targetWidth, int targetCollationType) throws StandardException
result
- The result of a previous call to this method,
null if not called yet.targetType
- The string type to which we want to serialize.targetWidth
- The width of the target type.targetCollationType
- The collation type of the target type.
StandardException
- Thrown on errorBooleanDataValue XMLExists(SqlXmlUtil sqlxUtil) throws StandardException
sqlxUtil
- Contains SQL/XML objects and util
methods that facilitate execution of XML-related
operations
StandardException
- Thrown on errorXMLDataValue XMLQuery(XMLDataValue result, SqlXmlUtil sqlxUtil) throws StandardException
result
- The result of a previous call to this method; null
if not called yet.sqlxUtil
- Contains SQL/XML objects and util methods that
facilitate execution of XML-related operations
java.lang.Exception
- thrown on error (and turned into a
StandardException by the caller).
StandardException
void setXType(int xtype)
int getXType()
void markAsHavingTopLevelAttr()
boolean hasTopLevelAttr()
|
Built on Thu 2012-03-29 21:53:33+0000, from revision ??? | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |