|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jbind.xml.instance.builder.ImplBuilder
Builds implementation documents.
| Constructor Summary | |
ImplBuilder(org.xml.sax.EntityResolver anEntityResolver,
IDataImplFactory anImplFactory,
IDataBuilder aDataBuilder,
IDataValidator aDataValidator,
IDataContext aDataContext)
|
|
| Method Summary | |
IDocumentImpl |
buildDocument(org.xml.sax.InputSource anInputSource)
|
IDocumentImpl |
buildDocument(java.net.URL aUrl)
Builds a data document. |
void |
endDocument(org.xml.sax.InputSource anInputSource,
INamespaceContext aNamespaceContext)
Signals the end of a document. |
void |
endElement(QualifiedName aQName,
java.util.Map anAttributes,
int aLine,
int aColumn,
org.xml.sax.InputSource anInputSource,
INamespaceContext aNamespaceContext)
Signals the end of an element. |
void |
endXInclude()
Signals the end of an XInclude. |
boolean |
error(IMessage aMessage)
Signals an error. |
void |
exception(java.lang.Exception anException,
org.xml.sax.InputSource anInputSource)
Signals that an exception occured. |
void |
fatalError(IMessage aMessage)
Signals a fatal error. |
void |
startDocument(org.xml.sax.InputSource anInputSource,
INamespaceContext aNamespaceContext)
Signals the start of a document. |
void |
startElement(QualifiedName aQName,
java.util.Map anAttributes,
int aLine,
int aColumn,
org.xml.sax.InputSource anInputSource,
INamespaceContext aNamespaceContext)
Signals the start of an element. |
void |
startXInclude(java.lang.String aParseMethod,
java.net.URL aUrl,
java.lang.String aFragementId)
Signals that an XInclude started. |
void |
text(java.lang.String aString,
int aLine,
int aColumn,
org.xml.sax.InputSource anInputSource,
INamespaceContext aNamespaceContext)
Signals text. |
boolean |
warning(IMessage aMessage)
Signals a warning. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ImplBuilder(org.xml.sax.EntityResolver anEntityResolver,
IDataImplFactory anImplFactory,
IDataBuilder aDataBuilder,
IDataValidator aDataValidator,
IDataContext aDataContext)
| Method Detail |
public IDocumentImpl buildDocument(java.net.URL aUrl)
throws XmlException
IImplBuilder
buildDocument in interface IImplBuilderaUrl - (required).
XmlException - Raised iff the no valid document can be returned.
public IDocumentImpl buildDocument(org.xml.sax.InputSource anInputSource)
throws XmlException
buildDocument in interface IImplBuilderXmlException
public void startDocument(org.xml.sax.InputSource anInputSource,
INamespaceContext aNamespaceContext)
IContentHandler
startDocument in interface IContentHandleranInputSource - (required).aNamespaceContext - (required).
public void endDocument(org.xml.sax.InputSource anInputSource,
INamespaceContext aNamespaceContext)
IContentHandler
endDocument in interface IContentHandleranInputSource - (required).aNamespaceContext - (required).
public void startElement(QualifiedName aQName,
java.util.Map anAttributes,
int aLine,
int aColumn,
org.xml.sax.InputSource anInputSource,
INamespaceContext aNamespaceContext)
throws java.lang.Exception
IContentHandler
startElement in interface IContentHandleraQName - (required). The name of the element.anAttributes - (required). Maps IQNames to
AttributeData.aLine - The current line.aColumn - The current column.anInputSource - (required).aNamespaceContext - (required).
java.lang.Exception
public void endElement(QualifiedName aQName,
java.util.Map anAttributes,
int aLine,
int aColumn,
org.xml.sax.InputSource anInputSource,
INamespaceContext aNamespaceContext)
throws java.lang.Exception
IContentHandler
endElement in interface IContentHandleraQName - (required). The name of the element.anAttributes - (required). Maps IQNames to
AttributeData.aLine - The current line.aColumn - The current column.anInputSource - (required).aNamespaceContext - (required).
java.lang.Exception
public void text(java.lang.String aString,
int aLine,
int aColumn,
org.xml.sax.InputSource anInputSource,
INamespaceContext aNamespaceContext)
throws java.lang.Exception
IContentHandler
text in interface IContentHandleraString - (required).aLine - The current line.aColumn - The current column.anInputSource - (required).aNamespaceContext - (required).
java.lang.Exception
public void startXInclude(java.lang.String aParseMethod,
java.net.URL aUrl,
java.lang.String aFragementId)
IContentHandler
startXInclude in interface IContentHandleraParseMethod - (required). There are 3 possible values:
aUrl - (required). The resource that is included or that could
not be accessed (in case that the parse method is "fallback"). A content handler
may use this URL for example to generate xml:base attributes for included
elements.public void endXInclude()
IContentHandler
endXInclude in interface IContentHandlerpublic void fatalError(IMessage aMessage)
IErrorHandler
fatalError in interface IErrorHandleraMessage - (required).public boolean error(IMessage aMessage)
IErrorHandler
error in interface IErrorHandleraMessage - (required).
true is returned then the parsing is aborted
otherwise the parsing is continued.public boolean warning(IMessage aMessage)
IErrorHandler
warning in interface IErrorHandleraMessage - (required).
true is returned then the parsing is aborted
otherwise the parsing is continued.
public void exception(java.lang.Exception anException,
org.xml.sax.InputSource anInputSource)
IErrorHandler
exception in interface IErrorHandleranException - (required).anInputSource - (required). The source that is parsed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||