Java Doc for IMDLDocument.java in  » ESB » cbesb-1.2 » com » bostechcorp » cbesb » common » mdl » 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 » ESB » cbesb 1.2 » com.bostechcorp.cbesb.common.mdl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.bostechcorp.cbesb.common.mdl.IMDLDocument

All known Subclasses:   com.bostechcorp.cbesb.common.mdl.impl.MDLDocumentImpl,
IMDLDocument
public interface IMDLDocument (Code)
Provides methods to manipulate an MDL document. Some of the functionality provided: 1. Add/Remove document references (includes and imports) 2. Add/Remove Message Definitions 3. Add/Remove Element Definitions 4. Add/Remove Datatype Definitions 5. Serialize to MDL formatted XML file 6. Convert to XML Schema that can validate the XML representation of the messages.


Field Summary
final public static  byteELEMENT_FORM_DEFAULT_QUALIFIED
     The qualified is the value of the elementFormDefault attribute.
final public static  byteELEMENT_FORM_DEFAULT_UNQUALIFIED
     The unqualified is the value of the elementFormDefault attribute.


Method Summary
public  voidaddDatatypeDefinition(IDatatypeDefinition datatypeDef)
    
public  voidaddElementDefinition(IElementDefinition elementDefinition)
     Add Element Definitions for the MDL document.
public  voidaddMDLDocReference(IMDLDocReference docReference)
     Add document references (includes and imports).
public  voidaddMessageDefinition(IMessageDefinition messageDef)
     Add Message Definitions for the MDL document.
public  voidaddProperty(IProperty property)
     Add global property definition for the MDL document.
public  IDatatypeDefinition[]getAllDatatypeDefinitions()
     Get all of the DatatypeDefinitions of MDL document.
public  IElementDefinition[]getAllElementDefinitions()
     Get all of the ElementDefinitions of MDL document.
public  IMDLDocReference[]getAllMDLDocReferences()
     Get all docReference attributes of MDLDocument.
public  IMessageDefinition[]getAllMessageDefinitions()
     Get all of the MessageDefinitions of MDL document.
public  IProperty[]getAllProperties()
     Get all of the Properties of MDL document.
public  IDatatypeDefinition[]getAllVisibleDatatypeDefinitions()
    
public  IElementDefinition[]getAllVisibleElementDefinitions()
     Get all of the visible ElementDefinitions of MDL document that include the import and include files.
public  IMessageDefinition[]getAllVisibleMessageDefinitions()
     Get all of the visible MessageDefinitions of MDL document that include the import and include files.
public  IProperty[]getAllVisibleProperties()
     Get all of the visible Properties of MDL document that include the import and include files.
public  IDatatypeDefinitiongetDatatypeDefinition(String namespaceURI, String localName)
     Get the specificed DatatypeDefinition of MDL document.
public  IElementDefinitiongetElementDefinition(String namespaceURI, String localName)
     Get the specificed ElementDefinition in the MDL document.
public  bytegetElementFormDefault()
     Get elementFormDefault attribute of MDL document.
public  IMessageDefinitiongetMessageDefinition(String namespaceURI, String localName)
     Get the specificed Messagedefinition of MDL document.
public  IPropertygetProperty(String namespaceURI, String localName)
     Get the specificed Property of MDL document.
Parameters:
  name - the value of name attribute.
public  QNamegetQNameFromReference(String reference)
     Resolves an object reference (like an element reference, or property reference) that contains only a local name, or a namespace prefix and local name.
public  StringgetTargetNamespace()
     Get targetNamespace attribute of MDL document.
public  voidremoveDatatypeDefinition(String namespaceURI, String localName)
    
public  voidremoveElementDefinition(String namespaceURI, String localName)
     Remove specificed Element Definition.
public  voidremoveMDLDocReference(IMDLDocReference docReference)
     Remove document references (includes and imports).
public  voidremoveMessageDefinition(String namespaceURI, String localName)
    
public  voidremoveProperty(String namespaceURI, String localName)
     Remove specificed global property definition.
public  StringresolveNamespacePrefix(String prefix)
     Returns the namespace URI for the provided prefix using the namespaces defined in this MDL document.
public  voidserialize(OutputStream outputStream)
    
public  voidsetElementFormDefault(byte elementFormDefault)
     Set the elementFormDefault attribute of MDL document.
public  voidsetNamespaceMapping(String prefix, String URI)
     Adds a prefix-URI namespace mapping that can be used later to resolve the URI from a prefix.
public  voidsetTargetNamespace(String targetNamespace)
     Set targetNamespace attribute of MDL document.
public  voidtoSchema(OutputStream outputStream)
     Convert to XML Schema that can validate the XML representation of the messages.

Field Detail
ELEMENT_FORM_DEFAULT_QUALIFIED
final public static byte ELEMENT_FORM_DEFAULT_QUALIFIED(Code)
The qualified is the value of the elementFormDefault attribute.



ELEMENT_FORM_DEFAULT_UNQUALIFIED
final public static byte ELEMENT_FORM_DEFAULT_UNQUALIFIED(Code)
The unqualified is the value of the elementFormDefault attribute.





Method Detail
addDatatypeDefinition
public void addDatatypeDefinition(IDatatypeDefinition datatypeDef)(Code)
Add Datatype Definitions
Parameters:
  datatypeDef -



addElementDefinition
public void addElementDefinition(IElementDefinition elementDefinition)(Code)
Add Element Definitions for the MDL document.
Parameters:
  elementDefinition - IElementDefinition



