Class 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.
  • Field Details

  • Constructor Details

    • XmlSchemaExternal

      protected XmlSchemaExternal(XmlSchema parent)
      Creates new XmlSchemaExternal
  • Method Details

    • 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)