org.jbind.xml.facade
Class XmlCode

java.lang.Object
  extended byorg.jbind.xml.facade.XmlCode
All Implemented Interfaces:
IXmlCode
Direct Known Subclasses:
ConfigurationCode

public class XmlCode
extends java.lang.Object
implements IXmlCode


Constructor Summary
XmlCode(org.xml.sax.InputSource anInputSource, IDataContext aContext)
           
XmlCode(java.net.URL aUrl, IDataContext aContext)
           
 
Method Summary
 IAnyTypeData getCode()
          Gets the XML code.
 java.lang.String getUrl()
          Gets the URL of the XML instance document of the XML code.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlCode

public XmlCode(org.xml.sax.InputSource anInputSource,
               IDataContext aContext)

XmlCode

public XmlCode(java.net.URL aUrl,
               IDataContext aContext)
Method Detail

getUrl

public java.lang.String getUrl()
Description copied from interface: IXmlCode
Gets the URL of the XML instance document of the XML code.

Specified by:
getUrl in interface IXmlCode
Returns:
(required).

getCode

public IAnyTypeData getCode()
                     throws XmlException
Description copied from interface: IXmlCode
Gets the XML code.

Specified by:
getCode in interface IXmlCode
Returns:
(required).
Throws:
XmlException - Raised if the XML instance document could not be instantiated properly.