|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DTD
Classes that implement the DTD interface provide information about the schema of elements and attributes. For example, the SIFDTD class implements this interface to define all elements comprising the Schools Interoperability Framework.
| Method Summary | |
|---|---|
java.lang.String |
getElementTag(byte type)
Gets the element tag corresponding to a type ID |
byte |
getElementType(java.lang.String name)
Gets the type ID corresponding to an element tag name |
SIFFormatter |
getFormatter(SIFVersion version)
|
java.lang.String |
getNamespace(SIFVersion version)
Gets the namespace associated with this DTD |
ElementDef |
lookupElementDef(ElementDef parent,
java.lang.String childTag)
Lookup an ElementDef object describing an element or attribute |
ElementDef |
lookupElementDef(java.lang.String key)
Lookup an ElementDef object describing an element or attribute |
| Method Detail |
|---|
ElementDef lookupElementDef(java.lang.String key)
key - The name of the element in the form "parent_field", where
parent is the name of the parent element and field is
the name of the child element or attribute (e.g. "SIF_Ack_SIF_Header",
"StudentPersonal_Name", etc.)
ElementDef lookupElementDef(ElementDef parent,
java.lang.String childTag)
parent - The parent ElementDefchildTag - the name of the child element
java.lang.String getNamespace(SIFVersion version)
version - The SIF Version
SIFFormatter getFormatter(SIFVersion version)
java.lang.String getElementTag(byte type)
type - A type identifier defined by the class that implements this
interface (e.g. SIFDTD.MSGTYP_PROVIDE)
byte getElementType(java.lang.String name)
name - The tag name of an element (e.g. "SIF_Provide")
SIFDTD.MSGTYP_PROVIDE)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||