| java.lang.Object org.netbeans.modules.schema2beansdev.metadd.MetaDD
Inner Class :public static class ValidateException extends Exception | |
Method Summary | |
public String | _getSchemaLocation() | public void | _setSchemaLocation(String location) | public int | addFinder(String value) | public int | addImport(String value) | public int | addMetaElement(org.netbeans.modules.schema2beansdev.metadd.MetaElement value) | public void | changePropertyByName(String name, Object value) | public org.netbeans.modules.schema2beansdev.metadd.CommonBean[] | childBeans(boolean recursive) Return an array of all of the properties that are beans and are set. | public void | childBeans(boolean recursive, java.util.List beans) Put all child beans into the beans list. | public boolean | equals(Object o) | public boolean | equals(org.netbeans.modules.schema2beansdev.metadd.MetaDD inst) | public java.util.List | fetchFinderList() | public java.util.List | fetchImportList() | public java.util.List | fetchMetaElementList() | public Object | fetchPropertyByName(String name) | public String | getExtends() | public String[] | getFinder() | public String | getFinder(int index) | public String | getImplements() | public String[] | getImport() | public String | getImport(int index) | public org.netbeans.modules.schema2beansdev.metadd.MetaElement[] | getMetaElement() | public org.netbeans.modules.schema2beansdev.metadd.MetaElement | getMetaElement(int index) | public String | getSchemaLocation() | public int | hashCode() | public boolean | isThrowExceptions() | public boolean | isVetoable() | public String | nameChild(Object childObj) | public String | nameChild(Object childObj, boolean returnConstName, boolean returnSchemaName) | public String | nameChild(Object childObj, boolean returnConstName, boolean returnSchemaName, boolean returnXPathName) | public String | nameSelf() | public org.netbeans.modules.schema2beansdev.metadd.MetaElement | newMetaElement() Create a new bean using it's default constructor. | public org.netbeans.modules.schema2beansdev.metadd.MetaElement | newMetaElement(MetaElement source, boolean justData) Create a new bean, copying from another one. | public static MetaDD | read(java.io.File f) | public static MetaDD | read(java.io.InputStream in) | public static MetaDD | read(org.xml.sax.InputSource in, boolean validate, org.xml.sax.EntityResolver er, org.xml.sax.ErrorHandler eh) | public static MetaDD | read(org.w3c.dom.Document document) | protected void | readFromDocument(org.w3c.dom.Document document) | public static MetaDD | readNoEntityResolver(java.io.InputStream in) Warning: in readNoEntityResolver character and entity references will
not be read from any DTD in the XML source. | public void | readNode(org.w3c.dom.Node node) | public void | readNode(org.w3c.dom.Node node, java.util.Map namespacePrefixes) | public int | removeFinder(String value) Search from the end looking for @param value, and then remove it. | public int | removeImport(String value) Search from the end looking for @param value, and then remove it. | public int | removeMetaElement(org.netbeans.modules.schema2beansdev.metadd.MetaElement value) Search from the end looking for @param value, and then remove it. | public void | setExtends(String value) | public void | setFinder(String[] value) | public void | setFinder(int index, String value) | public void | setImplements(String value) | public void | setImport(String[] value) | public void | setImport(int index, String value) | public void | setMetaElement(org.netbeans.modules.schema2beansdev.metadd.MetaElement[] value) | public void | setMetaElement(int index, org.netbeans.modules.schema2beansdev.metadd.MetaElement value) | public void | setSchemaLocation(String value) | public void | setThrowExceptions(boolean value) | public void | setVetoable(boolean value) | public int | sizeFinder() | public int | sizeImport() | public int | sizeMetaElement() | public String | toString() | public void | validate() | public void | write(java.io.File f) | public void | write(java.io.OutputStream out) | public void | write(java.io.OutputStream out, String encoding) | public void | write(java.io.Writer out, String encoding) Print this Java Bean to @param out including an XML header. | public void | writeNode(java.io.Writer out) | public void | writeNode(java.io.Writer out, String nodeName, String indent) | public void | writeNode(java.io.Writer out, String nodeName, String namespace, String indent, java.util.Map namespaceMap) It's not recommended to call this method directly. | public static void | writeXML(java.io.Writer out, String msg) Takes some text to be printed into an XML stream and escapes any
characters that might make it invalid XML (like '<'). | public static void | writeXML(java.io.Writer out, String msg, boolean attribute) | public static void | writeXML(java.io.Writer out, char msg, boolean attribute) |
SCHEMALOCATION | final public static String SCHEMALOCATION(Code) | | |
THROW_EXCEPTIONS | final public static String THROW_EXCEPTIONS(Code) | | |
MetaDD | public MetaDD()(Code) | | Normal starting point constructor.
|
_setSchemaLocation | public void _setSchemaLocation(String location)(Code) | | |
childBeans | public void childBeans(boolean recursive, java.util.List beans)(Code) | | Put all child beans into the beans list.
|
hashCode | public int hashCode()(Code) | | |
isThrowExceptions | public boolean isThrowExceptions()(Code) | | |
isVetoable | public boolean isVetoable()(Code) | | |
nameChild | public String nameChild(Object childObj, boolean returnConstName, boolean returnSchemaName)(Code) | | Parameters: childObj - The child object to search for Parameters: returnSchemaName - Whether or not the schema name should be returned or the property name null if not found |
nameChild | public String nameChild(Object childObj, boolean returnConstName, boolean returnSchemaName, boolean returnXPathName)(Code) | | Parameters: childObj - The child object to search for Parameters: returnSchemaName - Whether or not the schema name should be returned or the property name null if not found |
removeFinder | public int removeFinder(String value)(Code) | | Search from the end looking for @param value, and then remove it.
|
removeImport | public int removeImport(String value)(Code) | | Search from the end looking for @param value, and then remove it.
|
setFinder | public void setFinder(int index, String value)(Code) | | |
setImport | public void setImport(int index, String value)(Code) | | |
setSchemaLocation | public void setSchemaLocation(String value)(Code) | | |
setThrowExceptions | public void setThrowExceptions(boolean value)(Code) | | |
setVetoable | public void setVetoable(boolean value)(Code) | | |
sizeFinder | public int sizeFinder()(Code) | | |
sizeImport | public int sizeImport()(Code) | | |
sizeMetaElement | public int sizeMetaElement()(Code) | | |
validate | public void validate() throws org.netbeans.modules.schema2beansdev.metadd.MetaDD.ValidateException(Code) | | |
write | public void write(java.io.Writer out, String encoding) throws java.io.IOException(Code) | | Print this Java Bean to @param out including an XML header.
Parameters: encoding - is the encoding style that @param out was opened with. |
|
|