| java.lang.Object org.netbeans.modules.schema2beansdev.beangraph.BeanGraph
Inner Class :public static class ValidateException extends Exception | |
Method Summary | |
public String | _getSchemaLocation() | public void | _setSchemaLocation(String location) | public int | addSchemaTypeMapping(org.netbeans.modules.schema2beansdev.beangraph.SchemaTypeMappingType value) | public void | changePropertyByName(String name, Object value) | public org.netbeans.modules.schema2beansdev.beangraph.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.beangraph.BeanGraph inst) | public Object | fetchPropertyByName(String name) | public java.util.List | fetchSchemaTypeMappingList() | public org.netbeans.modules.schema2beansdev.beangraph.SchemaTypeMappingType[] | getSchemaTypeMapping() | public org.netbeans.modules.schema2beansdev.beangraph.SchemaTypeMappingType | getSchemaTypeMapping(int index) | public int | hashCode() | 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.beangraph.SchemaTypeMappingType | newSchemaTypeMappingType() Create a new bean using it's default constructor. | public org.netbeans.modules.schema2beansdev.beangraph.SchemaTypeMappingType | newSchemaTypeMappingType(SchemaTypeMappingType source, boolean justData) Create a new bean, copying from another one. | public static BeanGraph | read(java.io.File f) | public static BeanGraph | read(java.io.InputStream in) | public static BeanGraph | read(org.xml.sax.InputSource in, boolean validate, org.xml.sax.EntityResolver er, org.xml.sax.ErrorHandler eh) | public static BeanGraph | read(org.w3c.dom.Document document) | protected void | readFromDocument(org.w3c.dom.Document document) | public static BeanGraph | 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 | removeSchemaTypeMapping(org.netbeans.modules.schema2beansdev.beangraph.SchemaTypeMappingType value) Search from the end looking for @param value, and then remove it. | public void | setSchemaTypeMapping(org.netbeans.modules.schema2beansdev.beangraph.SchemaTypeMappingType[] value) | public void | setSchemaTypeMapping(int index, org.netbeans.modules.schema2beansdev.beangraph.SchemaTypeMappingType value) | public int | sizeSchemaTypeMapping() | 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) |
SCHEMA_TYPE_MAPPING | final public static String SCHEMA_TYPE_MAPPING(Code) | | |
BeanGraph | public BeanGraph()(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) | | |
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 |
sizeSchemaTypeMapping | public int sizeSchemaTypeMapping()(Code) | | |
validate | public void validate() throws org.netbeans.modules.schema2beansdev.beangraph.BeanGraph.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. |
|
|