|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--hypercast.util.createPrivatePropertyDocFromSchemaFile
This class defines functions to create a XML Document from a schema file. The created XML Document is built based on the default values defined in the scema file.
Constructor Summary | |
createPrivatePropertyDocFromSchemaFile()
Constructor. |
|
createPrivatePropertyDocFromSchemaFile(java.lang.String schemafile)
Constructor. |
Method Summary | |
static org.w3c.dom.Element |
findPropertyElement(org.w3c.dom.Document doc,
java.lang.String rootElementName)
Find the property Element in the given Document. |
static java.util.Vector |
getChildrenOfComplexElement(org.w3c.dom.Element e)
Get children of this Element. |
org.w3c.dom.Document |
getPrivateProperties()
Build the Document object for all attribute Elements (based on their default values). |
static org.w3c.dom.Document |
getPrivateProperties(org.w3c.dom.Document schemaDoc)
Build the Document object for all attribute Elements (based on their default values) in the given schema file (in Document form). |
static org.w3c.dom.Document |
getPrivateProperties(java.lang.String schemafile)
Build the Document object for all attribute Elements (based on their default values) in the given schema file. |
static org.w3c.dom.Element |
getRestrictionElement(org.w3c.dom.Element e)
Get the Element which defines restrition for given simpleType Element. |
static boolean |
hasChoiceOnChildren(org.w3c.dom.Element e)
Check if this Element has a sequence of children. |
static boolean |
isComplexElement(org.w3c.dom.Element e)
Check if this Element has a "complex" child. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public createPrivatePropertyDocFromSchemaFile(java.lang.String schemafile) throws java.io.IOException, java.text.ParseException
public createPrivatePropertyDocFromSchemaFile() throws java.io.IOException
Method Detail |
public org.w3c.dom.Document getPrivateProperties() throws java.io.IOException
java.io.IOException
public static org.w3c.dom.Document getPrivateProperties(java.lang.String schemafile) throws java.io.FileNotFoundException, java.text.ParseException, java.io.IOException
java.io.FileNotFoundException
java.text.ParseException
java.io.IOException
public static org.w3c.dom.Document getPrivateProperties(org.w3c.dom.Document schemaDoc)
public static org.w3c.dom.Element findPropertyElement(org.w3c.dom.Document doc, java.lang.String rootElementName)
doc
- A Document instance.rootElementName
- The Element name of the root for all attributes.
public static boolean isComplexElement(org.w3c.dom.Element e)
public static java.util.Vector getChildrenOfComplexElement(org.w3c.dom.Element e)
public static boolean hasChoiceOnChildren(org.w3c.dom.Element e)
public static org.w3c.dom.Element getRestrictionElement(org.w3c.dom.Element e)
e
- Element in the configuration document.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |