|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 IImplBuilder
aUrl
- (required).
XmlException
- Raised iff the no valid document can be returned.public IDocumentImpl buildDocument(org.xml.sax.InputSource anInputSource) throws XmlException
buildDocument
in interface IImplBuilder
XmlException
public void startDocument(org.xml.sax.InputSource anInputSource, INamespaceContext aNamespaceContext)
IContentHandler
startDocument
in interface IContentHandler
anInputSource
- (required).aNamespaceContext
- (required).public void endDocument(org.xml.sax.InputSource anInputSource, INamespaceContext aNamespaceContext)
IContentHandler
endDocument
in interface IContentHandler
anInputSource
- (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 IContentHandler
aQName
- (required). The name of the element.anAttributes
- (required). Maps IQName
s 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 IContentHandler
aQName
- (required). The name of the element.anAttributes
- (required). Maps IQName
s 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 IContentHandler
aString
- (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 IContentHandler
aParseMethod
- (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 IContentHandler
public void fatalError(IMessage aMessage)
IErrorHandler
fatalError
in interface IErrorHandler
aMessage
- (required).public boolean error(IMessage aMessage)
IErrorHandler
error
in interface IErrorHandler
aMessage
- (required).
true
is returned then the parsing is aborted
otherwise the parsing is continued.public boolean warning(IMessage aMessage)
IErrorHandler
warning
in interface IErrorHandler
aMessage
- (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 IErrorHandler
anException
- (required).anInputSource
- (required). The source that is parsed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |