Download - Tib XML Validate
All Classes
Overview Package Class Use Tree Deprecated Index HelpPREV NEXT FRAMES NO FRAMES
Packagescom.tibco.xml.adjuncts.channel com.tibco.xml.channel.boundary com.tibco.xml.channel.content com.tibco.xml.channel.context com.tibco.xml.channel.dom com.tibco.xml.channel.entity com.tibco.xml.channel.error com.tibco.xml.channel.property com.tibco.xml.channel.remark com.tibco.xml.channel.stream com.tibco.xml.channel.stream.helpers com.tibco.xml.channel.typeuri com.tibco.xml.data.context com.tibco.xml.data.context.helpers com.tibco.xml.data.cursor com.tibco.xml.data.cursor.helpers com.tibco.xml.data.node com.tibco.xml.data.primitive com.tibco.xml.processor com.tibco.xml.runtime com.tibco.xml.runtime.data com.tibco.xml.schema com.tibco.xml.schema.channel com.tibco.xml.validation com.tibco.xml.validation.channel com.tibco.xml.validation.constraints com.tibco.xml.validation.helpers com.tibco.xml.validation.kernel com.tibco.xml.validation.scripting
TIBCO Extensibility XML Validate APIXML Validate is a Java library for performing validation of XML documents against DTDs and schemas of various dialects. See: Description
Validation Helperscom.tibco.xml.validation.helpers Ready-to-use validation patterns.
Validation Kernelcom.tibco.xml.validation.kernel Validation components that may be used to assemble a specialized validator.
Custom Extended Validationcom.tibco.xml.validation.constraints A mechanism for adding custom constraints to the validator.
Scripting Extended ValidationA mechanism for extending standard com.tibco.xml.validation.scripting validation using XML Processing Language (XPL) script.
All ClassesAdjunctConsumer AdjunctHandler AdjunctProvider AdjunctSupplier Aggregate BooleanHandler BooleanSupplier C14NSerializer ConstraintChecker ContentConsumer ContentFilter ContentProvider ContentSupplier ContentSupplierMulticast DefaultAdjunctCache DefaultAdjunctSupplier DefaultConstraintChecker DefaultConstraintViolation DefaultNamespaceConverter DefaultSchemaCache DefaultSchemaSupplier DefaultXmlStreamHandler DocumentBoundaryHandler
Schema Modelcom.tibco.xml.schema This package contains a collection of interfaces for representation of a schema. com.tibco.xml.schema.channel Schema provisioning interfaces.
Validation Filtercom.tibco.xml.validation XML Validation in a pure SAX 2.0 environment.
Other Packagescom.tibco.xml.adjuncts.channel com.tibco.xml.channel.boundary com.tibco.xml.channel.content com.tibco.xml.channel.context Provisioning of schema adjuncts. XML document boundary notifications. SAX content information channels. XML Context information channels.
DocumentBoundarySupplier DocumentConsumer DocumentLocatorConsumer DocumentLocatorProvider DocumentProvider DOM2Content DOM2XmlStream DOMHandler DOMSupplier DTDSupplier Entity EntityConsumer ErrorCode ErrorSupplier ErrorSupplierMulticast ExpandedName IBlackBox IConfigurable IConnectionBuilder IContextConsumer IContextProvider IFactory LocationHintHandler LocationHintSupplier MissingConnectionException NamespaceEntityConsumer NamespaceEntityResolver NamespaceResolver NamespaceToPrefixResolver NamespaceToPrefixResolver.NamespaceNotFoundException NativeSchemaProvider NewSchemaParser PrefixToNamespaceResolver PrefixToNamespaceResolver.PrefixNotFoundException PrintWriterErrorHandler PropertyConsumer PropertyHandler PropertyProvider PropertySupplier PropertySupplierMulticast QName SAXContent2DOM SAXContent2XmlStream SAXContentNormalizer SAXLocationHintSupplier SchemaException SchemaMap SchemaModelConsumer SchemaModelHandler SchemaModelProvider SchemaModelSupplier ScriptingAdjunctValidator ScriptingSimpleTypeCompilers ScriptingValidatorMk1 SmAttribute SmAttributeGroup SmComponent SmConverter SmDataComponent SmElement
com.tibco.xml.channel.dom com.tibco.xml.channel.entity com.tibco.xml.channel.error com.tibco.xml.channel.property com.tibco.xml.channel.remark com.tibco.xml.channel.stream
This package contains interfaces and implementations supporting org.w3c.dom information channels. Entity resolution. Error information channels. Property information channels. Remark information channels. XML stream information channels.
com.tibco.xml.channel.stream.helpers Utility classes for operating on XML streams. com.tibco.xml.channel.typeuri com.tibco.xml.data.context TypeURI information channels. The XmlContext interface, representing a context in an XML information set. Utility classes for operating on XML contexts. The XmlCursor interface, representing a cursor over an XML information set. Utility classes for operating on XML cursors. The XmlNode interface, representing information common to an XML context and an XML cursor. XML primitive types. Processors for manipulating XML information sets. This is the main XML Runtime package. This package contains some standard "channel" interfaces for XML Runtime. Interfaces used by the validator to communicate schema location hints in documents.
com.tibco.xml.data.context.helpers com.tibco.xml.data.cursor com.tibco.xml.data.cursor.helpers
com.tibco.xml.data.node com.tibco.xml.data.primitive com.tibco.xml.processor com.tibco.xml.runtime
com.tibco.xml.runtime.data
com.tibco.xml.validation.channel
XML Validate is a Java library for performing validation of XML documents against DTDs and schemas of various dialects. The XML Validate APIs have been expanded to expose more capability and control to the integrator. In addition to the old API (in package com.tibco.xml.validation), which provides simple integration in terms of a SAX XMLFilter, an entirely new set of interfaces has been opened up. The centerpiece of these APIs is the XML Validation Kernel API. Other APIs provide fine-grained control over schema provisioning, and extended validation constraints The overall architecture of the new XML Validate APIs is documented in "Validation - Product Overview.doc". Copyright 2001 TIBCO Extensibility, Inc. All Rights Reserved. Overview Package Class Use Tree Deprecated Index HelpPREV NEXT FRAMES NO FRAMES
Copyright 2001 TIBCO Extensibility, Inc. All Rights Reserved.
SmException SmFactory SmFlavor SmIdentityConstraint SmIdentityConstraint.Path SmMetaForeignAttribute SmMetaInfo SmModelGroup SmNotation SmParser SmParticle SmParticleTerm SmSchema SmSchemaError SmSchemaError.Handler SmSchemaError.Source SmSchemaSpace SmSupport SmType SmTypeFacet SmVisitor SmVisitor.Default SmVisitor.Failure SmVisitor.Result SmVisitor.Success SmWildcard StringHandler StringSupplier StringValidation TypeURIHandler TypeURISupplier UndefinedPropertyException UnsupportedAxisException UriHandler UriSupplier UrlHandler UrlSupplier ValidatingFilter_ExternalCache ValidatingFilter_InternalCache ValidationConstraintEngine ValidationControl ValidationFactory ValidationKernel ValidationUtilities Validator Validator_DOM_Remark_ExternalCache Validator_SAX_Error_ExternalCache Validator_SAX_Error_InternalCache Validator_SAX_Remark_ExternalCache Validator_SAX_Remark_InternalCache Version XmlContext XmlContextConsumer XmlContextOnXmlCursor XmlContextProvider XmlCursor XmlCursor4DOM XmlCursorNoNavigation XmlCursorOnXmlContext XmlCursorSupport
XmlNode XmlProps XmlReader XmlRemarkFilter XmlRemarkHandler XmlRemarkSupplier XmlRemarkSupplierMulticast XmlStream2DOM XmlStreamCompiler XmlStreamEnhancer XmlStreamFilter XmlStreamHandler XmlStreamMulticastHelper XmlStreamParser XmlStreamProfiler XmlStreamSerializer XmlStreamSimplEx XmlStreamSupplier XmlStreamSupplierMulticast XmlStreamTermination XmlStreamTracer XmlStreamUtilities XmlStringValue XmlTypes XMLValidationException XMLValidator XMLValidatorFilterImplMk1 XmlValue XPathHelper
All ClassesAdjunctConsumer AdjunctHandler AdjunctProvider AdjunctSupplier Aggregate BooleanHandler BooleanSupplier C14NSerializer ConstraintChecker ContentConsumer ContentFilter ContentProvider ContentSupplier ContentSupplierMulticast DefaultAdjunctCache DefaultAdjunctSupplier DefaultConstraintChecker DefaultConstraintViolation DefaultNamespaceConverter DefaultSchemaCache DefaultSchemaSupplier DefaultXmlStreamHandler DocumentBoundaryHandler DocumentBoundarySupplier DocumentConsumer DocumentLocatorConsumer DocumentLocatorProvider DocumentProvider DOM2Content DOM2XmlStream DOMHandler DOMSupplier DTDSupplier Entity EntityConsumer ErrorCode ErrorSupplier ErrorSupplierMulticast ExpandedName
IBlackBox IConfigurable IConnectionBuilder IContextConsumer IContextProvider IFactory LocationHintHandler LocationHintSupplier MissingConnectionException NamespaceEntityConsumer NamespaceEntityResolver NamespaceResolver NamespaceToPrefixResolver NamespaceToPrefixResolver.NamespaceNotFoundException NativeSchemaProvider NewSchemaParser PrefixToNamespaceResolver PrefixToNamespaceResolver.PrefixNotFoundException PrintWriterErrorHandler PropertyConsumer PropertyHandler PropertyProvider PropertySupplier PropertySupplierMulticast QName SAXContent2DOM SAXContent2XmlStream SAXContentNormalizer SAXLocationHintSupplier SchemaException SchemaMap SchemaModelConsumer SchemaModelHandler SchemaModelProvider SchemaModelSupplier ScriptingAdjunctValidator ScriptingSimpleTypeCompilers ScriptingValidatorMk1 SmAttribute SmAttributeGroup
SmComponent SmConverter SmDataComponent SmElement SmException SmFactory SmFlavor SmIdentityConstraint SmIdentityConstraint.Path SmMetaForeignAttribute SmMetaInfo SmModelGroup SmNotation SmParser SmParticle SmParticleTerm SmSchema SmSchemaError SmSchemaError.Handler SmSchemaError.Source SmSchemaSpace SmSupport SmType SmTypeFacet SmVisitor SmVisitor.Default SmVisitor.Failure SmVisitor.Result SmVisitor.Success SmWildcard StringHandler StringSupplier StringValidation TypeURIHandler TypeURISupplier UndefinedPropertyException UnsupportedAxisException UriHandler UriSupplier UrlHandler
UrlSupplier ValidatingFilter_ExternalCache ValidatingFilter_InternalCache ValidationConstraintEngine ValidationControl ValidationFactory ValidationKernel ValidationUtilities Validator Validator_DOM_Remark_ExternalCache Validator_SAX_Error_ExternalCache Validator_SAX_Error_InternalCache Validator_SAX_Remark_ExternalCache Validator_SAX_Remark_InternalCache Version XmlContext XmlContextConsumer XmlContextOnXmlCursor XmlContextProvider XmlCursor XmlCursor4DOM XmlCursorNoNavigation XmlCursorOnXmlContext XmlCursorSupport XmlNode XmlProps XmlReader XmlRemarkFilter XmlRemarkHandler XmlRemarkSupplier XmlRemarkSupplierMulticast XmlStream2DOM XmlStreamCompiler XmlStreamEnhancer XmlStreamFilter XmlStreamHandler XmlStreamMulticastHelper XmlStreamParser XmlStreamProfiler XmlStreamSerializer
XmlStreamSimplEx XmlStreamSupplier XmlStreamSupplierMulticast XmlStreamTermination XmlStreamTracer XmlStreamUtilities XmlStringValue XmlTypes XMLValidationException XMLValidator XMLValidatorFilterImplMk1 XmlValue XPathHelper
Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
com.tibco.xml.adjuncts.channel
Interface AdjunctConsumerAll Known Implementing Classes: DefaultAdjunctSupplier, ScriptingValidatorMk1 public interface AdjunctConsumer Implemented by components that require the services of an AdjunctProvider.
Method Summaryvoid setAdjunctProvider(AdjunctProvider provider)
Method DetailsetAdjunctProviderpublic void setAdjunctProvider(AdjunctProvider provider) Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
Copyright 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
com.tibco.xml.adjuncts.channel
Interface AdjunctHandlerAll Known Implementing Classes: DefaultAdjunctCache public interface AdjunctHandler Implemented by components to handle adjuncts.
Method Summaryvoid putAdjunct(java.lang.String namespaceURI,
org.w3c.dom.Document adjunct)
Method DetailputAdjunctpublic void putAdjunct(java.lang.String namespaceURI, org.w3c.dom.Document adjunct) Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
Copyright 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
com.tibco.xml.adjuncts.channel
Interface AdjunctProviderAll Known Implementing Classes: DefaultAdjunctCache public interface AdjunctProvider Implemented by components to provide an adjunct through a pull mechanism.
Method Summaryorg.w3c.dom.Document getAdjunct(java.lang.String namespaceURI)
Retrieves an adjunct based on it's namespace.
Method DetailgetAdjunctpublic org.w3c.dom.Document getAdjunct(java.lang.String namespaceURI) Retrieves an adjunct based on it's namespace. Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
Copyright 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
com.tibco.xml.adjuncts.channel
Interface AdjunctSupplierAll Known Implementing Classes: DefaultAdjunctSupplier public interface AdjunctSupplier Implemented by components that supply an adjunct, through a push mechanism, to an AdjunctHandler. Used to connect a supplier to a handler.
Method Summaryvoid setAdjunctHandler(AdjunctHandler handler)
Method DetailsetAdjunctHandlerpublic void setAdjunctHandler(AdjunctHandler handler) Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
Copyright 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
com.tibco.xml.processor
Class Aggregatejava.lang.Object | +--com.tibco.xml.processor.Aggregate All Implemented Interfaces: ContentConsumer, DocumentConsumer, IBlackBox, IConfigurable, IContextConsumer public class Aggregate extends java.lang.Object implements IBlackBox, IConfigurable, IContextConsumer, ContentConsumer, DocumentConsumer Fields inherited from interface com.tibco.xml.runtime.IBlackBox CHANNEL_MODE_SINK, CHANNEL_MODE_SOURCE
Constructor SummaryAggregate()
Method Summaryjava.lang.Object getChannel(java.lang.String channelName)
Declared in com.tibco.xml.runtime.IBlackBoxint getChannelMode(java.lang.String channelName)
Declared in com.tibco.xml.runtime.IBlackBoxjava.lang.String[] getChannelNames()
Declared in com.tibco.xml.runtime.IBlackBoxjava.lang.String getChannelType(java.lang.String channelName)
Declared in com.tibco.xml.runtime.IBlackBox
void setConfiguration(java.lang.String url)
Declared in com.tibco.xml.runtime.IConfigurablevoid setContentProvider(ContentProvider provider)
void setContextProvider(IContextProvider provider)
void setDocumentProvider(DocumentProvider provider)
Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor DetailAggregatepublic Aggregate()
Method DetailgetChannelpublic java.lang.Object getChannel(java.lang.String channelName) Declared in com.tibco.xml.runtime.IBlackBox Specified by: getChannel in interface IBlackBox Following copied from interface: com.tibco.xml.runtime.IBlackBox Parameters: channelName - The name of the channel. Returns: An Object that may be cast to the appropriate interface.
getChannelTypepublic java.lang.String getChannelType(java.lang.String channelName) Declared in com.tibco.xml.runtime.IBlackBox Specified by: getChannelType in interface IBlackBox Following copied from interface: com.tibco.xml.runtime.IBlackBox Parameters: channelName - The name of the channel. Returns: The type of the interface.
getChannelModepublic int getChannelMode(java.lang.String channelName) Declared in com.tibco.xml.runtime.IBlackBox Specified by: getChannelMode in interface IBlackBox Following copied from interface: com.tibco.xml.runtime.IBlackBox Parameters: channelName - The name of the channel. Returns: The mode of the interface. Can be either CHANNEL_MODE_SINK or CHANNEL_MODE_SOURCE.
getChannelNamespublic java.lang.String[] getChannelNames() Declared in com.tibco.xml.runtime.IBlackBox Specified by: getChannelNames in interface IBlackBox Following copied from interface: com.tibco.xml.runtime.IBlackBox Returns: An String array where each element is a channel name.
setConfigurationpublic void setConfiguration(java.lang.String url) throws org.xml.sax.SAXException, java.io.IOException Declared in com.tibco.xml.runtime.IConfigurable Specified by: setConfiguration in interface IConfigurable
setContextProviderpublic void setContextProvider(IContextProvider provider) Specified by: setContextProvider in interface IContextConsumer
setContentProviderpublic void setContentProvider(ContentProvider provider) Specified by: setContentProvider in interface ContentConsumer
setDocumentProviderpublic void setDocumentProvider(DocumentProvider provider) Specified by: setDocumentProvider in interface DocumentConsumer Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
Copyright 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
com.tibco.xml.runtime.data
Interface BooleanHandlerpublic interface BooleanHandler
Method Summaryvoid process(boolean condition)
Method Detailprocesspublic void process(boolean condition) throws org.xml.sax.SAXException Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
Copyright 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
com.tibco.xml.runtime.data
Interface BooleanSupplierpublic interface BooleanSupplier
Method Summaryvoid addBooleanHandler(BooleanHandler handler) void removeBooleanHandler(BooleanHandler handler)
Method DetailaddBooleanHandlerpublic void addBooleanHandler(BooleanHandler handler)
removeBooleanHandlerpublic void removeBooleanHandler(BooleanHandler handler) Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
Copyright 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
com.tibco.xml.processor
Class C14NSerializerjava.lang.Object | +--com.tibco.xml.processor.XmlStreamSerializer | +--com.tibco.xml.processor.C14NSerializer All Implemented Interfaces: XmlStreamHandler public class C14NSerializer extends XmlStreamSerializer A canonical XmlStream Serializer implementing Canonical XML Version 1.0 It sorts the attributes and uses standard encoding of attribute and element text content to allow for bytewise comparison, digital signatures, etc. Since: #0021 See Also: XmlStreamSerializer, XmlStreamHandler Fields inherited from class com.tibco.xml.processor.XmlStreamSerializer mAttIndent, mCursor, mDepth, mElIndent, mOut, mWriteXML_PI
Constructor SummaryC14NSerializer(java.io.Writer w) C14N Constructor.
Method Summary
void attribute()
Receive notification of an attribute.protected closeTag() void void endElement()
Receive notification of the end of an element.static void main(java.lang.String[] args)
void startElement()
Receive notification of the beginning of an element.protected writeAttribute(java.lang.String name, void
java.lang.String value)
protected writeNS(java.lang.String prefix, java.lang.String value) void protected writeSpecialAtt(java.lang.String ns, void
java.lang.String name, java.lang.String value) Called for special attributes: xsi or xml Write the :="" attribute and declare the 'xsi' prefix if necessary.
Methods inherited from class com.tibco.xml.processor.XmlStreamSerializer endDocument, processingInstruction, setDocumentCursor, setDocumentLocator, startDocument, text, writeAttChars, writeRawAttr
Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor DetailC14NSerializerpublic C14NSerializer(java.io.Writer w)
C14N Constructor. The writer is flushed at endDocument Parameters: w - A writer outputing in utf-8 encoding
Method DetailwriteSpecialAttprotected void writeSpecialAtt(java.lang.String ns, java.lang.String name, java.lang.String value) throws java.io.IOException Called for special attributes: xsi or xml Write the :="" attribute and declare the 'xsi' prefix if necessary. Determines whether CR or PR is declared, defaults to PR's namespace. Overrides: writeSpecialAtt in class XmlStreamSerializer Parameters: ns - namespace of the special attribute
endElementpublic void endElement() throws org.xml.sax.SAXException Receive notification of the end of an element. Overrides: endElement in class XmlStreamSerializer Following copied from class: com.tibco.xml.processor.XmlStreamSerializer Parameters: element - The element context node. Throws: org.xml.sax.SAXException - Any SAX Exception, possibly wrapping another exception.
startElementpublic void startElement() throws org.xml.sax.SAXException Receive notification of the beginning of an element. Overrides: startElement in class XmlStreamSerializer Following copied from class: com.tibco.xml.processor.XmlStreamSerializer Throws: org.xml.sax.SAXException - Any SAX Exception, possibly wrapping another exception.
attributepublic void attribute() throws org.xml.sax.SAXException Receive notification of an attribute. Overrides: attribute in class XmlStreamSerializer Following copied from class: com.tibco.xml.processor.XmlStreamSerializer Throws: org.xml.sax.SAXException - Any SAX Exception, possibly wrapping another exception.
writeNSprotected void writeNS(java.lang.String prefix, java.lang.String value) throws java.io.IOException Overrides: writeNS in class XmlStreamSerializer
writeAttributeprotected void writeAttribute(java.lang.String name, java.lang.String value) throws java.io.IOException
closeTagprotected void closeTag() throws java.io.IOException Overrides: closeTag in class XmlStreamSerializer
mainpublic static void main(java.lang.String[] args) Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
Copyright 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
com.tibco.xml.validation.constraints
Interface ConstraintCheckerAll Superinterfaces: com.tibco.xml.adjuncts.streaming.MetadataNamespaceHandler, XmlRemarkSupplier All Known Implementing Classes: DefaultConstraintChecker public interface ConstraintChecker extends com.tibco.xml.adjuncts.streaming.MetadataNamespaceHandler, XmlRemarkSupplier Interface that a custom constraint checker must support. Receives input as metadata context and binding events, and generates output as XML Remarks. Methods inherited from interface com.tibco.xml.adjuncts.streaming.MetadataNamespaceHandler createHandler, endDocument, startDocument
Methods inherited from interface com.tibco.xml.channel.remark.XmlRemarkSupplier setXmlRemarkHandler
Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
Copyright 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
com.tibco.xml.channel.content
Interface ContentConsumerAll Known Implementing Classes: Aggregate public interface ContentConsumer Implemented by components that require SAX Content from a ContentProvider to operate.
Method Summaryvoid setContentProvider(ContentProvider provider)
Method DetailsetContentProviderpublic void setContentProvider(ContentProvider provider) Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
Copyright 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
com.tibco.xml.channel.content
Interface ContentFilterAll Superinterfaces: org.xml.sax.ContentHandler, ContentSupplier All Known Implementing Classes: SAXLocationHintSupplier, SAXContentNormalizer, SAXContent2XmlStream, SAXContent2XmlStream.SAXContent2XmlKernel, Validator_SAX_Remark_ExternalCache public interface ContentFilter extends org.xml.sax.ContentHandler, ContentSupplier Implemented by components that handle and supply SAX Content. Methods inherited from interface org.xml.sax.ContentHandler characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping
Methods inherited from interface com.tibco.xml.channel.content.ContentSupplier setContentHandler
Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
Copyright 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
com.tibco.xml.channel.content
Interface ContentProviderpublic interface ContentProvider Implemented by components that can provide SAX Content through a pull mechanism to a ContentConsumer.
Method Summaryvoid getContent(java.lang.String uri, org.xml.sax.ContentHandler h)
Method DetailgetContentpublic void getContent(java.lang.String uri, org.xml.sax.ContentHandler h) throws org.xml.sax.SAXException Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
Copyright 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
com.tibco.xml.channel.content
Interface ContentSupplierAll Known Subinterfaces: ContentFilter All Known Implementing Classes: DOM2Content, Validator_SAX_Remark_InternalCache, Validator_SAX_Error_InternalCache, Validator_SAX_Error_ExternalCache, ScriptingAdjunctValidator public interface ContentSupplier Implemented by components that supply SAX Content to one SAX ContentHandler.
Method Summaryvoid setContentHandler(org.xml.sax.ContentHandler handler)
Allows an application to register and unregister a ContentHandler for this supplier.
Method DetailsetContentHandlerpublic void setContentHandler(org.xml.sax.ContentHandler handler) Allows an application to register and unregister a ContentHandler for this supplier. Parameters: handler - The ContentHandler to be registered. Specify null to unregister the current handler. Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
Copyright 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
com.tibco.xml.channel.content
Interface ContentSupplierMulticastpublic interface ContentSupplierMulticast Implemented by components that supply SAX Content to multiple SAX ContentHandler(s).
Method Summaryvoid addContentHandler(org.xml.sax.ContentHandler handler) void removeContentHandler(org.xml.sax.ContentHandler handler)
Method DetailaddContentHandlerpublic void addContentHandler(org.xml.sax.ContentHandler handler)
removeContentHandlerpublic void removeContentHandler(org.xml.sax.ContentHandler handler) Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
Copyright 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
com.tibco.xml.validation.kernel
Class DefaultAdjunctCachejava.lang.Object | +--com.tibco.xml.validation.kernel.DefaultAdjunctCache All Implemented Interfaces: AdjunctHandler, AdjunctProvider, DocumentBoundaryHandler, IBlackBox public class DefaultAdjunctCache extends java.lang.Object implements IBlackBox, AdjunctHandler, AdjunctProvider, DocumentBoundaryHandler Maps namespaceURI to an Adjunct (Document). Supports DocumentBoundaryHandler so that this cache may receive notifications of the boundaries of an XML document stream. Upon receiving notification of the document boundary the cache is emptied. Leave this handler disconnected to accumulate adjuncts across document instances.
Field Summarystatic java.lang.String CHANNEL_BOUNDARY static java.lang.String CHANNEL_HANDLER
static java.lang.String CHANNEL_PROVIDER
Fields inherited from interface com.tibco.xml.runtime.IBlackBox CHANNEL_MODE_SINK, CHANNEL_MODE_SOURCE
Constructor Summary
DefaultAdjunctCache()
Method Summaryvoid endDocument() org.w3c.dom.Document getAdjunct(java.lang.String namespace)
Retrieves an adjunct based on it's namespace.java.lang.Object getChannel(java.lang.String name)
Returns an interface that can be used to send messages to or receive messages from the Black Box.int getChannelMode(java.lang.String name)
Returns the mode of the interface that is returned when getChannel is called.java.lang.String[] getChannelNames()
Returns a String array of channel names for this Black Box.java.lang.String getChannelType(java.lang.String name)
Returns the type of the interface that is returned when getChannel is called.void putAdjunct(java.lang.String namespace,
org.w3c.dom.Document adjunct)void startDocument()
Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail
CHANNEL_HANDLERpublic static final java.lang.String CHANNEL_HANDLER
CHANNEL_PROVIDERpublic static final java.lang.String CHANNEL_PROVIDER
CHANNEL_BOUNDARYpublic static final java.lang.String CHANNEL_BOUNDARY
Constructor DetailDefaultAdjunctCachepublic DefaultAdjunctCache()
Method DetailgetChannelpublic java.lang.Object getChannel(java.lang.String name) Description copied from interface: IBlackBox Returns an interface that can be used to send messages to or receive messages from the Black Box. The concept of the Black Box is to support aggregation by being able to uniformly define the means for retrieving an interface to a procesor. Specified by: getChannel in interface IBlackBox Following copied from interface: com.tibco.xml.runtime.IBlackBox Parameters: channelName - The name of the channel. Returns: An Object that may be cast to the appropriate interface.
getChannelTypepublic java.lang.String getChannelType(java.lang.String name) Description copied from interface: IBlackBox Returns the type of the interface that is returned when getChannel is called. The purpose of this method is to ensure channel compatibility. Specified by: getChannelType in interface IBlackBox Following copied from interface: com.tibco.xml.runtime.IBlackBox Parameters: channelName - The name of the channel. Returns: The type of the interface.
getChannelModepublic int getChannelMode(java.lang.String name) Description copied from interface: IBlackBox Returns the mode of the interface that is returned when getChannel is called. The purpose of this method is to ensure channel compatibility. Specified by: getChannelMode in interface IBlackBox Following copied from interface: com.tibco.xml.runtime.IBlackBox Parameters: channelName - The name of the channel. Returns: The mode of the interface. Can be either CHANNEL_MODE_SINK or CHANNEL_MODE_SOURCE.
getChannelNamespublic java.lang.String[] getChannelNames() Description copied from interface: IBlackBox Returns a String array of channel names for this Black Box.
Specified by: getChannelNames in interface IBlackBox Following copied from interface: com.tibco.xml.runtime.IBlackBox Returns: An String array where each element is a channel name.
startDocumentpublic void startDocument() Specified by: startDocument in interface DocumentBoundaryHandler
endDocumentpublic void endDocument() Specified by: endDocument in interface DocumentBoundaryHandler
getAdjunctpublic org.w3c.dom.Document getAdjunct(java.lang.String namespace) Description copied from interface: AdjunctProvider Retrieves an adjunct based on it's namespace. Specified by: getAdjunct in interface AdjunctProvider
putAdjunctpublic void putAdjunct(java.lang.String namespace, org.w3c.dom.Document adjunct) Specified by: putAdjunct in interface AdjunctHandler
Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
Copyright 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
com.tibco.xml.validation.kernel
Class DefaultAdjunctSupplierjava.lang.Object | +--com.tibco.xml.validation.kernel.DefaultAdjunctSupplier All Implemented Interfaces: AdjunctConsumer, AdjunctSupplier, ErrorSupplier, TypeURIHandler public class DefaultAdjunctSupplier extends java.lang.Object implements TypeURIHandler, AdjunctSupplier, AdjunctConsumer, ErrorSupplier Supplies adjunct Document(s) when driven by Location Hints.
Field Summarystatic java.lang.String CHANNEL_ADJUNCT_MODEL_CONSUMER static java.lang.String CHANNEL_ADJUNCT_MODEL_SUPPLIER
static java.lang.String CHANNEL_ERROR_SUPPLIER
static java.lang.String CHANNEL_LOCATION_HINT_HANDLER
Constructor SummaryDefaultAdjunctSupplier()
Method Summaryjava.lang.Object getChannel(java.lang.String name) int getChannelMode(java.lang.String name)
java.lang.String[] getChannelNames()
java.lang.String getChannelType(java.lang.String name)
void setAdjunctHandler(AdjunctHandler handler)
void setAdjunctProvider(AdjunctProvider provider)
void setErrorHandler(org.xml.sax.ErrorHandler handler)
void setTypeURI(java.lang.String uri)
Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field DetailCHANNEL_LOCATION_HINT_HANDLERpublic static final java.lang.String CHANNEL_LOCATION_HINT_HANDLER
CHANNEL_ADJUNCT_MODEL_SUPPLIERpublic static final java.lang.String CHANNEL_ADJUNCT_MODEL_SUPPLIER
CHANNEL_ADJUNCT_MODEL_CONSUMERpublic static final java.lang.String CHANNEL_ADJUNCT_MODEL_CONSUMER
CHANNEL_ERROR_SUPPLIERpublic static final java.lang.String CHANNEL_ERROR_SUPPLIER
Constructor DetailDefaultAdjunctSupplierpublic DefaultAdjunctSupplier()
Method DetailgetChannelpublic java.lang.Object getChannel(java.lang.String name)
getChannelTypepublic java.lang.String getChannelType(java.lang.String name)
getChannelModepublic int getChannelMode(java.lang.String name)
getChannelNamespublic java.lang.String[] getChannelNames()
setErrorHandlerpublic void setErrorHandler(org.xml.sax.ErrorHandler handler) Specified by: setErrorHandler in interface ErrorSupplier
setAdjunctHandlerpublic void setAdjunctHandler(AdjunctHandler handler) Specified by: setAdjunctHandler in interface AdjunctSupplier
setAdjunctProviderpublic void setAdjunctProvider(AdjunctProvider provider) Specified by: setAdjunctProvider in interface AdjunctConsumer
setTypeURIpublic void setTypeURI(java.lang.String uri) Specified by: setTypeURI in interface TypeURIHandler Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
Copyright 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
com.tibco.xml.validation.constraints
Class DefaultConstraintCheckerjava.lang.Object | +--com.tibco.xml.adjuncts.streaming.DefaultMetadataTagHandler | +--com.tibco.xml.validation.constraints.DefaultConstraintChecker All Implemented Interfaces: ConstraintChecker, com.tibco.xml.adjuncts.streaming.MetadataNamespaceHandler, com.tibco.xml.adjuncts.streaming.MetadataTagHandler, XmlRemarkSupplier public abstract class DefaultConstraintChecker extends com.tibco.xml.adjuncts.streaming.DefaultMetadataTagHandler implements ConstraintChecker Default implementation of ConstraintChecker. Manages the error handling for convenience of subclasses.
Field Summaryprotected XmlRemarkHandler m_errors
Constructor SummaryDefaultConstraintChecker()
Method Summaryvoid endDocument()
Processing has completed on an input document.void error(XmlContext context, java.lang.String message)
abstract getErrorCode() java.lang.String void setXmlRemarkHandler(XmlRemarkHandler handler)
Allows an application to register and unregister an XmlRemarkHandler for this supplier.void startDocument()
Processing has been initiated on an input document.void warning(XmlContext context, java.lang.String message)
Methods inherited from class com.tibco.xml.adjuncts.streaming.DefaultMetadataTagHandler endContext, startContext, variableBound
Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.tibco.xml.adjuncts.streaming.MetadataNamespaceHandler createHandler
Field Detailm_errorsprotected XmlRemarkHandler m_errors
Constructor DetailDefaultConstraintCheckerpublic DefaultConstraintChecker()
Method Detail
getErrorCodepublic abstract java.lang.String getErrorCode()
errorpublic void error(XmlContext context, java.lang.String message) throws org.xml.sax.SAXException
warningpublic void warning(XmlContext context, java.lang.String message) throws org.xml.sax.SAXException
setXmlRemarkHandlerpublic void setXmlRemarkHandler(XmlRemarkHandler handler) Description copied from interface: XmlRemarkSupplier Allows an application to register and unregister an XmlRemarkHandler for this supplier. Specified by: setXmlRemarkHandler in interface XmlRemarkSupplier Following copied from interface: com.tibco.xml.channel.remark.XmlRemarkSupplier Parameters: handler - The XmlRemarkHandler to be registered. Specify null to unregister the current handler.
startDocumentpublic void startDocument() Description copied from interface: com.tibco.xml.adjuncts.streaming.MetadataNamespaceHandler
Processing has been initiated on an input document. Specified by: startDocument in interface com.tibco.xml.adjuncts.streaming.MetadataNamespaceHandler
endDocumentpublic void endDocument() Description copied from interface: com.tibco.xml.adjuncts.streaming.MetadataNamespaceHandler Processing has completed on an input document. Specified by: endDocument in interface com.tibco.xml.adjuncts.streaming.MetadataNamespaceHandler Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
Copyright 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
com.tibco.xml.validation.constraints
Class DefaultConstraintViolationjava.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--com.tibco.xml.validation.constraints.DefaultConstraintViolation All Implemented Interfaces: java.io.Serializable public class DefaultConstraintViolation extends java.lang.Exception Exception class for constraint violations reported by the DefaultConstraintChecker. See Also: Serialized Form
Constructor SummaryDefaultConstraintViolation(java.lang.String message)
Methods inherited from class java.lang.Throwable fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Constructor Detail
DefaultConstraintViolationpublic DefaultConstraintViolation(java.lang.String message) Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
Copyright 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
com.tibco.xml.validation.kernel
Class DefaultNamespaceConverterjava.lang.Object | +--com.tibco.xml.validation.kernel.DefaultNamespaceConverter All Implemented Interfaces: LocationHintHandler, SchemaModelConsumer, SchemaModelHandler, SchemaModelProvider, SchemaModelSupplier public class DefaultNamespaceConverter extends java.lang.Object implements SchemaModelProvider, SchemaModelConsumer, SchemaModelHandler, SchemaModelSupplier, LocationHintHandler Converts schema requests by namespace for the null namespace to requests using the normalized document element name. The normalized document element name is {namespaceURI}localName when the element has a namespace and localName otherwise.
Constructor SummaryDefaultNamespaceConverter()
Method Summaryvoid documentElement(ExpandedName name) void endDocument()
SmSchema getSchema(java.lang.String namespaceURI)
Retrieves a schema model based on it's namespace URI.
void locationHintDTD(java.lang.String namespaceURI,
Entity entity)void locationHintSOX(java.lang.String namespaceURI,
java.lang.String locationURI) Notifies the handler of SOX schema location hints.void locationHintXDR(java.lang.String namespaceURI,
java.lang.String locationURI)void locationHintXSD(java.lang.String namespaceURI,
java.lang.String locationURI)void putSchema(java.lang.String namespaceURI, SmSchema schema)
void setSchemaModelHandler(SchemaModelHandler handler)
void setSchemaModelProvider(SchemaModelProvider provider)
void startDocument(java.lang.String locationURI)
Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor DetailDefaultNamespaceConverterpublic DefaultNamespaceConverter()
Method Detail
startDocumentpublic void startDocument(java.lang.String locationURI) Specified by: startDocument in interface LocationHintHandler
endDocumentpublic void endDocument() Specified by: endDocument in interface LocationHintHandler
documentElementpublic void documentElement(ExpandedName name) Specified by: documentElement in interface LocationHintHandler
locationHintXSDpublic void locationHintXSD(java.lang.String namespaceURI, java.lang.String locationURI) throws org.xml.sax.SAXException Specified by: locationHintXSD in interface LocationHintHandler
locationHintDTDpublic void locationHintDTD(java.lang.String namespaceURI, Entity entity) throws org.xml.sax.SAXException Specified by: locationHintDTD in interface LocationHintHandler
locationHintXDRpublic void locationHintXDR(java.lang.String namespaceURI, java.lang.String locationURI) throws org.xml.sax.SAXException Specified by: locationHintXDR in interface LocationHintHandler
locationHintSOXpublic void locationHintSOX(java.lang.String namespaceURI, java.lang.String locationURI) throws org.xml.sax.SAXException Description copied from interface: LocationHintHandler Notifies the handler of SOX schema location hints. Specified by: locationHintSOX in interface LocationHintHandler Following copied from interface: com.tibco.xml.validation.channel.LocationHintHandler Parameters: namespaceURI - The namespace universal resource identifier of the top-level schema. locationURI - The location universal resource identifier of the top-level schema. In the case of SOX, the same as the namespaceURI. Throws: org.xml.sax.SAXException - If the handler encounters any exception.
getSchemapublic SmSchema getSchema(java.lang.String namespaceURI) Description copied from interface: SchemaModelProvider Retrieves a schema model based on it's namespace URI. Specified by: getSchema in interface SchemaModelProvider
putSchemapublic void putSchema(java.lang.String namespaceURI, SmSchema schema) Specified by: putSchema in interface SchemaModelHandler
setSchemaModelProviderpublic void setSchemaModelProvider(SchemaModelProvider provider) Specified by: setSchemaModelProvider in interface SchemaModelConsumer
setSchemaModelHandlerpublic void setSchemaModelHandler(SchemaModelHandler handler) Specified by: setSchemaModelHandler in interface SchemaModelSupplier Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
Copyright 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
com.tibco.xml.validation.kernel
Class DefaultSchemaCachejava.lang.Object | +--com.tibco.xml.validation.kernel.DefaultSchemaCache All Implemented Interfaces: DocumentBoundaryHandler, IBlackBox, SchemaModelConsumer, SchemaModelHandler, SchemaModelProvider public class DefaultSchemaCache extends java.lang.Object implements IBlackBox, SchemaModelHandler, SchemaModelProvider, SchemaModelConsumer, DocumentBoundaryHandler Maps namespaceURI to an SmSchema. This implementation is also a SchemaModelConsumer meaning that it can be chained to another SchemaModelProvider. Supports DocumentBoundaryHandler so that this cache may receive notifications of the boundaries of an XML document stream. Upon receiving notification of the document boundary the cache is emptied. Leave this handler disconnected to accumulate schemas across document instances.
Field Summarystatic java.lang.String CHANNEL_BOUNDARY static java.lang.String CHANNEL_HANDLER
static java.lang.String CHANNEL_PROVIDER
Fields inherited from interface com.tibco.xml.runtime.IBlackBox CHANNEL_MODE_SINK, CHANNEL_MODE_SOURCE
Constructor SummaryDefaultSchemaCache()
Method Summaryvoid endDocument() java.lang.Object getChannel(java.lang.String name)
Returns an interface that can be used to send messages to or receive messages from the Black Box.int getChannelMode(java.lang.String name)
Returns the mode of the interface that is returned when getChannel is called.java.lang.String[] getChannelNames()
Returns a String array of channel names for this Black Box.java.lang.String getChannelType(java.lang.String name)
Returns the type of the interface that is returned when getChannel is called.SmSchema getSchema(java.lang.String namespace)
Retrieves a schema model based on it's namespace URI.void putSchema(java.lang.String namespace,
SmSchema schema)void setSchemaModelProvider(SchemaModelProvider provider)
void startDocument()
Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field DetailCHANNEL_HANDLERpublic static final java.lang.String CHANNEL_HANDLER
CHANNEL_PROVIDERpublic static final java.lang.String CHANNEL_PROVIDER
CHANNEL_BOUNDARYpublic static final java.lang.String CHANNEL_BOUNDARY
Constructor DetailDefaultSchemaCachepublic DefaultSchemaCache()
Method DetailgetChannelpublic java.lang.Object getChannel(java.lang.String name) Description copied from interface: IBlackBox Returns an interface that can be used to send messages to or receive messages from the Black Box. The concept of the Black Box is to support aggregation by being able to uniformly define the means for retrieving an interface to a procesor. Specified by: getChannel in interface IBlackBox Following copied from interface: com.tibco.xml.runtime.IBlackBox Parameters: channelName - The name of the channel.
Returns: An Object that may be cast to the appropriate interface.
getChannelTypepublic java.lang.String getChannelType(java.lang.String name) Description copied from interface: IBlackBox Returns the type of the interface that is returned when getChannel is called. The purpose of this method is to ensure channel compatibility. Specified by: getChannelType in interface IBlackBox Following copied from interface: com.tibco.xml.runtime.IBlackBox Parameters: channelName - The name of the channel. Returns: The type of the interface.
getChannelModepublic int getChannelMode(java.lang.String name) Description copied from interface: IBlackBox Returns the mode of the interface that is returned when getChannel is called. The purpose of this method is to ensure channel compatibility. Specified by: getChannelMode in interface IBlackBox Following copied from interface: com.tibco.xml.runtime.IBlackBox Parameters: channelName - The name of the channel. Returns: The mode of the interface. Can be either CHANNEL_MODE_SINK or CHANNEL_MODE_SOURCE.
getChannelNamespublic java.lang.String[] getChannelNames() Description copied from interface: IBlackBox Returns a String array of channel names for this Black Box. Specified by: getChannelNames in interface IBlackBox Following copied from interface: com.tibco.xml.runtime.IBlackBox Returns: An String array where each element is a channel name.
startDocumentpublic void startDocument() Specified by: startDocument in interface DocumentBoundaryHandler
endDocumentpublic void endDocument() Specified by: endDocument in interface DocumentBoundaryHandler
setSchemaModelProviderpublic void setSchemaModelProvider(SchemaModelProvider provider) Specified by: setSchemaModelProvider in interface SchemaModelConsumer
getSchemapublic SmSchema getSchema(java.lang.String namespace)
Description copied from interface: SchemaModelProvider Retrieves a schema model based on it's namespace URI. Specified by: getSchema in interface SchemaModelProvider
putSchemapublic void putSchema(java.lang.String namespace, SmSchema schema) Specified by: putSchema in interface SchemaModelHandler Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
Copyright 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
com.tibco.xml.validation.kernel
Class DefaultSchemaSupplierjava.lang.Object | +--com.tibco.xml.validation.kernel.DefaultSchemaSupplier All Implemented Interfaces: EntityConsumer, IBlackBox, LocationHintHandler, PropertyConsumer, SchemaModelConsumer, SchemaModelSupplier, XmlRemarkSupplier public class DefaultSchemaSupplier extends java.lang.Object implements IBlackBox, LocationHintHandler, SchemaModelSupplier, SchemaModelConsumer, XmlRemarkSupplier, EntityConsumer, PropertyConsumer Supplies SmSchema(s) when driven by Location Hints.
Field Summarystatic java.lang.String CHANNEL_ENTITY_CONSUMER static java.lang.String CHANNEL_LOCATION_HINT_HANDLER
static java.lang.String CHANNEL_PROPERTY_CONSUMER
static java.lang.String CHANNEL_REMARK_SUPPLIER
static java.lang.String CHANNEL_SCHEMA_MODEL_CONSUMER
static java.lang.String CHANNEL_SCHEMA_MODEL_SUPPLIER
Fields inherited from interface com.tibco.xml.runtime.IBlackBox
CHANNEL_MODE_SINK, CHANNEL_MODE_SOURCE
Constructor SummaryDefaultSchemaSupplier()
Method Summaryvoid documentElement(ExpandedName name) void endDocument()
java.lang.Object getChannel(java.lang.String name)
Returns an interface that can be used to send messages to or receive messages from the Black Box.int getChannelMode(java.lang.String name)
Returns the mode of the interface that is returned when getChannel is called.java.lang.String[] getChannelNames()
Returns a String array of channel names for this Black Box.java.lang.String getChannelType(java.lang.String name)
Returns the type of the interface that is returned when getChannel is called.void locationHintDTD(java.lang.String namespaceURI,
Entity entity)void locationHintSOX(java.lang.String namespaceURI,
java.lang.String locationURI) Notifies the handler of SOX schema location hints.void locationHintXDR(java.lang.String namespaceURI,
java.lang.String locationURI)void locationHintXSD(java.lang.String namespaceURI,
java.lang.String locationURI)
void setEntityResolver(org.xml.sax.EntityResolver resolver)
void setPropertyProvider(PropertyProvider provider)
void setSchemaModelHandler(SchemaModelHandler handler)
void setSchemaModelProvider(SchemaModelProvider provider)
void setXmlRemarkHandler(XmlRemarkHandler handler)
Allows an application to register and unregister an XmlRemarkHandler for this supplier.void startDocument(java.lang.String locationURI)
Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field DetailCHANNEL_LOCATION_HINT_HANDLERpublic static final java.lang.String CHANNEL_LOCATION_HINT_HANDLER
CHANNEL_SCHEMA_MODEL_SUPPLIERpublic static final java.lang.String CHANNEL_SCHEMA_MODEL_SUPPLIER
CHANNEL_SCHEMA_MODEL_CONSUMERpublic static final java.lang.String CHANNEL_SCHEMA_MODEL_CONSUMER
CHANNEL_REMARK_SUPPLIERpublic static final java.lang.String CHANNEL_REMARK_SUPPLIER
CHANNEL_ENTITY_CONSUMERpublic static final java.lang.String CHANNEL_ENTITY_CONSUMER
CHANNEL_PROPERTY_CONSUMERpublic static final java.lang.String CHANNEL_PROPERTY_CONSUMER
Constructor DetailDefaultSchemaSupplierpublic DefaultSchemaSupplier()
Method DetailgetChannelpublic java.lang.Object getChannel(java.lang.String name) Description copied from interface: IBlackBox Returns an interface that can be used to send messages to or receive messages from the Black Box. The concept of the Black Box is to support aggregation by being able to uniformly define the means for retrieving an interface to a procesor. Specified by: getChannel in interface IBlackBox Following copied from interface: com.tibco.xml.runtime.IBlackBox Parameters: channelName - The name of the channel. Returns: An Object that may be cast to the appropriate interface.
getChannelTypepublic java.lang.String getChannelType(java.lang.String name) Description copied from interface: IBlackBox Returns the type of the interface that is returned when getChannel is called. The purpose of this method is to ensure channel compatibility. Specified by: getChannelType in interface IBlackBox Following copied from interface: com.tibco.xml.runtime.IBlackBox Parameters: channelName - The name of the channel. Returns: The type of the interface.
getChannelModepublic int getChannelMode(java.lang.String name) Description copied from interface: IBlackBox Returns the mode of the interface that is returned when getChannel is called. The purpose of this method is to ensure channel compatibility. Specified by: getChannelMode in interface IBlackBox Following copied from interface: com.tibco.xml.runtime.IBlackBox Parameters: channelName - The name of the channel. Returns: The mode of the interface. Can be either CHANNEL_MODE_SINK or CHANNEL_MODE_SOURCE.
getChannelNamespublic java.lang.String[] getChannelNames() Description copied from interface: IBlackBox Returns a String array of channel names for this Black Box. Specified by:
getChannelNames in interface IBlackBox Following copied from interface: com.tibco.xml.runtime.IBlackBox Returns: An String array where each element is a channel name.
startDocumentpublic void startDocument(java.lang.String locationURI) Specified by: startDocument in interface LocationHintHandler
endDocumentpublic void endDocument() Specified by: endDocument in interface LocationHintHandler
documentElementpublic void documentElement(ExpandedName name) Specified by: documentElement in interface LocationHintHandler
locationHintXSDpublic void locationHintXSD(java.lang.String namespaceURI, java.lang.String locationURI) throws org.xml.sax.SAXException Specified by: locationHintXSD in interface LocationHintHandler
locationHintDTDpublic void locationHintDTD(java.lang.String namespaceURI, Entity entity) throws org.xml.sax.SAXException Specified by: locationHintDTD in interface LocationHintHandler
locationHintXDRpublic void locationHintXDR(java.lang.String namespaceURI, java.lang.String locationURI) throws org.xml.sax.SAXException Specified by: locationHintXDR in interface LocationHintHandler
locationHintSOXpublic void locationHintSOX(java.lang.String namespaceURI, java.lang.String locationURI) throws org.xml.sax.SAXException Description copied from interface: LocationHintHandler Notifies the handler of SOX schema location hints. Specified by: locationHintSOX in interface LocationHintHandler Following copied from interface: com.tibco.xml.validation.channel.LocationHintHandler Parameters: namespaceURI - The namespace universal resource identifier of the top-level schema. locationURI - The location universal resource identifier of the top-level schema. In the case of SOX, the same as the namespaceURI. Throws: org.xml.sax.SAXException - If the handler encounters any exception.
setEntityResolverpublic void setEntityResolver(org.xml.sax.EntityResolver resolver) Specified by: setEntityResolver in interface EntityConsumer
setXmlRemarkHandlerpublic void setXmlRemarkHandler(XmlRemarkHandler handler) Description copied from interface: XmlRemarkSupplier Allows an application to register and unregister an XmlRemarkHandler for this supplier. Specified by: setXmlRemarkHandler in interface XmlRemarkSupplier Following copied from interface: com.tibco.xml.channel.remark.XmlRemarkSupplier Parameters: handler - The XmlRemarkHandler to be registered. Specify null to unregister the current handler.
setSchemaModelHandlerpublic void setSchemaModelHandler(SchemaModelHandler handler) Specified by: setSchemaModelHandler in interface SchemaModelSupplier
setSchemaModelProviderpublic void setSchemaModelProvider(SchemaModelProvider provider) Specified by: setSchemaModelProvider in interface SchemaModelConsumer
setPropertyProviderpublic void setPropertyProvider(PropertyProvider provider) Specified by: setPropertyProvider in interface PropertyConsumer Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
Copyright 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
com.tibco.xml.channel.stream.helpers
Class DefaultXmlStreamHandlerjava.lang.Object | +--com.tibco.xml.channel.stream.helpers.DefaultXmlStreamHandler All Implemented Interfaces: XmlStreamHandler, XmlStreamSupplier Direct Known Subclasses: com.tibco.xml.adjuncts.streaming.MetadataEngine, ValidationKernel public class DefaultXmlStreamHandler extends java.lang.Object implements XmlStreamHandler, XmlStreamSupplier Acts as a dummy filter
Field Summaryprotected XmlCursor m_cursor protected XmlStreamHandler m_handler
protected
org.xml.sax.Locator m_locator
Constructor SummaryDefaultXmlStreamHandler()
Method Summaryvoid attribute()
Receive notification of an attribute.void endDocument()
Receive notification of the end of a document.void endElement()
Receive notification of the end of an element.void processingInstruction()
Receive notification of a processing instruction.void setDocumentCursor(XmlCursor cursor)
Receive an interface for accessing and navigating the XML information set.void setDocumentLocator(org.xml.sax.Locator locator)
Receive an interface for determining the physical location of any XML Stream event.void setXmlStreamHandler(XmlStreamHandler handler)
will call setDocumentLocator and setDocumentCursor on handlervoid startDocument()
Receive notification of the beginning of a document.void startElement()
Receive notification of the beginning of an element.void text()
Receive notification of a text node.
Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detailm_locatorprotected org.xml.sax.Locator m_locator
m_cursorprotected XmlCursor m_cursor
m_handlerprotected XmlStreamHandler m_handler
Constructor DetailDefaultXmlStreamHandlerpublic DefaultXmlStreamHandler()
Method DetailsetDocumentLocatorpublic void setDocumentLocator(org.xml.sax.Locator locator) Description copied from interface: XmlStreamHandler Receive an interface for determining the physical location of any XML Stream event. Note that the values returned by the Locator are not guaranteed to be preserved across stream events. A Locator may be frozen by constructing an org.xml.sax.helpers.LocatorImpl. Specified by: setDocumentLocator in interface XmlStreamHandler Following copied from interface: com.tibco.xml.channel.stream.XmlStreamHandler Parameters: locator - An object that can return the location of any XML Stream event.
setDocumentCursorpublic void setDocumentCursor(XmlCursor cursor) Description copied from interface: XmlStreamHandler
Receive an interface for accessing and navigating the XML information set. Note that the values returned by the XmlCursor are not guaranteed to be preserved across stream events. A frozen XmlCursor may be obtained by using the clone method. Specified by: setDocumentCursor in interface XmlStreamHandler Following copied from interface: com.tibco.xml.channel.stream.XmlStreamHandler Parameters: cursor - An interface for accessing the XML information set.
processingInstructionpublic void processingInstruction() throws org.xml.sax.SAXException Description copied from interface: XmlStreamHandler Receive notification of a processing instruction. Specified by: processingInstruction in interface XmlStreamHandler Following copied from interface: com.tibco.xml.channel.stream.XmlStreamHandler Throws: org.xml.sax.SAXException - Any SAX Exception, possibly wrapping another exception.
startDocumentpublic void startDocument() throws org.xml.sax.SAXException Description copied from interface: XmlStreamHandler Receive notification of the beginning of a document. Specified by: startDocument in interface XmlStreamHandler Following copied from interface: com.tibco.xml.channel.stream.XmlStreamHandler Throws: org.xml.sax.SAXException - Any SAX Exception, possibly wrapping another
exception.
startElementpublic void startElement() throws org.xml.sax.SAXException Description copied from interface: XmlStreamHandler Receive notification of the beginning of an element. Specified by: startElement in interface XmlStreamHandler Following copied from interface: com.tibco.xml.channel.stream.XmlStreamHandler Throws: org.xml.sax.SAXException - Any SAX Exception, possibly wrapping another exception.
attributepublic void attribute() throws org.xml.sax.SAXException Description copied from interface: XmlStreamHandler Receive notification of an attribute. The attribute cursor is available through the XmlCursor callback. Specified by: attribute in interface XmlStreamHandler Following copied from interface: com.tibco.xml.channel.stream.XmlStreamHandler Throws: org.xml.sax.SAXException - Any SAX Exception, possibly wrapping another exception.
textpublic void text() throws org.xml.sax.SAXException
Description copied from interface: XmlStreamHandler Receive notification of a text node. The text cursor is available through the XmlCursor callback. Specified by: text in interface XmlStreamHandler Following copied from interface: com.tibco.xml.channel.stream.XmlStreamHandler Throws: org.xml.sax.SAXException - Any SAX Exception, possibly wrapping another exception.
endElementpublic void endElement() throws org.xml.sax.SAXException Description copied from interface: XmlStreamHandler Receive notification of the end of an element. Specified by: endElement in interface XmlStreamHandler Following copied from interface: com.tibco.xml.channel.stream.XmlStreamHandler Throws: org.xml.sax.SAXException - Any SAX Exception, possibly wrapping another exception.
endDocumentpublic void endDocument() throws org.xml.sax.SAXException Description copied from interface: XmlStreamHandler Receive notification of the end of a document. Specified by: endDocument in interface XmlStreamHandler Following copied from interface: com.tibco.xml.channel.stream.XmlStreamHandler Throws: org.xml.sax.SAXException - Any SAX Exception, possibly wrapping another
exception.
setXmlStreamHandlerpublic void setXmlStreamHandler(XmlStreamHandler handler) will call setDocumentLocator and setDocumentCursor on handler Specified by: setXmlStreamHandler in interface XmlStreamSupplier Following copied from interface: com.tibco.xml.channel.stream.XmlStreamSupplier Parameters: handler - The XmlStreamHandler to be registered, or null to unregister. Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
Copyright 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
com.tibco.xml.channel.boundary
Interface DocumentBoundaryHandlerAll Known Implementing Classes: DefaultAdjunctCache, DefaultSchemaCache, ValidationControl public interface DocumentBoundaryHandler
Method Summaryvoid endDocument() void startDocument()
Method DetailstartDocumentpublic void startDocument() throws org.xml.sax.SAXException
endDocumentpublic void endDocument() throws org.xml.sax.SAXException Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
Copyright 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
com.tibco.xml.channel.boundary
Interface DocumentBoundarySupplierAll Known Implementing Classes: SAXContent2XmlStream, SAXContent2XmlStream.SAXContent2XmlKernel, Validator_SAX_Remark_ExternalCache public interface DocumentBoundarySupplier
Method Summaryvoid addDocumentBoundaryHandler(DocumentBoundaryHandler handler) void removeDocumentBoundaryHandler(DocumentBoundaryHandler handler)
Method DetailaddDocumentBoundaryHandlerpublic void addDocumentBoundaryHandler(DocumentBoundaryHandler handler)
removeDocumentBoundaryHandlerpublic void removeDocumentBoundaryHandler(DocumentBoundaryHandler handler) Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
Copyright 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
com.tibco.xml.channel.dom
Interface DocumentConsumerAll Known Implementing Classes: Aggregate public interface DocumentConsumer Implemented by components that require org.w3c.dom Document(s) from a DocumentProvider to operate.
Method Summaryvoid setDocumentProvider(DocumentProvider provider)
Method DetailsetDocumentProviderpublic void setDocumentProvider(DocumentProvider provider) Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
Copyright 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
com.tibco.xml.runtime.data
Interface DocumentLocatorConsumerpublic interface DocumentLocatorConsumer Implemented by components that require a SAX Locator.
Method Summaryvoid setDocumentLocatorProvider(DocumentLocatorProvider provider)
Method DetailsetDocumentLocatorProviderpublic void setDocumentLocatorProvider(DocumentLocatorProvider provider) Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
Copyright 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
com.tibco.xml.runtime.data
Interface DocumentLocatorProviderpublic interface DocumentLocatorProvider Implemented by components that can provide a SAX Locator.
Method Summaryorg.xml.sax.Locator getDocumentLocator()
Method DetailgetDocumentLocatorpublic org.xml.sax.Locator getDocumentLocator() Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
Copyright 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
com.tibco.xml.channel.dom
Interface DocumentProviderpublic interface DocumentProvider Implemented by components that can provide org.w3c.dom Document(s) through a pull mechanism to a DocumentConsumer.
Method Summaryorg.w3c.dom.Document getDocument(java.lang.String uri)
Method DetailgetDocumentpublic org.w3c.dom.Document getDocument(java.lang.String uri) throws org.xml.sax.SAXException Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
Copyright 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
com.tibco.xml.processor
Class DOM2Contentjava.lang.Object | +--com.tibco.xml.processor.DOM2Content All Implemented Interfaces: ContentSupplier, DOMHandler, IBlackBox public class DOM2Content extends java.lang.Object implements IBlackBox, DOMHandler, ContentSupplier Traverses a Document to generate SAX Content.
Field Summarystatic java.lang.String CHANNEL_INPUT static java.lang.String CHANNEL_OUTPUT
Fields inherited from interface com.tibco.xml.runtime.IBlackBox CHANNEL_MODE_SINK, CHANNEL_MODE_SOURCE
Constructor SummaryDOM2Content()
Method Summary
java.lang.Object getChannel(java.lang.String name)
Returns an interface that can be used to send messages to or receive messages from the Black Box.int getChannelMode(java.lang.String name)
Returns the mode of the interface that is returned when getChannel is called.java.lang.String[] getChannelNames()
Returns a String array of channel names for this Black Box.java.lang.String getChannelType(java.lang.String name)
Returns the type of the interface that is returned when getChannel is called.void process(org.w3c.dom.Document source,
java.lang.String systemId) Receive notification of an XML document.void setContentHandler(org.xml.sax.ContentHandler handler)
Allows an application to register and unregister a ContentHandler for this supplier.
Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field DetailCHANNEL_INPUTpublic static final java.lang.String CHANNEL_INPUT
CHANNEL_OUTPUTpublic static final java.lang.String CHANNEL_OUTPUT
Constructor Detail
DOM2Contentpublic DOM2Content()
Method DetailgetChannelpublic java.lang.Object getChannel(java.lang.String name) Description copied from interface: IBlackBox Returns an interface that can be used to send messages to or receive messages from the Black Box. The concept of the Black Box is to support aggregation by being able to uniformly define the means for retrieving an interface to a procesor. Specified by: getChannel in interface IBlackBox Following copied from interface: com.tibco.xml.runtime.IBlackBox Parameters: channelName - The name of the channel. Returns: An Object that may be cast to the appropriate interface.
getChannelTypepublic java.lang.String getChannelType(java.lang.String name) Description copied from interface: IBlackBox Returns the type of the interface that is returned when getChannel is called. The purpose of this method is to ensure channel compatibility. Specified by: getChannelType in interface IBlackBox Following copied from interface: com.tibco.xml.runtime.IBlackBox Parameters: channelName - The name of the channel. Returns: The type of the interface.
getChannelModepublic int getChannelMode(java.lang.String name) Description copied from interface: IBlackBox Returns the mode of the interface that is returned when getChannel is called. The purpose of this method is to ensure channel compatibility. Specified by: getChannelMode in interface IBlackBox Following copied from interface: com.tibco.xml.runtime.IBlackBox Parameters: channelName - The name of the channel. Returns: The mode of the interface. Can be either CHANNEL_MODE_SINK or CHANNEL_MODE_SOURCE.
getChannelNamespublic java.lang.String[] getChannelNames() Description copied from interface: IBlackBox Returns a String array of channel names for this Black Box. Specified by: getChannelNames in interface IBlackBox Following copied from interface: com.tibco.xml.runtime.IBlackBox Returns: An String array where each element is a channel name.
processpublic void process(org.w3c.dom.Document source, java.lang.String systemId) throws org.xml.sax.SAXException Description copied from interface: DOMHandler Receive notification of an XML document. Specified by: process in interface DOMHandler
Following copied from interface: com.tibco.xml.channel.dom.DOMHandler Parameters: source - The document object model. systemId - The systemId of the document if known, else null. This is useful for processors such as XSLT. Throws: org.xml.sax.SAXException -
setContentHandlerpublic void setContentHandler(org.xml.sax.ContentHandler handler) Description copied from interface: ContentSupplier Allows an application to register and unregister a ContentHandler for this supplier. Specified by: setContentHandler in interface ContentSupplier Following copied from interface: com.tibco.xml.channel.content.ContentSupplier Parameters: handler - The ContentHandler to be registered. Specify null to unregister the current handler. Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
Copyright 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
com.tibco.xml.processor
Class DOM2XmlStreamjava.lang.Object | +--com.tibco.xml.processor.DOM2XmlStream All Implemented Interfaces: DOMHandler, IBlackBox, com.tibco.xml.channel.node.NodeProvider, XmlStreamSupplier public class DOM2XmlStream extends java.lang.Object implements IBlackBox, DOMHandler, XmlStreamSupplier, com.tibco.xml.channel.node.NodeProvider Traverses a Document to generate an XML stream.
Field Summarystatic java.lang.String CHANNEL_DOM_HANDLER static java.lang.String CHANNEL_STREAM_SUPPLIER
Fields inherited from interface com.tibco.xml.runtime.IBlackBox CHANNEL_MODE_SINK, CHANNEL_MODE_SOURCE
Constructor SummaryDOM2XmlStream()
Method Summary
void addDOMHandler(DOMHandler handler)
void addTypeURIHandler(TypeURIHandler handler)
java.lang.Object getChannel(java.lang.String name)
Returns an interface that can be used to send messages to or receive messages from the Black Box.int getChannelMode(java.lang.String name)
Returns the mode of the interface that is returned when getChannel is called.java.lang.String[] getChannelNames()
Returns a String array of channel names for this Black Box.java.lang.String getChannelType(java.lang.String name)
Returns the type of the interface that is returned when getChannel is called.org.w3c.dom.Node getNode()
void process(org.w3c.dom.Document source,
java.lang.String systemId) Receive notification of an XML document.void removeDOMHandler(DOMHandler handler)
void removeTypeURIHandler(TypeURIHandler handler)
void setXmlStreamHandler(XmlStreamHandler handler)
Allows an application to register an XmlStreamHandler for this supplier.
Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail
CHANNEL_DOM_HANDLERpublic static final java.lang.String CHANNEL_DOM_HANDLER
CHANNEL_STREAM_SUPPLIERpublic static final java.lang.String CHANNEL_STREAM_SUPPLIER
Constructor DetailDOM2XmlStreampublic DOM2XmlStream()
Method DetailgetChannelpublic java.lang.Object getChannel(java.lang.String name) Description copied from interface: IBlackBox Returns an interface that can be used to send messages to or receive messages from the Black Box. The concept of the Black Box is to support aggregation by being able to uniformly define the means for retrieving an interface to a procesor. Specified by: getChannel in interface IBlackBox Following copied from interface: com.tibco.xml.runtime.IBlackBox Parameters: channelName - The name of the channel. Returns: An Object that may be cast to the appropriate interface.
getChannelTypepublic java.lang.String getChannelType(java.lang.String name)
Description copied from interface: IBlackBox Returns the type of the interface that is returned when getChannel is called. The purpose of this method is to ensure channel compatibility. Specified by: getChannelType in interface IBlackBox Following copied from interface: com.tibco.xml.runtime.IBlackBox Parameters: channelName - The name of the channel. Returns: The type of the interface.
getChannelModepublic int getChannelMode(java.lang.String name) Description copied from interface: IBlackBox Returns the mode of the interface that is returned when getChannel is called. The purpose of this method is to ensure channel compatibility. Specified by: getChannelMode in interface IBlackBox Following copied from interface: com.tibco.xml.runtime.IBlackBox Parameters: channelName - The name of the channel. Returns: The mode of the interface. Can be either CHANNEL_MODE_SINK or CHANNEL_MODE_SOURCE.
getChannelNamespublic java.lang.String[] getChannelNames() Description copied from interface: IBlackBox Returns a String array of channel names for this Black Box. Specified by: getChannelNames in interface IBlackBox Following copied from interface: com.tibco.xml.runtime.IBlackBox Returns:
An String array where each element is a channel name.
processpublic void process(org.w3c.dom.Document source, java.lang.String systemId) throws org.xml.sax.SAXException Description copied from interface: DOMHandler Receive notification of an XML document. Specified by: process in interface DOMHandler Following copied from interface: com.tibco.xml.channel.dom.DOMHandler Parameters: source - The document object model. systemId - The systemId of the document if known, else null. This is useful for processors such as XSLT. Throws: org.xml.sax.SAXException -
setXmlStreamHandlerpublic void setXmlStreamHandler(XmlStreamHandler handler) Description copied from interface: XmlStreamSupplier Allows an application to register an XmlStreamHandler for this supplier. Specified by: setXmlStreamHandler in interface XmlStreamSupplier Following copied from interface: com.tibco.xml.channel.stream.XmlStreamSupplier Parameters: handler - The XmlStreamHandler to be registered, or null to unregister.
addTypeURIHandlerpublic void addTypeURIHandler(TypeURIHandler handler)
removeTypeURIHandlerpublic void removeTypeURIHandler(TypeURIHandler handler)
addDOMHandlerpublic void addDOMHandler(DOMHandler handler)
removeDOMHandlerpublic void removeDOMHandler(DOMHandler handler)
getNodepublic org.w3c.dom.Node getNode() Specified by: getNode in interface com.tibco.xml.channel.node.NodeProvider Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
Copyright 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
com.tibco.xml.channel.dom
Interface DOMHandlerAll Known Implementing Classes: DOM2XmlStream, DOM2Content, Validator_DOM_Remark_ExternalCache, ScriptingValidatorMk1 public interface DOMHandler Implemented by components that process Document(s).
Method Summaryvoid process(org.w3c.dom.Document source, java.lang.String systemId)
Receive notification of an XML document.
Method Detailprocesspublic void process(org.w3c.dom.Document source, java.lang.String systemId) throws org.xml.sax.SAXException Receive notification of an XML document. Parameters: source - The document object model. systemId - The systemId of the document if known, else null. This is useful for processors such as XSLT. Throws: org.xml.sax.SAXException Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
Copyright 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
com.tibco.xml.channel.dom
Interface DOMSupplierAll Known Implementing Classes: SAXContent2DOM, XmlStream2DOM, Validator_DOM_Remark_ExternalCache, ScriptingValidatorMk1 public interface DOMSupplier Implemented by components that supply Document(s) to DOMHandler(s).
Method Summaryvoid addDOMHandler(DOMHandler handler) void removeDOMHandler(DOMHandler handler)
Method DetailaddDOMHandlerpublic void addDOMHandler(DOMHandler handler)
removeDOMHandlerpublic void removeDOMHandler(DOMHandler handler) Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
Copyright 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
com.tibco.xml.runtime.data
Interface DTDSupplierpublic interface DTDSupplier
Method Summaryvoid addDTDHandler(org.xml.sax.DTDHandler handler) void removeDTDHandler(org.xml.sax.DTDHandler handler)
Method DetailaddDTDHandlerpublic void addDTDHandler(org.xml.sax.DTDHandler handler)
removeDTDHandlerpublic void removeDTDHandler(org.xml.sax.DTDHandler handler) Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
Copyright 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
com.tibco.xml.runtime.data
Class Entityjava.lang.Object | +--com.tibco.xml.runtime.data.Entity public class Entity extends java.lang.Object
Constructor SummaryEntity(java.lang.String publicId, java.lang.String systemId)
Method Summaryjava.lang.String getPublicId() java.lang.String getSystemId()
Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail
Entitypublic Entity(java.lang.String publicId, java.lang.String systemId)
Method DetailgetPublicIdpublic java.lang.String getPublicId()
getSystemIdpublic java.lang.String getSystemId() Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
Copyright 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
com.tibco.xml.channel.entity
Interface EntityConsumerAll Known Subinterfaces: NewSchemaParser All Known Implementing Classes: DefaultSchemaSupplier, SAXLocationHintSupplier, Validator, XmlStreamParser, Validator_SAX_Remark_InternalCache, Validator_SAX_Error_InternalCache public interface EntityConsumer
Method Summaryvoid setEntityResolver(org.xml.sax.EntityResolver resolver)
Method DetailsetEntityResolverpublic void setEntityResolver(org.xml.sax.EntityResolver resolver) Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
Copyright 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index HelpPREV CLASS NEXT CLASS SUMMARY: INNER | FIELD | CONSTR | METHOD FRAMES NO FRAMES DETAIL: FIELD | CONSTR | METHOD
com.tibco.xml.validation
Class ErrorCodejava.lang.Object | +--com.tibco.xml.validation.ErrorCode public class ErrorCode extends java.lang.Object
Field Summarystatic java.lang.String CONTENT_MODEL_ERROR_AMBIGUOUS_CONTENT_MODEL static java.lang.String CONTENT_MODEL_ERROR_DERIVED_TYPE_SCHEMA_VERSION_MISMATCH
static java.lang.String CONTENT_MODEL_ERROR_ELEMENT_IS_ABSTRA