Java Doc for BeanGraph.java in  » IDE-Netbeans » schema2beans » org » netbeans » modules » schema2beansdev » beangraph » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Netbeans » schema2beans » org.netbeans.modules.schema2beansdev.beangraph 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.netbeans.modules.schema2beansdev.beangraph.BeanGraph

BeanGraph
public class BeanGraph implements org.netbeans.modules.schema2beansdev.beangraph.CommonBean(Code)

Inner Class :public static class ValidateException extends Exception

Field Summary
final public static  StringSCHEMA_TYPE_MAPPING
    

Constructor Summary
public  BeanGraph()
     Normal starting point constructor.
public  BeanGraph(org.netbeans.modules.schema2beansdev.beangraph.BeanGraph source)
    
public  BeanGraph(org.netbeans.modules.schema2beansdev.beangraph.BeanGraph source, boolean justData)
    

Method Summary
public  String_getSchemaLocation()
    
public  void_setSchemaLocation(String location)
    
public  intaddSchemaTypeMapping(org.netbeans.modules.schema2beansdev.beangraph.SchemaTypeMappingType value)
    
public  voidchangePropertyByName(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  voidchildBeans(boolean recursive, java.util.List beans)
     Put all child beans into the beans list.
public  booleanequals(Object o)
    
public  booleanequals(org.netbeans.modules.schema2beansdev.beangraph.BeanGraph inst)
    
public  ObjectfetchPropertyByName(String name)
    
public  java.util.ListfetchSchemaTypeMappingList()
    
public  org.netbeans.modules.schema2beansdev.beangraph.SchemaTypeMappingType[]getSchemaTypeMapping()
    
public  org.netbeans.modules.schema2beansdev.beangraph.SchemaTypeMappingTypegetSchemaTypeMapping(int index)
    
public  inthashCode()
    
public  StringnameChild(Object childObj)
    
public  StringnameChild(Object childObj, boolean returnConstName, boolean returnSchemaName)
    
public  StringnameChild(Object childObj, boolean returnConstName, boolean returnSchemaName, boolean returnXPathName)
    
public  StringnameSelf()
    
public  org.netbeans.modules.schema2beansdev.beangraph.SchemaTypeMappingTypenewSchemaTypeMappingType()
     Create a new bean using it's default constructor.
public  org.netbeans.modules.schema2beansdev.beangraph.SchemaTypeMappingTypenewSchemaTypeMappingType(SchemaTypeMappingType source, boolean justData)
     Create a new bean, copying from another one.
public static  BeanGraphread(java.io.File f)
    
public static  BeanGraphread(java.io.InputStream in)
    
public static  BeanGraphread(org.xml.sax.InputSource in, boolean validate, org.xml.sax.EntityResolver er, org.xml.sax.ErrorHandler eh)
    
public static  BeanGraphread(org.w3c.dom.Document document)
    
protected  voidreadFromDocument(org.w3c.dom.Document document)
    
public static  BeanGraphreadNoEntityResolver(java.io.InputStream in)
     Warning: in readNoEntityResolver character and entity references will not be read from any DTD in the XML source.
public  voidreadNode(org.w3c.dom.Node node)
    
public  voidreadNode(org.w3c.dom.Node node, java.util.Map namespacePrefixes)
    
public  intremoveSchemaTypeMapping(org.netbeans.modules.schema2beansdev.beangraph.SchemaTypeMappingType value)
     Search from the end looking for @param value, and then remove it.
public  voidsetSchemaTypeMapping(org.netbeans.modules.schema2beansdev.beangraph.SchemaTypeMappingType[] value)
    
public  voidsetSchemaTypeMapping(int index, org.netbeans.modules.schema2beansdev.beangraph.SchemaTypeMappingType value)
    
public  intsizeSchemaTypeMapping()
    
public  StringtoString()
    
public  voidvalidate()
    
public  voidwrite(java.io.File f)
    
public  voidwrite(java.io.OutputStream out)
    
public  voidwrite(java.io.OutputStream out, String encoding)
    
public  voidwrite(java.io.Writer out, String encoding)
     Print this Java Bean to @param out including an XML header.
public  voidwriteNode(java.io.Writer out)
    
public  voidwriteNode(java.io.Writer out, String nodeName, String indent)
    
public  voidwriteNode(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  voidwriteXML(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  voidwriteXML(java.io.Writer out, String msg, boolean attribute)
    
public static  voidwriteXML(java.io.Writer out, char msg, boolean attribute)
    

Field Detail
SCHEMA_TYPE_MAPPING
final public static String SCHEMA_TYPE_MAPPING(Code)




Constructor Detail
BeanGraph
public BeanGraph()(Code)
Normal starting point constructor.



BeanGraph
public BeanGraph(org.netbeans.modules.schema2beansdev.beangraph.BeanGraph source)(Code)
Deep copy



BeanGraph
public BeanGraph(org.netbeans.modules.schema2beansdev.beangraph.BeanGraph source, boolean justData)(Code)
Deep copy
Parameters:
  justData - just copy the XML relevant data




Method Detail
_getSchemaLocation
public String _getSchemaLocation()(Code)



_setSchemaLocation
public void _setSchemaLocation(String location)(Code)



addSchemaTypeMapping
public int addSchemaTypeMapping(org.netbeans.modules.schema2beansdev.beangraph.SchemaTypeMappingType value)(Code)



changePropertyByName
public void changePropertyByName(String name, Object value)(Code)



childBeans
public org.netbeans.modules.schema2beansdev.beangraph.CommonBean[] childBeans(boolean recursive)(Code)
Return an array of all of the properties that are beans and are set.



childBeans
public void childBeans(boolean recursive, java.util.List beans)(Code)
Put all child beans into the beans list.



equals
public boolean equals(Object o)(Code)



equals
public boolean equals(org.netbeans.modules.schema2beansdev.beangraph.BeanGraph inst)(Code)



fetchPropertyByName
public Object fetchPropertyByName(String name)(Code)



fetchSchemaTypeMappingList
public java.util.List fetchSchemaTypeMappingList()(Code)



getSchemaTypeMapping
public org.netbeans.modules.schema2beansdev.beangraph.SchemaTypeMappingType[] getSchemaTypeMapping()(Code)



getSchemaTypeMapping
public org.netbeans.modules.schema2beansdev.beangraph.SchemaTypeMappingType getSchemaTypeMapping(int index)(Code)



hashCode
public int hashCode()(Code)



nameChild
public String nameChild(Object childObj)(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



nameSelf
public String nameSelf()(Code)



newSchemaTypeMappingType
public org.netbeans.modules.schema2beansdev.beangraph.SchemaTypeMappingType newSchemaTypeMappingType()(Code)
Create a new bean using it's default constructor. This does not add it to any bean graph.



newSchemaTypeMappingType
public org.netbeans.modules.schema2beansdev.beangraph.SchemaTypeMappingType newSchemaTypeMappingType(SchemaTypeMappingType source, boolean justData)(Code)
Create a new bean, copying from another one. This does not add it to any bean graph.



read
public static BeanGraph read(java.io.File f) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException(Code)



read
public static BeanGraph read(java.io.InputStream in) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException(Code)



read
public static BeanGraph read(org.xml.sax.InputSource in, boolean validate, org.xml.sax.EntityResolver er, org.xml.sax.ErrorHandler eh) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException(Code)



read
public static BeanGraph read(org.w3c.dom.Document document)(Code)



readFromDocument
protected void readFromDocument(org.w3c.dom.Document document)(Code)



readNoEntityResolver
public static BeanGraph readNoEntityResolver(java.io.InputStream in) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException(Code)
Warning: in readNoEntityResolver character and entity references will not be read from any DTD in the XML source. However, this way is faster since no DTDs are looked up (possibly skipping network access) or parsed.



readNode
public void readNode(org.w3c.dom.Node node)(Code)



readNode
public void readNode(org.w3c.dom.Node node, java.util.Map namespacePrefixes)(Code)



removeSchemaTypeMapping
public int removeSchemaTypeMapping(org.netbeans.modules.schema2beansdev.beangraph.SchemaTypeMappingType value)(Code)
Search from the end looking for @param value, and then remove it.



setSchemaTypeMapping
public void setSchemaTypeMapping(org.netbeans.modules.schema2beansdev.beangraph.SchemaTypeMappingType[] value)(Code)



setSchemaTypeMapping
public void setSchemaTypeMapping(int index, org.netbeans.modules.schema2beansdev.beangraph.SchemaTypeMappingType value)(Code)



sizeSchemaTypeMapping
public int sizeSchemaTypeMapping()(Code)



toString
public String toString()(Code)



validate
public void validate() throws org.netbeans.modules.schema2beansdev.beangraph.BeanGraph.ValidateException(Code)



write
public void write(java.io.File f) throws java.io.IOException(Code)



write
public void write(java.io.OutputStream out) throws java.io.IOException(Code)



write
public void write(java.io.OutputStream out, String encoding) throws java.io.IOException(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.



writeNode
public void writeNode(java.io.Writer out) throws java.io.IOException(Code)



writeNode
public void writeNode(java.io.Writer out, String nodeName, String indent) throws java.io.IOException(Code)



writeNode
public void writeNode(java.io.Writer out, String nodeName, String namespace, String indent, java.util.Map namespaceMap) throws java.io.IOException(Code)
It's not recommended to call this method directly.



writeXML
public static void writeXML(java.io.Writer out, String msg) throws java.io.IOException(Code)
Takes some text to be printed into an XML stream and escapes any characters that might make it invalid XML (like '<').



writeXML
public static void writeXML(java.io.Writer out, String msg, boolean attribute) throws java.io.IOException(Code)



writeXML
public static void writeXML(java.io.Writer out, char msg, boolean attribute) throws java.io.IOException(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.