addMDLDocReference
public void addMDLDocReference(IMDLDocReference docReference)(Code)
Add document references (includes and imports).
Parameters:
  docReference - IMDLDocReference



addMessageDefinition
public void addMessageDefinition(IMessageDefinition messageDef)(Code)
Add Message Definitions for the MDL document.
Parameters:
  messageDef - IMessageDefinition



addProperty
public void addProperty(IProperty property)(Code)
Add global property definition for the MDL document.
Parameters:
  name - The value of name attribute.
Parameters:
  value - The value of value attribute.



getAllDatatypeDefinitions
public IDatatypeDefinition[] getAllDatatypeDefinitions()(Code)
Get all of the DatatypeDefinitions of MDL document. DatatypeDefinition[]



getAllElementDefinitions
public IElementDefinition[] getAllElementDefinitions()(Code)
Get all of the ElementDefinitions of MDL document. ElementDefinition[]



getAllMDLDocReferences
public IMDLDocReference[] getAllMDLDocReferences()(Code)
Get all docReference attributes of MDLDocument. MDLDocReference[]



getAllMessageDefinitions
public IMessageDefinition[] getAllMessageDefinitions()(Code)
Get all of the MessageDefinitions of MDL document. MessageDefinition[]



getAllProperties
public IProperty[] getAllProperties()(Code)
Get all of the Properties of MDL document. IProperty[]



getAllVisibleDatatypeDefinitions
public IDatatypeDefinition[] getAllVisibleDatatypeDefinitions()(Code)
DatatypeDefinition[]



getAllVisibleElementDefinitions
public IElementDefinition[] getAllVisibleElementDefinitions()(Code)
Get all of the visible ElementDefinitions of MDL document that include the import and include files. ElementDefinition[]



getAllVisibleMessageDefinitions
public IMessageDefinition[] getAllVisibleMessageDefinitions()(Code)
Get all of the visible MessageDefinitions of MDL document that include the import and include files. MessageDefinition[]



getAllVisibleProperties
public IProperty[] getAllVisibleProperties()(Code)
Get all of the visible Properties of MDL document that include the import and include files.



getDatatypeDefinition
public IDatatypeDefinition getDatatypeDefinition(String namespaceURI, String localName)(Code)
Get the specificed DatatypeDefinition of MDL document.
Parameters:
  namespaceURI - String
Parameters:
  localName - String DatatypeDefinition



getElementDefinition
public IElementDefinition getElementDefinition(String namespaceURI, String localName)(Code)
Get the specificed ElementDefinition in the MDL document.
Parameters:
  namespaceURI - String
Parameters:
  localName - String ElementDefinition



getElementFormDefault
public byte getElementFormDefault()(Code)
Get elementFormDefault attribute of MDL document. Returns the elementFormDefault.



getMessageDefinition
public IMessageDefinition getMessageDefinition(String namespaceURI, String localName)(Code)
Get the specificed Messagedefinition of MDL document.
Parameters:
  namespaceURI - String
Parameters:
  localName - String MessageDefinition



getProperty
public IProperty getProperty(String namespaceURI, String localName)(Code)
Get the specificed Property of MDL document.
Parameters:
  name - the value of name attribute. IProperty



getQNameFromReference
public QName getQNameFromReference(String reference)(Code)
Resolves an object reference (like an element reference, or property reference) that contains only a local name, or a namespace prefix and local name.
Parameters:
  reference - String array containing 2 entries:1 - Namespace URL, empty string if no namespace is used2 - local name.



getTargetNamespace
public String getTargetNamespace()(Code)
Get targetNamespace attribute of MDL document. Returns the targetNamespace.



removeDatatypeDefinition
public void removeDatatypeDefinition(String namespaceURI, String localName)(Code)
Remove Datatype Definitions
Parameters:
  namespaceURI -
Parameters:
  localName -



removeElementDefinition
public void removeElementDefinition(String namespaceURI, String localName)(Code)
Remove specificed Element Definition.
Parameters:
  namespaceURI - String
Parameters:
  localName - String



removeMDLDocReference
public void removeMDLDocReference(IMDLDocReference docReference)(Code)
Remove document references (includes and imports).
Parameters:
  docReference -



removeMessageDefinition
public void removeMessageDefinition(String namespaceURI, String localName)(Code)
Remove the specificed MessageDefinitions
Parameters:
  namespaceURI - String
Parameters:
  localName - String



removeProperty
public void removeProperty(String namespaceURI, String localName)(Code)
Remove specificed global property definition.
Parameters:
  name - the value of name attribute.



resolveNamespacePrefix
public String resolveNamespacePrefix(String prefix)(Code)
Returns the namespace URI for the provided prefix using the namespaces defined in this MDL document.
Parameters:
  prefix -



serialize
public void serialize(OutputStream outputStream)(Code)
Serialize to MDL formatted XML file
Parameters:
  outputStream -



setElementFormDefault
public void setElementFormDefault(byte elementFormDefault)(Code)
Set the elementFormDefault attribute of MDL document.
Parameters:
  elementFormDefault - The elementFormDefault to set.



setNamespaceMapping
public void setNamespaceMapping(String prefix, String URI)(Code)
Adds a prefix-URI namespace mapping that can be used later to resolve the URI from a prefix.
Parameters:
  prefix -
Parameters:
  URI -



setTargetNamespace
public void setTargetNamespace(String targetNamespace)(Code)
Set targetNamespace attribute of MDL document.
Parameters:
  targetNamespace - The targetNamespace to set.



toSchema
public void toSchema(OutputStream outputStream)(Code)
Convert to XML Schema that can validate the XML representation of the messages.
Parameters:
  outputStream -



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