|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SchemaElement
Nested Class Summary | |
---|---|
static class |
SchemaElement.HighlightType
|
Method Summary | |
---|---|
SchemaElement.HighlightType |
getHighlightType()
|
java.lang.String |
getName()
|
boolean |
isValid(java.lang.StringBuffer reason)
Determine if the schema element just read is valid. |
void |
notifyUpdate(SchemaElement element)
Notify a schema element that the schema element it is overriding has changed |
SchemaElement |
override(Family family)
Override the schema element from ain included file. |
boolean |
readFromXmlDoc(java.util.Stack<java.lang.String> readContext,
org.w3c.dom.Element elem)
Read the element from the DOM model |
void |
resolve()
|
boolean |
shouldWrite()
|
java.lang.String |
toSummary()
|
void |
writeToXmlDoc(SAXWriter wrt)
Write out this schema element to the SAX Handler |
Method Detail |
---|
java.lang.String getName()
void writeToXmlDoc(SAXWriter wrt) throws org.xml.sax.SAXException
contentHandler
- the SAX content handler.
org.xml.sax.SAXException
boolean readFromXmlDoc(java.util.Stack<java.lang.String> readContext, org.w3c.dom.Element elem)
readContext
- the context within the XML of the read operation. This is used
to help pinpoint the source of an error.elem
- the DOM element to use to initialize this class.SchemaElement override(Family family)
notifyUpdate(SchemaElement)
method when this element changes.
family
- the family in which the overridden element is to be created
void notifyUpdate(SchemaElement element)
element
- the overridden schema element.boolean isValid(java.lang.StringBuffer reason)
reason
- the reason for the failure (or warning) if any should be appended to this string buffer.
boolean shouldWrite()
java.lang.String toSummary()
void resolve()
SchemaElement.HighlightType getHighlightType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |