Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.1.0)

E13403-02

oracle.jdeveloper.xml.schema.dependency
Class ImportReferenceFactory

java.lang.Object
  extended by oracle.bali.xml.model.dependency.ReferenceFactory
      extended by oracle.bali.xml.model.dependency.TraversalReferenceFactory
          extended by oracle.jdeveloper.xml.schema.dependency.SchemaReferenceFactory
              extended by 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 Class Summary
 
Nested classes/interfaces inherited from interface oracle.bali.xml.indexing.IndexingFactory
oracle.bali.xml.indexing.IndexingFactory.IndexEntry
 
Constructor Summary
ImportReferenceFactory()
           
 
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.jdeveloper.xml.schema.dependency.SchemaReferenceFactory
getIndexEntries, getReference, getReferences, getSchemaLocation, isTransitive
 
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

ImportReferenceFactory

public ImportReferenceFactory()
Method Detail

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 context
node - the DOM node containing the reference
value - 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

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.1.0)

E13403-02

Copyright © 1997, 2009, Oracle. All rights reserved.