Method Summary |
|
public void | addDatatypeDefinition(IDatatypeDefinition datatypeDef) |
public void | addElementDefinition(IElementDefinition elementDefinition) Add Element Definitions for the MDL document. |
public void | addMDLDocReference(IMDLDocReference docReference) Add document references (includes and imports). |
public void | addMessageDefinition(IMessageDefinition messageDef) Add Message Definitions for the MDL document. |
public void | addProperty(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 IDatatypeDefinition | getDatatypeDefinition(String namespaceURI, String localName) Get the specificed DatatypeDefinition of MDL document. |
public IElementDefinition | getElementDefinition(String namespaceURI, String localName) Get the specificed ElementDefinition in the MDL document. |
public byte | getElementFormDefault() Get elementFormDefault attribute of MDL document. |
public IMessageDefinition | getMessageDefinition(String namespaceURI, String localName) Get the specificed Messagedefinition of MDL document. |
public IProperty | getProperty(String namespaceURI, String localName) Get the specificed Property of MDL document.
Parameters: name - the value of name attribute. |
public QName | getQNameFromReference(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 String | getTargetNamespace() Get targetNamespace attribute of MDL document. |
public void | removeDatatypeDefinition(String namespaceURI, String localName) |
public void | removeElementDefinition(String namespaceURI, String localName) Remove specificed Element Definition. |
public void | removeMDLDocReference(IMDLDocReference docReference) Remove document references (includes and imports). |
public void | removeMessageDefinition(String namespaceURI, String localName) |
public void | removeProperty(String namespaceURI, String localName) Remove specificed global property definition. |
public String | resolveNamespacePrefix(String prefix) Returns the namespace URI for the provided prefix
using the namespaces defined in this MDL document. |
public void | serialize(OutputStream outputStream) |
public void | setElementFormDefault(byte elementFormDefault) Set the elementFormDefault attribute of MDL document. |
public void | setNamespaceMapping(String prefix, String URI) Adds a prefix-URI namespace mapping that can be used
later to resolve the URI from a prefix. |
public void | setTargetNamespace(String targetNamespace) Set targetNamespace attribute of MDL document. |
public void | toSchema(OutputStream outputStream) Convert to XML Schema that can validate the XML representation of the messages. |