public abstract class XMLSchemaReference extends Object implements XMLSchemaReference
COMPLEX_TYPE, ELEMENT, GROUP, SIMPLE_TYPE
Modifier and Type | Method and Description |
---|---|
String |
getResource() |
String |
getSchemaContext()
Get the path to the simple/complex type definition, element or group to
be referenced in the schema
|
QName |
getSchemaContextAsQName() |
QName |
getSchemaContextAsQName(org.eclipse.persistence.internal.oxm.NamespaceResolver nsResolver)
INTERNAL:
|
int |
getType()
Indicates if the schema reference references a simple type definition,
complex type definition, element, or group.
|
abstract URL |
getURL()
A URL which referenes the Schema.
|
void |
initialize(org.eclipse.persistence.internal.sessions.AbstractSession session)
Allow subclasses to perform initialization if required.
|
boolean |
isGlobalDefinition()
Indicates a global definition
|
boolean |
isValid(Document document,
ErrorHandler errorHandler) |
void |
setResource(String resource) |
void |
setSchemaContext(String schemaContext)
Set the path to the simple/complex type definition, element, or group to
be referenced in the schema
|
void |
setSchemaContextAsQName(QName qname) |
void |
setType(int type)
Set to indicate if the schema reference references a simple type
definition, complex type definition, element or group.
|
public String getResource()
public void setResource(String resource)
public abstract URL getURL()
XMLSchemaReference
getURL
in interface XMLSchemaReference
public int getType()
getType
in interface XMLSchemaReference
public void setType(int type)
type
- -
COMPLEX_TYPE=1, SIMPLE_TYPE=2, ELEMENT=3, GROUP=5public String getSchemaContext()
getSchemaContext
in interface XMLSchemaReference
public void setSchemaContext(String schemaContext)
schemaContext
- -
the schema contextpublic void setSchemaContextAsQName(QName qname)
public QName getSchemaContextAsQName()
public QName getSchemaContextAsQName(org.eclipse.persistence.internal.oxm.NamespaceResolver nsResolver)
nsResolver
- public boolean isValid(Document document, ErrorHandler errorHandler)
public boolean isGlobalDefinition()
public void initialize(org.eclipse.persistence.internal.sessions.AbstractSession session)
session
-