| Modifier and Type | Field and Description |
|---|---|
| protected String | resource
The string used to access the XMLSchema, be it classpath resource, URL, or file name |
| protected String | schemaContext
The path to a simple/complex type definition or element in the schema |
| protected QName | |
| protected int | type
Indicates if a simple/complex type definition, element, or group is being referenced |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected | XMLSchemaReference(String
-
used to access the XMLSchema (classpath, URL, or file name) resource)This constructor takes a string that references an XMLSchema. |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public String | Returns: the schema contextImplements org. |
| public QName | |
| public QName | |
| public int | Returns: COMPLEX_TYPE=1, SIMPLE_TYPE=2, ELEMENT=3, GROUP=5Implements org. |
| public abstract URL | getURL()
Redeclares org. |
| public void | initialize(CoreAbstractSession<DESCRIPTOR extends CoreDescriptor<ATTRIBUTE_GROUP extends CoreAttributeGroup, DESCRIPTOR_EVENT_MANAGER extends CoreDescriptorEventManager, FIELD extends CoreField, INHERITANCE_POLICY extends CoreInheritancePolicy, INSTANTIATION_POLICY extends CoreInstantiationPolicy, LIST extends List<E>, OBJECT_BUILDER extends CoreObjectBuilder>, LOGIN extends CoreLogin<PLATFORM extends CorePlatform>, PLATFORM extends CorePlatform<CONVERSION_MANAGER extends CoreConversionManager>, PROJECT extends CoreProject<DESCRIPTOR extends CoreDescriptor<ATTRIBUTE_GROUP extends CoreAttributeGroup, DESCRIPTOR_EVENT_MANAGER extends CoreDescriptorEventManager, FIELD extends CoreField, INHERITANCE_POLICY extends CoreInheritancePolicy, INSTANTIATION_POLICY extends CoreInstantiationPolicy, LIST extends List<E>, OBJECT_BUILDER extends CoreObjectBuilder>, LOGIN extends CoreLogin<PLATFORM extends CorePlatform>, SESSION extends CoreSession>, SESSION_EVENT_MANAGER extends CoreSessionEventManager<SESSION_EVENT_LISTENER extends CoreSessionEventListener>> session)
Allow subclasses to perform initialization if required. |
| public boolean | |
| public boolean | |
| public void | |
| public void | setSchemaContext(String
-
the schema context schemaContext)Set the path to the simple/complex type definition, element, or group to be referenced in the schema |
| public void | |
| public void | setType(int
-
COMPLEX_TYPE=1, SIMPLE_TYPE=2, ELEMENT=3, GROUP=5 type)Set to indicate if the schema reference references a simple type definition, complex type definition, element or group. |
| resource | back to summary |
|---|---|
| protected String resource The string used to access the XMLSchema, be it classpath resource, URL, or file name | |
| schemaContext | back to summary |
|---|---|
| protected String schemaContext The path to a simple/complex type definition or element in the schema | |
| schemaContextAsQName | back to summary |
|---|---|
| protected QName schemaContextAsQName | |
| type | back to summary |
|---|---|
| protected int type Indicates if a simple/complex type definition, element, or group is being referenced | |
| XMLSchemaReference | back to summary |
|---|---|
| protected XMLSchemaReference() The default constructor. | |
| XMLSchemaReference | back to summary |
|---|---|
| protected XMLSchemaReference(String resource) This constructor takes a string that references an XMLSchema.
| |
| getResource | back to summary |
|---|---|
| public String getResource() | |
| getSchemaContext | back to summary |
|---|---|
| public String getSchemaContext() Implements org. Get the path to the simple/complex type definition, element or group to be referenced in the schema | |
| getSchemaContextAsQName | back to summary |
|---|---|
| public QName getSchemaContextAsQName() | |
| getSchemaContextAsQName | back to summary |
|---|---|
| public QName getSchemaContextAsQName(NamespaceResolver nsResolver) INTERNAL: | |
| getType | back to summary |
|---|---|
| public int getType() Implements org. Indicates if the schema reference references a simple type definition, complex type definition, element, or group.
| |
| getURL | back to summary |
|---|---|
| public abstract URL getURL() Redeclares org. Doc from org. A URL which referenes the Schema. | |
| initialize | back to summary |
|---|---|
| public void initialize(CoreAbstractSession<DESCRIPTOR extends CoreDescriptor<ATTRIBUTE_GROUP extends CoreAttributeGroup, DESCRIPTOR_EVENT_MANAGER extends CoreDescriptorEventManager, FIELD extends CoreField, INHERITANCE_POLICY extends CoreInheritancePolicy, INSTANTIATION_POLICY extends CoreInstantiationPolicy, LIST extends List<E>, OBJECT_BUILDER extends CoreObjectBuilder>, LOGIN extends CoreLogin<PLATFORM extends CorePlatform>, PLATFORM extends CorePlatform<CONVERSION_MANAGER extends CoreConversionManager>, PROJECT extends CoreProject<DESCRIPTOR extends CoreDescriptor<ATTRIBUTE_GROUP extends CoreAttributeGroup, DESCRIPTOR_EVENT_MANAGER extends CoreDescriptorEventManager, FIELD extends CoreField, INHERITANCE_POLICY extends CoreInheritancePolicy, INSTANTIATION_POLICY extends CoreInstantiationPolicy, LIST extends List<E>, OBJECT_BUILDER extends CoreObjectBuilder>, LOGIN extends CoreLogin<PLATFORM extends CorePlatform>, SESSION extends CoreSession>, SESSION_EVENT_MANAGER extends CoreSessionEventManager<SESSION_EVENT_LISTENER extends CoreSessionEventListener>> session) Allow subclasses to perform initialization if required. This method will typically be called during the owning descriptor's initialization phase. | |
| isGlobalDefinition | back to summary |
|---|---|
| public boolean isGlobalDefinition() Indicates a global definition | |
| isValid | back to summary |
|---|---|
| public boolean isValid(Document document, ErrorHandler errorHandler) | |
| setResource | back to summary |
|---|---|
| public void setResource(String resource) | |
| setSchemaContext | back to summary |
|---|---|
| public void setSchemaContext(String schemaContext) Set the path to the simple/complex type definition, element, or group to be referenced in the schema
| |
| setSchemaContextAsQName | back to summary |
|---|---|
| public void setSchemaContextAsQName(QName qname) | |
| setType | back to summary |
|---|---|
| public void setType(int type) Set to indicate if the schema reference references a simple type definition, complex type definition, element or group.
| |