oracle.jdeveloper.xml.schema.dependency
Class ImportReferenceFactory
java.lang.Object
oracle.bali.xml.model.dependency.ReferenceFactory
oracle.bali.xml.model.dependency.TraversalReferenceFactory
oracle.jdeveloper.xml.schema.dependency.SchemaReferenceFactory
oracle.jdeveloper.xml.schema.dependency.ImportReferenceFactory
- All Implemented Interfaces:
- oracle.bali.xml.indexing.IndexingFactory, oracle.bali.xml.model.traversal.TraversalHandler
public class ImportReferenceFactory
- extends SchemaReferenceFactory
Reference factory for XML Schema imports.
Nested classes/interfaces inherited from interface oracle.bali.xml.indexing.IndexingFactory |
oracle.bali.xml.indexing.IndexingFactory.IndexEntry |
Method Summary |
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()
The ImportReferenceFactory implementation returns true
i.e. |
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 |
ImportReferenceFactory
public ImportReferenceFactory()
getTargetNamespace
protected java.lang.String getTargetNamespace(oracle.bali.xml.model.XmlContext context,
org.w3c.dom.Node node,
java.lang.String value)
- Description copied from class:
SchemaReferenceFactory
- Get the target namespace of the schema document, or
null
if
not known. The default implementation returns null
.
Subclasses can override this if they can provide the target namespace.
- Overrides:
getTargetNamespace
in class SchemaReferenceFactory
- Parameters:
context
- the XML contextnode
- the DOM node containing the referencevalue
- the node value
- Returns:
- the target namespace
isImportReference
protected boolean isImportReference()
- The
ImportReferenceFactory
implementation returns true
i.e. this factory instance is associated with the import element.
- Overrides:
isImportReference
in class SchemaReferenceFactory
- Returns:
true
Copyright © 1997, 2009, Oracle. All rights reserved.