org.apache.ws.commons.schema
Class XmlSchemaExternal
java.lang.Object
org.apache.ws.commons.schema.XmlSchemaObject
org.apache.ws.commons.schema.XmlSchemaAnnotated
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.
Methods inherited from class org.apache.ws.commons.schema.XmlSchemaObject |
addMetaInfo, equals, getLineNumber, getLinePosition, getMetaInfoMap, getSourceURI, hashCode, setLineNumber, setLinePosition, setMetaInfoMap, setSourceURI |
XmlSchemaExternal
protected XmlSchemaExternal(XmlSchema parent)
- Creates new XmlSchemaExternal
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.