public interface Schema extends ExtensibilityElement, Serializable
Modifier and Type | Method and Description |
---|---|
void |
addImport(SchemaImport importSchema)
Add an import to this LightWeightSchema
|
void |
addInclude(SchemaReference includeSchema)
Add an include to this LightWeightSchema
|
void |
addRedefine(SchemaReference redefineSchema)
Add a redefine to this LightWeightSchema
|
SchemaImport |
createImport()
Create a new schema import
|
SchemaReference |
createInclude()
Create a new schema reference to represent an include.
|
SchemaReference |
createRedefine()
Create a new schema reference to represent a redefine.
|
String |
getDocumentBaseURI()
Get the document base URI of this schema
|
Element |
getElement()
Get the DOM Element that represents this schema element.
|
Map |
getImports()
Get a map of lists containing all the imports defined here.
|
List |
getIncludes()
Get a list containing all of the includes defined here.
|
List |
getRedefines()
Get a list containing all of the redefines defined here.
|
void |
setDocumentBaseURI(String documentBaseURI)
Set the document base URI of this schema definition.
|
void |
setElement(Element element)
Set the DOM Element that represents this schema element.
|
getElementType, getRequired, setElementType, setRequired
Map getImports()
SchemaImport createImport()
void addImport(SchemaImport importSchema)
importSchema
- the import to be addedList getIncludes()
SchemaReference createInclude()
void addInclude(SchemaReference includeSchema)
includeSchema
- The include to be added, represented as a SchemaReferenceList getRedefines()
SchemaReference createRedefine()
void addRedefine(SchemaReference redefineSchema)
redefineSchema
- The redefine to be added, represented as a SchemaReferencevoid setElement(Element element)
element
- the DOM element representing this schemaElement getElement()
void setDocumentBaseURI(String documentBaseURI)
documentBaseURI
- the document base URI of this schemaString getDocumentBaseURI()
Copyright © 2016 JBoss by Red Hat. All rights reserved.