|
Oracle® Database XML Java API Reference 12c Release 1 (12.1) E15981-09 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Object
java.lang.Enum<OXQEntityKind>
oracle.xml.xquery.OXQEntityKind
public enum OXQEntityKind
The kind of entity to be resolved. The enumeration provides entity kinds for the common types of entities: modules, schemas, collections, documents, xml entities, and external functions. A user may control how the XQuery processor obtains these resources by implementing a custom OXQEntityResolver.
OXQEntityResolver| Enum Constant Summary | |
|---|---|
COLLATIONThe kind used to obtain a collation. |
|
COLLECTIONThe kind used obtain the documents that comprise a collection (used when there is a call to fn:collection). |
|
DOCUMENTThe kind used to obtain a document for the fn:doc or fn:collection function. |
|
DOCUMENT_TYPEThe kind used to obtain a document type for the fn:doc function. |
|
DOM_FACTORYThe kind used to obtain an implementation of the DOM factory: javax.xml.parsers.DocumentBuilderFactory |
|
EXTERNAL_FUNCTIONThe kind used to obtain an external function binding. |
|
MODULEThe kind used to resolve an XQuery module import. |
|
SCHEMAThe kind used to resolve an XML Schema import. |
|
UPD_PUTThe kind used to obtain an implementation for the fn:put function. |
|
XML_ENTITYThe kind used when an internal XML parser needs to resolve an XML resource. |
|
XML_PARSER_FACTORYThe kind used to obtain an implementation of the StAX parser factory: XMLInputFactory |
|
| Method Summary | |
|---|---|
static OXQEntityKind |
valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. |
static OXQEntityKind[] |
values()Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final OXQEntityKind MODULE
OXQEntityResolver may return one or more modules.public static final OXQEntityKind SCHEMA
OXQEntityResolver may return one or more schemas.public static final OXQEntityKind DOCUMENT_TYPE
fn:doc function.public static final OXQEntityKind DOCUMENT
fn:doc or fn:collection function. In the case of fn:collection, it is used for each document in the collection.public static final OXQEntityKind COLLECTION
fn:collection).public static final OXQEntityKind XML_ENTITY
public static final OXQEntityKind EXTERNAL_FUNCTION
public static final OXQEntityKind UPD_PUT
fn:put function. (more precisely, the put primitive)public static final OXQEntityKind XML_PARSER_FACTORY
XMLInputFactorypublic static final OXQEntityKind DOM_FACTORY
javax.xml.parsers.DocumentBuilderFactorypublic static final OXQEntityKind COLLATION
| Method Detail |
|---|
public static OXQEntityKind[] values()
for (OXQEntityKind c : OXQEntityKind.values())
System.out.println(c);
public static OXQEntityKind valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null
|
Oracle® Database XML Java API Reference 12c Release 1 (12.1) E15981-09 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
Copyright © 2003, 2014, Oracle and/or its affiliates. All rights reserved.