|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.1.0) E13403-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.bali.xml.model.dependency.ReferenceFactory
oracle.bali.xml.model.dependency.TraversalReferenceFactory
oracle.jdeveloper.xml.schema.dependency.SchemaReferenceFactory
public class SchemaReferenceFactory
Reference factory for XML Schema document references.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface oracle.bali.xml.indexing.IndexingFactory |
---|
oracle.bali.xml.indexing.IndexingFactory.IndexEntry |
Constructor Summary | |
---|---|
SchemaReferenceFactory()
|
Method Summary | |
---|---|
java.util.List<oracle.bali.xml.indexing.IndexingFactory.IndexEntry> |
getIndexEntries(oracle.bali.xml.grammar.QualifiedName elementQN,
oracle.bali.xml.grammar.QualifiedName attrQN,
java.lang.String value)
|
protected oracle.bali.xml.model.dependency.Reference |
getReference(oracle.bali.xml.model.XmlContext context,
org.w3c.dom.Node node,
java.lang.String value)
|
java.util.Collection<oracle.bali.xml.model.dependency.Reference> |
getReferences(oracle.bali.xml.model.XmlContext context,
org.w3c.dom.Node node,
java.lang.String value)
|
protected java.net.URL |
getSchemaLocation(oracle.bali.xml.model.XmlContext context,
org.w3c.dom.Node node,
java.lang.String value)
Get the location of the schema document, or null if the
schema is not found. |
protected java.lang.String |
getTargetNamespace(oracle.bali.xml.model.XmlContext context,
org.w3c.dom.Node node,
java.lang.String value)
Get the target namespace of the schema document, or null if
not known. |
protected boolean |
isImportReference()
This method gets the boolean flag notifying whether this factory instance belong to import element or not. |
protected boolean |
isTransitive(oracle.bali.xml.model.XmlContext context,
org.w3c.dom.Node node,
java.lang.String value)
Determine whether the schema reference is transitive. |
Methods inherited from class oracle.bali.xml.model.dependency.TraversalReferenceFactory |
---|
handleEndNode, handleStartNode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SchemaReferenceFactory()
Method Detail |
---|
@Nullable protected java.net.URL getSchemaLocation(oracle.bali.xml.model.XmlContext context, org.w3c.dom.Node node, java.lang.String value)
null
if the
schema is not found. The default implementation assumes the entire value
of the node is a URL or a path relative to the referencing document.
Subclasses can override this to provide different behavior.
context
- the XML contextnode
- the DOM node containing the referencevalue
- the node value
@Nullable protected java.lang.String getTargetNamespace(oracle.bali.xml.model.XmlContext context, org.w3c.dom.Node node, java.lang.String value)
null
if
not known. The default implementation returns null
.
Subclasses can override this if they can provide the target namespace.
context
- the XML contextnode
- the DOM node containing the referencevalue
- the node value
protected boolean isTransitive(oracle.bali.xml.model.XmlContext context, org.w3c.dom.Node node, java.lang.String value)
context
- the XML contextnode
- the DOM node containing the referencevalue
- the node value
true
if the reference is transitive,
false
otherwiseprotected oracle.bali.xml.model.dependency.Reference getReference(oracle.bali.xml.model.XmlContext context, org.w3c.dom.Node node, java.lang.String value)
public java.util.Collection<oracle.bali.xml.model.dependency.Reference> getReferences(oracle.bali.xml.model.XmlContext context, org.w3c.dom.Node node, java.lang.String value)
getReferences
in class oracle.bali.xml.model.dependency.ReferenceFactory
public java.util.List<oracle.bali.xml.indexing.IndexingFactory.IndexEntry> getIndexEntries(oracle.bali.xml.grammar.QualifiedName elementQN, oracle.bali.xml.grammar.QualifiedName attrQN, java.lang.String value)
getIndexEntries
in interface oracle.bali.xml.indexing.IndexingFactory
protected boolean isImportReference()
SchemaReferenceFactory
implementation returns false.
false
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.1.0) E13403-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |