org.apache.ws.jaxme.xs.impl
Class XSLogicalParser.AddedImport

java.lang.Object
  extended by org.apache.ws.jaxme.xs.impl.XSLogicalParser.AddedImport
Enclosing class:
XSLogicalParser

public static class XSLogicalParser.AddedImport
extends java.lang.Object

This class allows to predefine schemas that are imported implicitly. This is required, for example, when processing SOAP schemas, which assume the predefined SOAP types.


Constructor Summary
XSLogicalParser.AddedImport(java.lang.String pNamespace, org.w3c.dom.Node pNode)
          Creates a new implicit schema import for the namespace URI pNamespace.
XSLogicalParser.AddedImport(java.lang.String pNamespace, java.lang.String pSchemaLocation)
          Creates a new implicit schema import for the namespace URI pNamespace.
 
Method Summary
 java.lang.String getNamespace()
          Returns the namespace URI of the imported schema.
 org.w3c.dom.Node getNode()
          Returns the DOM node, from which the schema is being loaded.
 java.lang.String getSchemaLocation()
          Returns the URL, from which the schema is being loaded.
 boolean isImported()
          Returns whether the import was already processed.
 void setImported(boolean pIsImported)
          Sets whether the import was already processed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XSLogicalParser.AddedImport

public XSLogicalParser.AddedImport(java.lang.String pNamespace,
                                   java.lang.String pSchemaLocation)
Creates a new implicit schema import for the namespace URI pNamespace. The schema is loaded from the URL pSchemaLocation.


XSLogicalParser.AddedImport

public XSLogicalParser.AddedImport(java.lang.String pNamespace,
                                   org.w3c.dom.Node pNode)
Creates a new implicit schema import for the namespace URI pNamespace. The schema is loaded from the DOM node pNode.

Method Detail

isImported

public boolean isImported()
Returns whether the import was already processed.


setImported

public void setImported(boolean pIsImported)
Sets whether the import was already processed.


getNamespace

public java.lang.String getNamespace()
Returns the namespace URI of the imported schema.


getSchemaLocation

public java.lang.String getSchemaLocation()
Returns the URL, from which the schema is being loaded. Returns null, if the schema is loaded from a DOM node.


getNode

public org.w3c.dom.Node getNode()
Returns the DOM node, from which the schema is being loaded. Returns null, if the schema is loaded from an URL.