Package 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
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.
-
Field Summary
FieldsFields inherited from class org.apache.ws.commons.schema.XmlSchemaObject
lineNumber, linePosition, sourceURI -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedXmlSchemaExternal(XmlSchema parent) Creates new XmlSchemaExternal -
Method Summary
Modifier and TypeMethodDescriptionvoidStore a reference to an XmlSchema corresponding to this item.voidsetSchemaLocation(String schemaLocation) Methods inherited from class org.apache.ws.commons.schema.XmlSchemaAnnotated
getAnnotation, getId, getUnhandledAttributes, setAnnotation, setId, setUnhandledAttributes, toStringMethods inherited from class org.apache.ws.commons.schema.XmlSchemaObject
addMetaInfo, equals, getLineNumber, getLinePosition, getMetaInfoMap, getSourceURI, hashCode, setLineNumber, setLinePosition, setMetaInfoMap, setSourceURI
-
Field Details
-
Constructor Details
-
XmlSchemaExternal
Creates new XmlSchemaExternal
-
-
Method Details
-
getSchema
-
setSchema
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
-
setSchemaLocation
-