|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.ic.doc.automed.wrappers.xsdomobject.Document
public class Document
Define the internal representation for an XMLSchema document
| Constructor Summary | |
|---|---|
Document(Element root)
Creates a new instance of Document with root as the root element |
|
Document(Element root,
java.util.ArrayList rootTypes)
A new document with one or more types defined at the root level |
|
| Method Summary | |
|---|---|
void |
addPI(java.lang.String PI)
Add the PI info to the top of the schema file |
void |
addRootType(ComplexType rootType)
Add a single root type |
void |
addRootTypes(java.util.ArrayList rootTypes)
Add some root types |
java.lang.String |
getPI()
Return the PI info |
Element |
getRoot()
Return the root element of this document |
ComplexType |
getRootType(java.lang.String name)
Return a named root type, null if the named type is not a root ct |
java.util.ArrayList |
getRootTypes()
Return any root types |
void |
setRoot(Element root)
Return the root element of this document |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Document(Element root)
public Document(Element root,
java.util.ArrayList rootTypes)
| Method Detail |
|---|
public Element getRoot()
public void setRoot(Element root)
public java.util.ArrayList getRootTypes()
public ComplexType getRootType(java.lang.String name)
public void addPI(java.lang.String PI)
public void addRootTypes(java.util.ArrayList rootTypes)
public void addRootType(ComplexType rootType)
public java.lang.String getPI()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||