org.apache.ws.commons.schema
Class XmlSchemaExternal

java.lang.Object
  extended by org.apache.ws.commons.schema.XmlSchemaObject
      extended by org.apache.ws.commons.schema.XmlSchemaAnnotated
          extended by org.apache.ws.commons.schema.XmlSchemaExternal
All Implemented Interfaces:
XmlSchemaObjectBase
Direct Known Subclasses:
XmlSchemaImport, XmlSchemaInclude, XmlSchemaRedefine

public abstract class XmlSchemaExternal
extends XmlSchemaAnnotated

Common class for include, import, and redefine. All have in common two items: the location of the referenced schema (required) and an optional reference to that schema as represented in XmlSchema.


Constructor Summary
protected XmlSchemaExternal(XmlSchema parent)
          Creates new XmlSchemaExternal
 
Method Summary
 XmlSchema getSchema()
           
 String getSchemaLocation()
           
 void setSchema(XmlSchema sc)
          Store a reference to an XmlSchema corresponding to this item.
 void setSchemaLocation(String schemaLocation)
           
 
Methods inherited from class org.apache.ws.commons.schema.XmlSchemaAnnotated
getAnnotation, getId, getUnhandledAttributes, setAnnotation, setId, setUnhandledAttributes, toString
 
Methods inherited from class org.apache.ws.commons.schema.XmlSchemaObject
addMetaInfo, equals, getLineNumber, getLinePosition, getMetaInfoMap, getSourceURI, hashCode, setLineNumber, setLinePosition, setMetaInfoMap, setSourceURI
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XmlSchemaExternal

protected XmlSchemaExternal(XmlSchema parent)
Creates new XmlSchemaExternal

Method Detail

getSchema

public XmlSchema getSchema()

setSchema

public void setSchema(XmlSchema sc)
Store a reference to an XmlSchema corresponding to this item. This only case in which this will be read is if you ask the XmlSchemaSerializer to serialize external schemas.

Parameters:
sc - schema reference

getSchemaLocation

public String getSchemaLocation()

setSchemaLocation

public void setSchemaLocation(String schemaLocation)


Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.