Anda di halaman 1dari 1368

Overview Package Class Use Tree Deprecated Index Help

All Classes
PREV NEXT FRAMES NO FRAMES

Packages
com.tibco.xml.adjuncts.channel
com.tibco.xml.channel.boundary
com.tibco.xml.channel.content
TIBCO Extensibility XML
com.tibco.xml.channel.context Validate API
com.tibco.xml.channel.dom
com.tibco.xml.channel.entity XML Validate is a Java library for performing validation of XML documents
com.tibco.xml.channel.error against DTDs and schemas of various dialects.
com.tibco.xml.channel.property
See:
com.tibco.xml.channel.remark
Description
com.tibco.xml.channel.stream
com.tibco.xml.channel.stream.helpers
com.tibco.xml.channel.typeuri
Validation Helpers
com.tibco.xml.data.context com.tibco.xml.validation.helpers Ready-to-use validation patterns.
com.tibco.xml.data.context.helpers
com.tibco.xml.data.cursor
com.tibco.xml.data.cursor.helpers
com.tibco.xml.data.node Validation Kernel
com.tibco.xml.data.primitive
com.tibco.xml.validation.kernel Validation components that may be used to
com.tibco.xml.processor assemble a specialized validator.
com.tibco.xml.runtime
com.tibco.xml.runtime.data
com.tibco.xml.schema
com.tibco.xml.schema.channel Custom Extended Validation
com.tibco.xml.validation
com.tibco.xml.validation.channel com.tibco.xml.validation.constraints A mechanism for adding custom
constraints to the validator.
com.tibco.xml.validation.constraints
com.tibco.xml.validation.helpers
com.tibco.xml.validation.kernel
com.tibco.xml.validation.scripting Scripting Extended Validation
A mechanism for extending standard
com.tibco.xml.validation.scripting validation using XML Processing
Language (XPL) script.
All Classes
AdjunctConsumer
AdjunctHandler Schema Model
AdjunctProvider
AdjunctSupplier This package contains a collection of
com.tibco.xml.schema
Aggregate interfaces for representation of a schema.
BooleanHandler com.tibco.xml.schema.channel Schema provisioning interfaces.
BooleanSupplier
C14NSerializer
ConstraintChecker
ContentConsumer Validation Filter
ContentFilter com.tibco.xml.validation XML Validation in a pure SAX 2.0 environment.
ContentProvider
ContentSupplier
ContentSupplierMulticast
DefaultAdjunctCache Other Packages
DefaultAdjunctSupplier
com.tibco.xml.adjuncts.channel Provisioning of schema adjuncts.
DefaultConstraintChecker
DefaultConstraintViolation XML document boundary
com.tibco.xml.channel.boundary
DefaultNamespaceConverter notifications.
DefaultSchemaCache com.tibco.xml.channel.content SAX content information channels.
DefaultSchemaSupplier
com.tibco.xml.channel.context XML Context information channels.
DefaultXmlStreamHandler
DocumentBoundaryHandler
DocumentBoundarySupplier This package contains interfaces and
DocumentConsumer com.tibco.xml.channel.dom implementations supporting
DocumentLocatorConsumer org.w3c.dom information channels.
DocumentLocatorProvider com.tibco.xml.channel.entity Entity resolution.
DocumentProvider
DOM2Content com.tibco.xml.channel.error Error information channels.
DOM2XmlStream com.tibco.xml.channel.property Property information channels.
DOMHandler
DOMSupplier com.tibco.xml.channel.remark Remark information channels.
DTDSupplier com.tibco.xml.channel.stream XML stream information channels.
Entity
EntityConsumer com.tibco.xml.channel.stream.helpers Utility classes for operating on XML
streams.
ErrorCode
ErrorSupplier com.tibco.xml.channel.typeuri TypeURI information channels.
ErrorSupplierMulticast The XmlContext interface,
ExpandedName com.tibco.xml.data.context representing a context in an XML
IBlackBox information set.
IConfigurable Utility classes for operating on XML
IConnectionBuilder com.tibco.xml.data.context.helpers
contexts.
IContextConsumer
The XmlCursor interface, representing
IContextProvider com.tibco.xml.data.cursor
a cursor over an XML information set.
IFactory
LocationHintHandler com.tibco.xml.data.cursor.helpers Utility classes for operating on XML
LocationHintSupplier cursors.
MissingConnectionException The XmlNode interface, representing
NamespaceEntityConsumer com.tibco.xml.data.node information common to an XML
NamespaceEntityResolver context and an XML cursor.
NamespaceResolver com.tibco.xml.data.primitive XML primitive types.
NamespaceToPrefixResolver
Processors for manipulating XML
NamespaceToPrefixResolver.NamespaceNotFoundException com.tibco.xml.processor
information sets.
NativeSchemaProvider
NewSchemaParser This is the main XML Runtime
com.tibco.xml.runtime
PrefixToNamespaceResolver package.
PrefixToNamespaceResolver.PrefixNotFoundException This package contains some standard
PrintWriterErrorHandler com.tibco.xml.runtime.data "channel" interfaces for XML
PropertyConsumer Runtime.
PropertyHandler Interfaces used by the validator to
PropertyProvider com.tibco.xml.validation.channel communicate schema location hints in
PropertySupplier documents.
PropertySupplierMulticast
QName
SAXContent2DOM XML Validate is a Java library for performing validation of XML documents
SAXContent2XmlStream against DTDs and schemas of various dialects.
SAXContentNormalizer
The XML Validate APIs have been expanded to expose more capability and
SAXLocationHintSupplier
control to the integrator. In addition to the old API (in package
SchemaException com.tibco.xml.validation), which provides simple integration in terms of a SAX
SchemaMap XMLFilter, an entirely new set of interfaces has been opened up. The centerpiece
SchemaModelConsumer of these APIs is the XML Validation Kernel API. Other APIs provide fine-grained
SchemaModelHandler control over schema provisioning, and extended validation constraints
SchemaModelProvider
The overall architecture of the new XML Validate APIs is documented in
SchemaModelSupplier "Validation - Product Overview.doc".
ScriptingAdjunctValidator
Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.
ScriptingSimpleTypeCompilers
ScriptingValidatorMk1
SmAttribute Overview Package Class Use Tree Deprecated Index Help
SmAttributeGroup PREV NEXT FRAMES NO FRAMES

SmComponent
Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.
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
All Classes
AdjunctConsumer
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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.adjuncts.channel
Interface AdjunctConsumer
All Known Implementing Classes:
DefaultAdjunctSupplier, ScriptingValidatorMk1

public interface AdjunctConsumer


Implemented by components that require the services of an AdjunctProvider.

Method Summary
void setAdjunctProvider(AdjunctProvider provider)

Method Detail
setAdjunctProvider

public void setAdjunctProvider(AdjunctProvider provider)

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.adjuncts.channel
Interface AdjunctHandler
All Known Implementing Classes:
DefaultAdjunctCache

public interface AdjunctHandler


Implemented by components to handle adjuncts.

Method Summary
void putAdjunct(java.lang.String namespaceURI,
org.w3c.dom.Document adjunct)

Method Detail
putAdjunct

public void putAdjunct(java.lang.String namespaceURI,


org.w3c.dom.Document adjunct)

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.adjuncts.channel
Interface AdjunctProvider
All Known Implementing Classes:
DefaultAdjunctCache

public interface AdjunctProvider


Implemented by components to provide an adjunct through a pull mechanism.

Method Summary
org.w3c.dom.Document getAdjunct(java.lang.String namespaceURI)
Retrieves an adjunct based on it's namespace.

Method Detail
getAdjunct

public org.w3c.dom.Document getAdjunct(java.lang.String namespaceURI)


Retrieves an adjunct based on it's namespace.

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.adjuncts.channel
Interface AdjunctSupplier
All 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 Summary
void setAdjunctHandler(AdjunctHandler handler)

Method Detail
setAdjunctHandler

public void setAdjunctHandler(AdjunctHandler handler)

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.processor
Class Aggregate

java.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 Summary
Aggregate()

Method Summary
java.lang.Object getChannel(java.lang.String channelName)
Declared in com.tibco.xml.runtime.IBlackBox
int getChannelMode(java.lang.String channelName)
Declared in com.tibco.xml.runtime.IBlackBox
java.lang.String[] getChannelNames()
Declared in com.tibco.xml.runtime.IBlackBox
java.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.IConfigurable
void 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 Detail
Aggregate

public Aggregate()

Method Detail
getChannel

public 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.
getChannelType

public 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.

getChannelMode

public 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.

getChannelNames

public 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.
setConfiguration

public 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

setContextProvider

public void setContextProvider(IContextProvider provider)


Specified by:
setContextProvider in interface IContextConsumer

setContentProvider

public void setContentProvider(ContentProvider provider)


Specified by:
setContentProvider in interface ContentConsumer

setDocumentProvider

public void setDocumentProvider(DocumentProvider provider)


Specified by:
setDocumentProvider in interface DocumentConsumer

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.runtime.data
Interface BooleanHandler
public interface BooleanHandler

Method Summary
void process(boolean condition)

Method Detail
process

public void process(boolean condition)


throws org.xml.sax.SAXException

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.runtime.data
Interface BooleanSupplier
public interface BooleanSupplier

Method Summary
void addBooleanHandler(BooleanHandler handler)

void removeBooleanHandler(BooleanHandler handler)

Method Detail
addBooleanHandler

public void addBooleanHandler(BooleanHandler handler)

removeBooleanHandler

public void removeBooleanHandler(BooleanHandler handler)

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.processor
Class C14NSerializer

java.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 Summary
C14NSerializer(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 Detail
C14NSerializer

public C14NSerializer(java.io.Writer w)
C14N Constructor. The writer is flushed at endDocument
Parameters:
w - A writer outputing in utf-8 encoding

Method Detail
writeSpecialAtt

protected 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

endElement

public 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.
startElement

public 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.

attribute

public 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.

writeNS

protected void writeNS(java.lang.String prefix,


java.lang.String value)
throws java.io.IOException
Overrides:
writeNS in class XmlStreamSerializer
writeAttribute

protected void writeAttribute(java.lang.String name,


java.lang.String value)
throws java.io.IOException

closeTag

protected void closeTag()


throws java.io.IOException
Overrides:
closeTag in class XmlStreamSerializer

main

public static void main(java.lang.String[] args)

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.validation.constraints
Interface ConstraintChecker
All 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 Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.channel.content
Interface ContentConsumer
All Known Implementing Classes:
Aggregate

public interface ContentConsumer


Implemented by components that require SAX Content from a ContentProvider to operate.

Method Summary
void setContentProvider(ContentProvider provider)

Method Detail
setContentProvider

public void setContentProvider(ContentProvider provider)

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.channel.content
Interface ContentFilter
All 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 Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.channel.content
Interface ContentProvider
public interface ContentProvider
Implemented by components that can provide SAX Content through a pull mechanism to a
ContentConsumer.

Method Summary
void getContent(java.lang.String uri, org.xml.sax.ContentHandler h)

Method Detail
getContent

public void getContent(java.lang.String uri,


org.xml.sax.ContentHandler h)
throws org.xml.sax.SAXException

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.channel.content
Interface ContentSupplier
All 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 Summary
void setContentHandler(org.xml.sax.ContentHandler handler)
Allows an application to register and unregister a ContentHandler for this supplier.

Method Detail
setContentHandler

public 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 Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.channel.content
Interface ContentSupplierMulticast
public interface ContentSupplierMulticast
Implemented by components that supply SAX Content to multiple SAX ContentHandler(s).

Method Summary
void addContentHandler(org.xml.sax.ContentHandler handler)

void removeContentHandler(org.xml.sax.ContentHandler handler)

Method Detail
addContentHandler

public void addContentHandler(org.xml.sax.ContentHandler handler)

removeContentHandler

public void removeContentHandler(org.xml.sax.ContentHandler handler)

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.validation.kernel
Class DefaultAdjunctCache

java.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 Summary
static 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 Summary
void 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_HANDLER

public static final java.lang.String CHANNEL_HANDLER

CHANNEL_PROVIDER

public static final java.lang.String CHANNEL_PROVIDER

CHANNEL_BOUNDARY

public static final java.lang.String CHANNEL_BOUNDARY

Constructor Detail
DefaultAdjunctCache

public DefaultAdjunctCache()

Method Detail
getChannel

public 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.
getChannelType

public 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.

getChannelMode

public 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.

getChannelNames

public 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.

startDocument

public void startDocument()


Specified by:
startDocument in interface DocumentBoundaryHandler

endDocument

public void endDocument()


Specified by:
endDocument in interface DocumentBoundaryHandler

getAdjunct

public 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

putAdjunct

public void putAdjunct(java.lang.String namespace,


org.w3c.dom.Document adjunct)
Specified by:
putAdjunct in interface AdjunctHandler
Overview Package Class Use Tree Deprecated Index Help
PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.validation.kernel
Class DefaultAdjunctSupplier

java.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 Summary
static 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 Summary
DefaultAdjunctSupplier()
Method Summary
java.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 Detail
CHANNEL_LOCATION_HINT_HANDLER

public static final java.lang.String CHANNEL_LOCATION_HINT_HANDLER

CHANNEL_ADJUNCT_MODEL_SUPPLIER

public static final java.lang.String CHANNEL_ADJUNCT_MODEL_SUPPLIER


CHANNEL_ADJUNCT_MODEL_CONSUMER

public static final java.lang.String CHANNEL_ADJUNCT_MODEL_CONSUMER

CHANNEL_ERROR_SUPPLIER

public static final java.lang.String CHANNEL_ERROR_SUPPLIER

Constructor Detail
DefaultAdjunctSupplier

public DefaultAdjunctSupplier()

Method Detail
getChannel

public java.lang.Object getChannel(java.lang.String name)

getChannelType

public java.lang.String getChannelType(java.lang.String name)

getChannelMode

public int getChannelMode(java.lang.String name)

getChannelNames

public java.lang.String[] getChannelNames()


setErrorHandler

public void setErrorHandler(org.xml.sax.ErrorHandler handler)


Specified by:
setErrorHandler in interface ErrorSupplier

setAdjunctHandler

public void setAdjunctHandler(AdjunctHandler handler)


Specified by:
setAdjunctHandler in interface AdjunctSupplier

setAdjunctProvider

public void setAdjunctProvider(AdjunctProvider provider)


Specified by:
setAdjunctProvider in interface AdjunctConsumer

setTypeURI

public void setTypeURI(java.lang.String uri)


Specified by:
setTypeURI in interface TypeURIHandler

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.validation.constraints
Class DefaultConstraintChecker

java.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 Summary
protected XmlRemarkHandler m_errors

Constructor Summary
DefaultConstraintChecker()

Method Summary
void 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 Detail
m_errors

protected XmlRemarkHandler m_errors

Constructor Detail
DefaultConstraintChecker

public DefaultConstraintChecker()

Method Detail
getErrorCode

public abstract java.lang.String getErrorCode()

error

public void error(XmlContext context,


java.lang.String message)
throws org.xml.sax.SAXException

warning

public void warning(XmlContext context,


java.lang.String message)
throws org.xml.sax.SAXException

setXmlRemarkHandler

public 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.

startDocument

public 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

endDocument

public 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 Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.validation.constraints
Class DefaultConstraintViolation

java.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 Summary
DefaultConstraintViolation(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
DefaultConstraintViolation

public DefaultConstraintViolation(java.lang.String message)

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.validation.kernel
Class DefaultNamespaceConverter

java.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 Summary
DefaultNamespaceConverter()

Method Summary
void 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 Detail
DefaultNamespaceConverter

public DefaultNamespaceConverter()

Method Detail
startDocument

public void startDocument(java.lang.String locationURI)


Specified by:
startDocument in interface LocationHintHandler

endDocument

public void endDocument()


Specified by:
endDocument in interface LocationHintHandler

documentElement

public void documentElement(ExpandedName name)


Specified by:
documentElement in interface LocationHintHandler

locationHintXSD

public void locationHintXSD(java.lang.String namespaceURI,


java.lang.String locationURI)
throws org.xml.sax.SAXException
Specified by:
locationHintXSD in interface LocationHintHandler

locationHintDTD

public void locationHintDTD(java.lang.String namespaceURI,


Entity entity)
throws org.xml.sax.SAXException
Specified by:
locationHintDTD in interface LocationHintHandler
locationHintXDR

public void locationHintXDR(java.lang.String namespaceURI,


java.lang.String locationURI)
throws org.xml.sax.SAXException
Specified by:
locationHintXDR in interface LocationHintHandler

locationHintSOX

public 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.

getSchema

public 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
putSchema

public void putSchema(java.lang.String namespaceURI,


SmSchema schema)
Specified by:
putSchema in interface SchemaModelHandler

setSchemaModelProvider

public void setSchemaModelProvider(SchemaModelProvider provider)


Specified by:
setSchemaModelProvider in interface SchemaModelConsumer

setSchemaModelHandler

public void setSchemaModelHandler(SchemaModelHandler handler)


Specified by:
setSchemaModelHandler in interface SchemaModelSupplier

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.validation.kernel
Class DefaultSchemaCache

java.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 Summary
static 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
DefaultSchemaCache()

Method Summary
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.
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 Detail
CHANNEL_HANDLER

public static final java.lang.String CHANNEL_HANDLER

CHANNEL_PROVIDER

public static final java.lang.String CHANNEL_PROVIDER

CHANNEL_BOUNDARY

public static final java.lang.String CHANNEL_BOUNDARY

Constructor Detail
DefaultSchemaCache

public DefaultSchemaCache()

Method Detail
getChannel

public 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.

getChannelType

public 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.

getChannelMode

public 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.
getChannelNames

public 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.

startDocument

public void startDocument()


Specified by:
startDocument in interface DocumentBoundaryHandler

endDocument

public void endDocument()


Specified by:
endDocument in interface DocumentBoundaryHandler

setSchemaModelProvider

public void setSchemaModelProvider(SchemaModelProvider provider)


Specified by:
setSchemaModelProvider in interface SchemaModelConsumer

getSchema

public 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

putSchema

public void putSchema(java.lang.String namespace,


SmSchema schema)
Specified by:
putSchema in interface SchemaModelHandler

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.validation.kernel
Class DefaultSchemaSupplier

java.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 Summary
static 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 Summary
DefaultSchemaSupplier()

Method Summary
void 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 Detail
CHANNEL_LOCATION_HINT_HANDLER

public static final java.lang.String CHANNEL_LOCATION_HINT_HANDLER

CHANNEL_SCHEMA_MODEL_SUPPLIER

public static final java.lang.String CHANNEL_SCHEMA_MODEL_SUPPLIER

CHANNEL_SCHEMA_MODEL_CONSUMER

public static final java.lang.String CHANNEL_SCHEMA_MODEL_CONSUMER


CHANNEL_REMARK_SUPPLIER

public static final java.lang.String CHANNEL_REMARK_SUPPLIER

CHANNEL_ENTITY_CONSUMER

public static final java.lang.String CHANNEL_ENTITY_CONSUMER

CHANNEL_PROPERTY_CONSUMER

public static final java.lang.String CHANNEL_PROPERTY_CONSUMER

Constructor Detail
DefaultSchemaSupplier

public DefaultSchemaSupplier()

Method Detail
getChannel

public 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.
getChannelType

public 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.

getChannelMode

public 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.

getChannelNames

public 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.

startDocument

public void startDocument(java.lang.String locationURI)


Specified by:
startDocument in interface LocationHintHandler

endDocument

public void endDocument()


Specified by:
endDocument in interface LocationHintHandler

documentElement

public void documentElement(ExpandedName name)


Specified by:
documentElement in interface LocationHintHandler

locationHintXSD

public void locationHintXSD(java.lang.String namespaceURI,


java.lang.String locationURI)
throws org.xml.sax.SAXException
Specified by:
locationHintXSD in interface LocationHintHandler
locationHintDTD

public void locationHintDTD(java.lang.String namespaceURI,


Entity entity)
throws org.xml.sax.SAXException
Specified by:
locationHintDTD in interface LocationHintHandler

locationHintXDR

public void locationHintXDR(java.lang.String namespaceURI,


java.lang.String locationURI)
throws org.xml.sax.SAXException
Specified by:
locationHintXDR in interface LocationHintHandler

locationHintSOX

public 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.
setEntityResolver

public void setEntityResolver(org.xml.sax.EntityResolver resolver)


Specified by:
setEntityResolver in interface EntityConsumer

setXmlRemarkHandler

public 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.

setSchemaModelHandler

public void setSchemaModelHandler(SchemaModelHandler handler)


Specified by:
setSchemaModelHandler in interface SchemaModelSupplier

setSchemaModelProvider

public void setSchemaModelProvider(SchemaModelProvider provider)


Specified by:
setSchemaModelProvider in interface SchemaModelConsumer
setPropertyProvider

public void setPropertyProvider(PropertyProvider provider)


Specified by:
setPropertyProvider in interface PropertyConsumer

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.channel.stream.helpers
Class DefaultXmlStreamHandler

java.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 Summary
protected XmlCursor m_cursor

protected XmlStreamHandler m_handler

protected org.xml.sax.Locator m_locator

Constructor Summary
DefaultXmlStreamHandler()
Method Summary
void 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 handler
void 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 Detail
m_locator

protected org.xml.sax.Locator m_locator


m_cursor

protected XmlCursor m_cursor

m_handler

protected XmlStreamHandler m_handler

Constructor Detail
DefaultXmlStreamHandler

public DefaultXmlStreamHandler()

Method Detail
setDocumentLocator

public 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.

setDocumentCursor

public 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.

processingInstruction

public 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.

startDocument

public 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.

startElement

public 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.

attribute

public 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.

text

public 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.

endElement

public 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.

endDocument

public 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.

setXmlStreamHandler

public 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 Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.channel.boundary
Interface DocumentBoundaryHandler
All Known Implementing Classes:
DefaultAdjunctCache, DefaultSchemaCache, ValidationControl

public interface DocumentBoundaryHandler

Method Summary
void endDocument()

void startDocument()

Method Detail
startDocument

public void startDocument()


throws org.xml.sax.SAXException

endDocument

public void endDocument()


throws org.xml.sax.SAXException

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.channel.boundary
Interface DocumentBoundarySupplier
All Known Implementing Classes:
SAXContent2XmlStream, SAXContent2XmlStream.SAXContent2XmlKernel,
Validator_SAX_Remark_ExternalCache

public interface DocumentBoundarySupplier

Method Summary
void addDocumentBoundaryHandler(DocumentBoundaryHandler handler)

void removeDocumentBoundaryHandler(DocumentBoundaryHandler handler)

Method Detail
addDocumentBoundaryHandler

public void addDocumentBoundaryHandler(DocumentBoundaryHandler handler)

removeDocumentBoundaryHandler

public void removeDocumentBoundaryHandler(DocumentBoundaryHandler handler)

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.channel.dom
Interface DocumentConsumer
All Known Implementing Classes:
Aggregate

public interface DocumentConsumer


Implemented by components that require org.w3c.dom Document(s) from a DocumentProvider to
operate.

Method Summary
void setDocumentProvider(DocumentProvider provider)

Method Detail
setDocumentProvider

public void setDocumentProvider(DocumentProvider provider)

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.runtime.data
Interface DocumentLocatorConsumer
public interface DocumentLocatorConsumer
Implemented by components that require a SAX Locator.

Method Summary
void setDocumentLocatorProvider(DocumentLocatorProvider provider)

Method Detail
setDocumentLocatorProvider

public void setDocumentLocatorProvider(DocumentLocatorProvider provider)

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.runtime.data
Interface DocumentLocatorProvider
public interface DocumentLocatorProvider
Implemented by components that can provide a SAX Locator.

Method Summary
org.xml.sax.Locator getDocumentLocator()

Method Detail
getDocumentLocator

public org.xml.sax.Locator getDocumentLocator()

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.channel.dom
Interface DocumentProvider
public interface DocumentProvider
Implemented by components that can provide org.w3c.dom Document(s) through a pull mechanism to a
DocumentConsumer.

Method Summary
org.w3c.dom.Document getDocument(java.lang.String uri)

Method Detail
getDocument

public org.w3c.dom.Document getDocument(java.lang.String uri)


throws org.xml.sax.SAXException

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.processor
Class DOM2Content

java.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 Summary
static 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 Summary
DOM2Content()

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 Detail
CHANNEL_INPUT

public static final java.lang.String CHANNEL_INPUT

CHANNEL_OUTPUT

public static final java.lang.String CHANNEL_OUTPUT

Constructor Detail
DOM2Content

public DOM2Content()

Method Detail
getChannel

public 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.

getChannelType

public 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.
getChannelMode

public 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.

getChannelNames

public 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.

process

public 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 -

setContentHandler

public 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 Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.processor
Class DOM2XmlStream

java.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 Summary
static 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 Summary
DOM2XmlStream()

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_HANDLER

public static final java.lang.String CHANNEL_DOM_HANDLER

CHANNEL_STREAM_SUPPLIER

public static final java.lang.String CHANNEL_STREAM_SUPPLIER

Constructor Detail
DOM2XmlStream

public DOM2XmlStream()

Method Detail
getChannel

public 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.

getChannelType

public 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.

getChannelMode

public 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.

getChannelNames

public 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.

process

public 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 -

setXmlStreamHandler

public 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.

addTypeURIHandler

public void addTypeURIHandler(TypeURIHandler handler)


removeTypeURIHandler

public void removeTypeURIHandler(TypeURIHandler handler)

addDOMHandler

public void addDOMHandler(DOMHandler handler)

removeDOMHandler

public void removeDOMHandler(DOMHandler handler)

getNode

public org.w3c.dom.Node getNode()


Specified by:
getNode in interface com.tibco.xml.channel.node.NodeProvider

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.channel.dom
Interface DOMHandler
All Known Implementing Classes:
DOM2XmlStream, DOM2Content, Validator_DOM_Remark_ExternalCache,
ScriptingValidatorMk1

public interface DOMHandler


Implemented by components that process Document(s).

Method Summary
void process(org.w3c.dom.Document source, java.lang.String systemId)
Receive notification of an XML document.

Method Detail
process

public 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 Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.channel.dom
Interface DOMSupplier
All Known Implementing Classes:
SAXContent2DOM, XmlStream2DOM, Validator_DOM_Remark_ExternalCache,
ScriptingValidatorMk1

public interface DOMSupplier


Implemented by components that supply Document(s) to DOMHandler(s).

Method Summary
void addDOMHandler(DOMHandler handler)

void removeDOMHandler(DOMHandler handler)

Method Detail
addDOMHandler

public void addDOMHandler(DOMHandler handler)

removeDOMHandler

public void removeDOMHandler(DOMHandler handler)

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.runtime.data
Interface DTDSupplier
public interface DTDSupplier

Method Summary
void addDTDHandler(org.xml.sax.DTDHandler handler)

void removeDTDHandler(org.xml.sax.DTDHandler handler)

Method Detail
addDTDHandler

public void addDTDHandler(org.xml.sax.DTDHandler handler)

removeDTDHandler

public void removeDTDHandler(org.xml.sax.DTDHandler handler)

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.runtime.data
Class Entity

java.lang.Object
|
+--com.tibco.xml.runtime.data.Entity

public class Entity


extends java.lang.Object

Constructor Summary
Entity(java.lang.String publicId, java.lang.String systemId)

Method Summary
java.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
Entity

public Entity(java.lang.String publicId,


java.lang.String systemId)

Method Detail
getPublicId

public java.lang.String getPublicId()

getSystemId

public java.lang.String getSystemId()

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.channel.entity
Interface EntityConsumer
All Known Subinterfaces:
NewSchemaParser
All Known Implementing Classes:
DefaultSchemaSupplier, SAXLocationHintSupplier, Validator, XmlStreamParser,
Validator_SAX_Remark_InternalCache, Validator_SAX_Error_InternalCache

public interface EntityConsumer

Method Summary
void setEntityResolver(org.xml.sax.EntityResolver resolver)

Method Detail
setEntityResolver

public void setEntityResolver(org.xml.sax.EntityResolver resolver)

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.validation
Class ErrorCode

java.lang.Object
|
+--com.tibco.xml.validation.ErrorCode

public class ErrorCode


extends java.lang.Object

Field Summary
static 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_ABSTRACT

static java.lang.String CONTENT_MODEL_ERROR_ELEMENT_NOT_NILLABLE

static java.lang.String CONTENT_MODEL_ERROR_ELEMENTS_NOT_ALLOWED_IN_EMPTY_CONTENT

static java.lang.String CONTENT_MODEL_ERROR_ELEMENTS_NOT_ALLOWED_IN_TEXT_ONLY_CONTENT

static java.lang.String CONTENT_MODEL_ERROR_ENUMERATION_FACET_MISMATCH

static java.lang.String CONTENT_MODEL_ERROR_MISSING_ATTRIBUTE

static java.lang.String CONTENT_MODEL_ERROR_MISSING_ELEMENT_DECLARATION

static java.lang.String CONTENT_MODEL_ERROR_MISSING_SCHEMA

static java.lang.String CONTENT_MODEL_ERROR_MISSING_TYPE_DECLARATION

static java.lang.String CONTENT_MODEL_ERROR_NO_NAMESPACE_FOR_PREFIX

static java.lang.String CONTENT_MODEL_ERROR_TEXT_NOT_ALLOWED_IN_EMPTY_CONTENT

static java.lang.String CONTENT_MODEL_ERROR_TYPE_IS_ABSTRACT


static java.lang.String CONTENT_MODEL_ERROR_TYPE_IS_MISSING

static java.lang.String CONTENT_MODEL_ERROR_TYPE_NOT_FOUND_IN_NAMESPACE

static java.lang.String CONTENT_MODEL_ERROR_UNDECLARED_ATTRIBUTE

static java.lang.String CONTENT_MODEL_ERROR_UNDECLARED_ELEMENT

static java.lang.String CONTENT_MODEL_ERROR_UNDECLARED_IDREF

static java.lang.String CONTENT_MODEL_ERROR_UNEXPECTED_CONTENT

static java.lang.String CONTENT_MODEL_ERROR_UNEXPECTED_END_OF_CONTENT

static java.lang.String CONTENT_MODEL_ERROR_UNEXPECTED_TEXT

static java.lang.String ELEMENT_ID_ERROR_DUPLICATE

static java.lang.String ELEMENT_ID_ERROR_MULTIPLE_ID_ATTRIBUTES

static java.lang.String ELEMENT_ID_ERROR_UNDECLARED_IDREF

static java.lang.String FILE_NOT_FOUND_EXCEPTION

static java.lang.String IDENTITY_CONSTRAINT_ERROR_DUPLICATE_FIELD

static java.lang.String IDENTITY_CONSTRAINT_ERROR_DUPLICATE_TARGET

static java.lang.String IDENTITY_CONSTRAINT_ERROR_MISSING_FIELD

static java.lang.String ILLEGAL_NIL_VALUE

static java.lang.String NAMESPACE_TIBCO

static java.lang.String NAMESPACE_TIBCO_XML

static java.lang.String NAMESPACE_VALIDATION

static java.lang.String SAX_PARSE_EXCEPTION

static java.lang.String SIMPLE_TYPE_ERROR_ATTRIBUTE_TYPE_NOT_SIMPLE

static java.lang.String SIMPLE_TYPE_ERROR_BINARY_WITHOUT_ENCODING


static java.lang.String SIMPLE_TYPE_ERROR_ELEMENT_TYPE_ABSTRACT

static java.lang.String SIMPLE_TYPE_ERROR_EMPTY_ENUMERATION

static java.lang.String SIMPLE_TYPE_ERROR_ENUMERATION_FACET_MISMATCH

static java.lang.String SIMPLE_TYPE_ERROR_EXTENDED_VALIDATION

static java.lang.String SIMPLE_TYPE_ERROR_FIXED_VALUE_MISMATCH

static java.lang.String SIMPLE_TYPE_ERROR_INVALID_FACET

static java.lang.String SIMPLE_TYPE_ERROR_INVALID_LENGTH

static java.lang.String SIMPLE_TYPE_ERROR_INVALID_PATTERN

static java.lang.String SIMPLE_TYPE_ERROR_INVALID_PRIMITIVETYPE_VALUE

static java.lang.String SIMPLE_TYPE_ERROR_INVALID_TIME_DURATION

static java.lang.String SIMPLE_TYPE_ERROR_INVALID_URI_CHAR

static java.lang.String SIMPLE_TYPE_ERROR_INVALID_URI_PERCENT

static java.lang.String SIMPLE_TYPE_ERROR_INVALID_VALUE_FOR_TYPE

static java.lang.String SIMPLE_TYPE_ERROR_LENGTH_TOO_LONG

static java.lang.String SIMPLE_TYPE_ERROR_LENGTH_TOO_SHORT

static java.lang.String SIMPLE_TYPE_ERROR_MAXIMUM_VALUE

static java.lang.String SIMPLE_TYPE_ERROR_MINIMUM_VALUE

static java.lang.String SIMPLE_TYPE_ERROR_MUST_BE_GREATER_THAN

static java.lang.String SIMPLE_TYPE_ERROR_MUST_BE_GREATER_THAN_OR_EQUAL

static java.lang.String SIMPLE_TYPE_ERROR_MUST_BE_LESS_THAN

static java.lang.String SIMPLE_TYPE_ERROR_MUST_BE_LESS_THAN_OR_EQUAL


static java.lang.String SIMPLE_TYPE_ERROR_MUST_HAVE_AT_MOST

static java.lang.String SIMPLE_TYPE_ERROR_MUST_HAVE_EXACTLY_ONE_CHAR

static java.lang.String SIMPLE_TYPE_ERROR_NO_NAMESPACE_FOR_PREFIX

static java.lang.String SIMPLE_TYPE_ERROR_NO_SUBTYPES_IN_UNION

static java.lang.String SIMPLE_TYPE_ERROR_OUT_OF_RANGE_FOR_TYPE

static java.lang.String SIMPLE_TYPE_ERROR_REGULAR_EXPRESSION_MISMATCH

static java.lang.String SIMPLE_TYPE_ERROR_UNKNOWN

static java.lang.String SIMPLE_TYPE_ERROR_UNKNOWN_VALUE_TYPE

static java.lang.String SIMPLE_TYPE_ERROR_XPATH_SYNTAX

Constructor Summary
ErrorCode()

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait

Field Detail
NAMESPACE_TIBCO

public static final java.lang.String NAMESPACE_TIBCO

NAMESPACE_TIBCO_XML

public static final java.lang.String NAMESPACE_TIBCO_XML


NAMESPACE_VALIDATION

public static final java.lang.String NAMESPACE_VALIDATION

CONTENT_MODEL_ERROR_AMBIGUOUS_CONTENT_MODEL

public static final java.lang.String CONTENT_MODEL_ERROR_AMBIGUOUS_CONTENT_MODEL

CONTENT_MODEL_ERROR_DERIVED_TYPE_SCHEMA_VERSION_MISMATCH

public static final java.lang.String


CONTENT_MODEL_ERROR_DERIVED_TYPE_SCHEMA_VERSION_MISMATCH

CONTENT_MODEL_ERROR_ELEMENT_IS_ABSTRACT

public static final java.lang.String CONTENT_MODEL_ERROR_ELEMENT_IS_ABSTRACT

CONTENT_MODEL_ERROR_ELEMENTS_NOT_ALLOWED_IN_EMPTY_CONTENT

public static final java.lang.String


CONTENT_MODEL_ERROR_ELEMENTS_NOT_ALLOWED_IN_EMPTY_CONTENT

CONTENT_MODEL_ERROR_ELEMENTS_NOT_ALLOWED_IN_TEXT_ONLY_CONTENT

public static final java.lang.String


CONTENT_MODEL_ERROR_ELEMENTS_NOT_ALLOWED_IN_TEXT_ONLY_CONTENT

CONTENT_MODEL_ERROR_ELEMENT_NOT_NILLABLE

public static final java.lang.String CONTENT_MODEL_ERROR_ELEMENT_NOT_NILLABLE

CONTENT_MODEL_ERROR_ENUMERATION_FACET_MISMATCH

public static final java.lang.String CONTENT_MODEL_ERROR_ENUMERATION_FACET_MISMATCH

CONTENT_MODEL_ERROR_MISSING_ATTRIBUTE

public static final java.lang.String CONTENT_MODEL_ERROR_MISSING_ATTRIBUTE


CONTENT_MODEL_ERROR_MISSING_ELEMENT_DECLARATION

public static final java.lang.String CONTENT_MODEL_ERROR_MISSING_ELEMENT_DECLARATION

CONTENT_MODEL_ERROR_MISSING_TYPE_DECLARATION

public static final java.lang.String CONTENT_MODEL_ERROR_MISSING_TYPE_DECLARATION

CONTENT_MODEL_ERROR_MISSING_SCHEMA

public static final java.lang.String CONTENT_MODEL_ERROR_MISSING_SCHEMA

CONTENT_MODEL_ERROR_NO_NAMESPACE_FOR_PREFIX

public static final java.lang.String CONTENT_MODEL_ERROR_NO_NAMESPACE_FOR_PREFIX

CONTENT_MODEL_ERROR_TEXT_NOT_ALLOWED_IN_EMPTY_CONTENT

public static final java.lang.String


CONTENT_MODEL_ERROR_TEXT_NOT_ALLOWED_IN_EMPTY_CONTENT

CONTENT_MODEL_ERROR_TYPE_IS_ABSTRACT

public static final java.lang.String CONTENT_MODEL_ERROR_TYPE_IS_ABSTRACT

CONTENT_MODEL_ERROR_TYPE_IS_MISSING

public static final java.lang.String CONTENT_MODEL_ERROR_TYPE_IS_MISSING

CONTENT_MODEL_ERROR_TYPE_NOT_FOUND_IN_NAMESPACE

public static final java.lang.String CONTENT_MODEL_ERROR_TYPE_NOT_FOUND_IN_NAMESPACE

CONTENT_MODEL_ERROR_UNDECLARED_ATTRIBUTE

public static final java.lang.String CONTENT_MODEL_ERROR_UNDECLARED_ATTRIBUTE


CONTENT_MODEL_ERROR_UNDECLARED_ELEMENT

public static final java.lang.String CONTENT_MODEL_ERROR_UNDECLARED_ELEMENT

CONTENT_MODEL_ERROR_UNDECLARED_IDREF

public static final java.lang.String CONTENT_MODEL_ERROR_UNDECLARED_IDREF

CONTENT_MODEL_ERROR_UNEXPECTED_CONTENT

public static final java.lang.String CONTENT_MODEL_ERROR_UNEXPECTED_CONTENT

CONTENT_MODEL_ERROR_UNEXPECTED_END_OF_CONTENT

public static final java.lang.String CONTENT_MODEL_ERROR_UNEXPECTED_END_OF_CONTENT

CONTENT_MODEL_ERROR_UNEXPECTED_TEXT

public static final java.lang.String CONTENT_MODEL_ERROR_UNEXPECTED_TEXT

ELEMENT_ID_ERROR_DUPLICATE

public static final java.lang.String ELEMENT_ID_ERROR_DUPLICATE

ELEMENT_ID_ERROR_MULTIPLE_ID_ATTRIBUTES

public static final java.lang.String ELEMENT_ID_ERROR_MULTIPLE_ID_ATTRIBUTES

ELEMENT_ID_ERROR_UNDECLARED_IDREF

public static final java.lang.String ELEMENT_ID_ERROR_UNDECLARED_IDREF

IDENTITY_CONSTRAINT_ERROR_DUPLICATE_FIELD

public static final java.lang.String IDENTITY_CONSTRAINT_ERROR_DUPLICATE_FIELD


IDENTITY_CONSTRAINT_ERROR_DUPLICATE_TARGET

public static final java.lang.String IDENTITY_CONSTRAINT_ERROR_DUPLICATE_TARGET

IDENTITY_CONSTRAINT_ERROR_MISSING_FIELD

public static final java.lang.String IDENTITY_CONSTRAINT_ERROR_MISSING_FIELD

SIMPLE_TYPE_ERROR_ATTRIBUTE_TYPE_NOT_SIMPLE

public static final java.lang.String SIMPLE_TYPE_ERROR_ATTRIBUTE_TYPE_NOT_SIMPLE

SIMPLE_TYPE_ERROR_ENUMERATION_FACET_MISMATCH

public static final java.lang.String SIMPLE_TYPE_ERROR_ENUMERATION_FACET_MISMATCH

SIMPLE_TYPE_ERROR_REGULAR_EXPRESSION_MISMATCH

public static final java.lang.String SIMPLE_TYPE_ERROR_REGULAR_EXPRESSION_MISMATCH

SIMPLE_TYPE_ERROR_ELEMENT_TYPE_ABSTRACT

public static final java.lang.String SIMPLE_TYPE_ERROR_ELEMENT_TYPE_ABSTRACT

SIMPLE_TYPE_ERROR_EMPTY_ENUMERATION

public static final java.lang.String SIMPLE_TYPE_ERROR_EMPTY_ENUMERATION

SIMPLE_TYPE_ERROR_FIXED_VALUE_MISMATCH

public static final java.lang.String SIMPLE_TYPE_ERROR_FIXED_VALUE_MISMATCH

SIMPLE_TYPE_ERROR_INVALID_FACET

public static final java.lang.String SIMPLE_TYPE_ERROR_INVALID_FACET


SIMPLE_TYPE_ERROR_INVALID_PATTERN

public static final java.lang.String SIMPLE_TYPE_ERROR_INVALID_PATTERN

SIMPLE_TYPE_ERROR_INVALID_VALUE_FOR_TYPE

public static final java.lang.String SIMPLE_TYPE_ERROR_INVALID_VALUE_FOR_TYPE

SIMPLE_TYPE_ERROR_OUT_OF_RANGE_FOR_TYPE

public static final java.lang.String SIMPLE_TYPE_ERROR_OUT_OF_RANGE_FOR_TYPE

SIMPLE_TYPE_ERROR_INVALID_LENGTH

public static final java.lang.String SIMPLE_TYPE_ERROR_INVALID_LENGTH

SIMPLE_TYPE_ERROR_INVALID_TIME_DURATION

public static final java.lang.String SIMPLE_TYPE_ERROR_INVALID_TIME_DURATION

SIMPLE_TYPE_ERROR_LENGTH_TOO_SHORT

public static final java.lang.String SIMPLE_TYPE_ERROR_LENGTH_TOO_SHORT

SIMPLE_TYPE_ERROR_LENGTH_TOO_LONG

public static final java.lang.String SIMPLE_TYPE_ERROR_LENGTH_TOO_LONG

SIMPLE_TYPE_ERROR_MUST_BE_GREATER_THAN

public static final java.lang.String SIMPLE_TYPE_ERROR_MUST_BE_GREATER_THAN

SIMPLE_TYPE_ERROR_MUST_BE_GREATER_THAN_OR_EQUAL

public static final java.lang.String SIMPLE_TYPE_ERROR_MUST_BE_GREATER_THAN_OR_EQUAL


SIMPLE_TYPE_ERROR_MUST_BE_LESS_THAN

public static final java.lang.String SIMPLE_TYPE_ERROR_MUST_BE_LESS_THAN

SIMPLE_TYPE_ERROR_MUST_BE_LESS_THAN_OR_EQUAL

public static final java.lang.String SIMPLE_TYPE_ERROR_MUST_BE_LESS_THAN_OR_EQUAL

SIMPLE_TYPE_ERROR_MUST_HAVE_AT_MOST

public static final java.lang.String SIMPLE_TYPE_ERROR_MUST_HAVE_AT_MOST

SIMPLE_TYPE_ERROR_NO_NAMESPACE_FOR_PREFIX

public static final java.lang.String SIMPLE_TYPE_ERROR_NO_NAMESPACE_FOR_PREFIX

SIMPLE_TYPE_ERROR_EXTENDED_VALIDATION

public static final java.lang.String SIMPLE_TYPE_ERROR_EXTENDED_VALIDATION

SIMPLE_TYPE_ERROR_INVALID_PRIMITIVETYPE_VALUE

public static final java.lang.String SIMPLE_TYPE_ERROR_INVALID_PRIMITIVETYPE_VALUE

SIMPLE_TYPE_ERROR_BINARY_WITHOUT_ENCODING

public static final java.lang.String SIMPLE_TYPE_ERROR_BINARY_WITHOUT_ENCODING

SIMPLE_TYPE_ERROR_UNKNOWN_VALUE_TYPE

public static final java.lang.String SIMPLE_TYPE_ERROR_UNKNOWN_VALUE_TYPE

SIMPLE_TYPE_ERROR_INVALID_URI_CHAR

public static final java.lang.String SIMPLE_TYPE_ERROR_INVALID_URI_CHAR


SIMPLE_TYPE_ERROR_INVALID_URI_PERCENT

public static final java.lang.String SIMPLE_TYPE_ERROR_INVALID_URI_PERCENT

SIMPLE_TYPE_ERROR_MINIMUM_VALUE

public static final java.lang.String SIMPLE_TYPE_ERROR_MINIMUM_VALUE

SIMPLE_TYPE_ERROR_MAXIMUM_VALUE

public static final java.lang.String SIMPLE_TYPE_ERROR_MAXIMUM_VALUE

SIMPLE_TYPE_ERROR_NO_SUBTYPES_IN_UNION

public static final java.lang.String SIMPLE_TYPE_ERROR_NO_SUBTYPES_IN_UNION

SIMPLE_TYPE_ERROR_MUST_HAVE_EXACTLY_ONE_CHAR

public static final java.lang.String SIMPLE_TYPE_ERROR_MUST_HAVE_EXACTLY_ONE_CHAR

SIMPLE_TYPE_ERROR_UNKNOWN

public static final java.lang.String SIMPLE_TYPE_ERROR_UNKNOWN

SIMPLE_TYPE_ERROR_XPATH_SYNTAX

public static final java.lang.String SIMPLE_TYPE_ERROR_XPATH_SYNTAX

FILE_NOT_FOUND_EXCEPTION

public static final java.lang.String FILE_NOT_FOUND_EXCEPTION

ILLEGAL_NIL_VALUE

public static final java.lang.String ILLEGAL_NIL_VALUE


SAX_PARSE_EXCEPTION

public static final java.lang.String SAX_PARSE_EXCEPTION

Constructor Detail
ErrorCode

public ErrorCode()

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.channel.error
Interface ErrorSupplier
All Known Subinterfaces:
NewSchemaParser
All Known Implementing Classes:
DefaultAdjunctSupplier, Validator_SAX_Error_InternalCache,
Validator_SAX_Error_ExternalCache

public interface ErrorSupplier


Implemented by components that supply SAX Error(s) to SAX ErrorHandler(s).

Method Summary
void setErrorHandler(org.xml.sax.ErrorHandler handler)

Method Detail
setErrorHandler

public void setErrorHandler(org.xml.sax.ErrorHandler handler)

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.channel.error
Interface ErrorSupplierMulticast
public interface ErrorSupplierMulticast
Implemented by components that supply SAX Error(s) to SAX ErrorHandler(s).

Method Summary
void addErrorHandler(org.xml.sax.ErrorHandler handler)

void removeErrorHandler(org.xml.sax.ErrorHandler handler)

Method Detail
addErrorHandler

public void addErrorHandler(org.xml.sax.ErrorHandler handler)

removeErrorHandler

public void removeErrorHandler(org.xml.sax.ErrorHandler handler)

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.data.primitive
Class ExpandedName

java.lang.Object
|
+--com.tibco.xml.data.primitive.ExpandedName
All Implemented Interfaces:
XmlValue

public class ExpandedName


extends java.lang.Object
implements XmlValue

Constructor Summary
ExpandedName(java.lang.String namespaceURI,
java.lang.String localName)

Method Summary
boolean equals(java.lang.Object object)
Override equals and agree that we're equal if the passed object is a
NormalizedName and it matches the name of the arg.
java.lang.String getExpandedForm()
The expanded form of an ExpandedName is a normalized name, using
the the '{namespace}localName' notation.
java.lang.String getLocalName()
Returns the local part of the normalized name.
java.lang.String getNamespaceURI()
Returns the namespace URI.
QName getQName(NamespaceToPrefixResolver resolver)
Returns the QName for this ExpandedName given a namespace to prefix
resolver.
java.lang.String getSerializedForm(NamespaceToPrefixResolver resolver)
The serialized form of an ExpandedName is a QName.
int hashCode()

boolean isExpanded()
By definition, an ExpandedName is expanded.
static ExpandedName parse(java.lang.String name)
Given a string, create and return a ExpandedName object
java.lang.String toString()
Return the string representation of the normalized name, using the the
'{namespace}localName' notation.

Methods inherited from class java.lang.Object


clone, finalize, getClass, notify, notifyAll, wait, wait, wait

Constructor Detail
ExpandedName

public ExpandedName(java.lang.String namespaceURI,


java.lang.String localName)

Method Detail
getNamespaceURI

public java.lang.String getNamespaceURI()


Returns the namespace URI. Returns null if the namespace URI is not known or not specified.
Returns:
The namespace URI, or null

getLocalName

public java.lang.String getLocalName()


Returns the local part of the normalized name.
Returns:
The local part of the normalized name
toString

public java.lang.String toString()


Return the string representation of the normalized name, using the the '{namespace}localName' notation.
Overrides:
toString in class java.lang.Object
Returns:
the string representation of the normalized name.

getSerializedForm

public java.lang.String getSerializedForm(NamespaceToPrefixResolver resolver)


The serialized form of an ExpandedName is a QName.
Specified by:
getSerializedForm in interface XmlValue
Parameters:
resolver - A namespace to prefix resolver.
Returns:
The serialized representation of an ExpandedName.

getExpandedForm

public java.lang.String getExpandedForm()


The expanded form of an ExpandedName is a normalized name, using the the '{namespace}localName'
notation.
Specified by:
getExpandedForm in interface XmlValue
Returns:
the string representation of the normalized name.

isExpanded

public boolean isExpanded()


By definition, an ExpandedName is expanded.
Specified by:
isExpanded in interface XmlValue
Returns:
true.

hashCode

public int hashCode()


Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object object)


Override equals and agree that we're equal if the passed object is a NormalizedName and it matches the
name of the arg.
Overrides:
equals in class java.lang.Object
Parameters:
object -
Returns:
True if the normalized names are equal

getQName

public QName getQName(NamespaceToPrefixResolver resolver)


Returns the QName for this ExpandedName given a namespace to prefix resolver.
Parameters:
resolver - A namespace to prefix resolver.
Returns:
The QName for this ExpandedName.

parse

public static ExpandedName parse(java.lang.String name)


Given a string, create and return a ExpandedName object
Parameters:
name - String to use to create ExpandedName
Returns:
a ExpandedName object
Overview Package Class Use Tree Deprecated Index Help
PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.runtime
Interface IBlackBox
All Known Implementing Classes:
Aggregate, DefaultAdjunctCache, DefaultSchemaCache, DefaultSchemaSupplier, DOM2Content,
DOM2XmlStream, NativeSchemaProvider, SAXContent2DOM, SAXContent2XmlStream,
SAXContentNormalizer, SAXLocationHintSupplier, ValidationControl, ValidationKernel,
XmlStream2DOM, XmlStreamEnhancer, XmlStreamMulticastHelper, XmlStreamProfiler,
XmlStreamTermination, XmlStreamTracer, ScriptingValidatorMk1

public interface IBlackBox


A Black Box is a component with a hidden implementation. The inputs and outputs are available and are
called Channels. A channel is just an interface onto a component that can be accessed by the channel
name.

Field Summary
static int CHANNEL_MODE_SINK
Defines the role of an interface for a component as the callee.
static int CHANNEL_MODE_SOURCE
Defines the role of an interface for a component as the caller.

Method Summary
java.lang.Object getChannel(java.lang.String channelName)
Returns an interface that can be used to send messages to or receive
messages from the Black Box.
int getChannelMode(java.lang.String channelName)
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 channelName)
Returns the type of the interface that is returned when getChannel is
called.

Field Detail
CHANNEL_MODE_SINK

public static final int CHANNEL_MODE_SINK


Defines the role of an interface for a component as the callee. XML Runtime uses the naming
convention of Handler(s) for components that have data pushed into them and Provider(s) for
components that have data pulled from them. Thus a sink is either a Handler or a Provider. The
purpose of the Handler and Provider interfaces is to provide the minimum programming interface
to perform a function.

CHANNEL_MODE_SOURCE

public static final int CHANNEL_MODE_SOURCE


Defines the role of an interface for a component as the caller. XML Runtime uses the naming
convention of Supplier(s) for components that push data to Handler(s), and Consumer(s) for
components that pull data from Provider(s). Thus a source is either a Supplier or a Consumer. The
Supplier role is conjugate to the Handler role, and the Consumer role is conjugate to the Provider
role. The purpose of the Supplier and Consumer interfaces is to provide the minimum
programming interface required to connect a source to a sink.

Method Detail
getChannel

public java.lang.Object getChannel(java.lang.String channelName)


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.
Parameters:
channelName - The name of the channel.
Returns:
An Object that may be cast to the appropriate interface.

getChannelType

public java.lang.String getChannelType(java.lang.String channelName)


Returns the type of the interface that is returned when getChannel is called. The purpose of this
method is to ensure channel compatibility.
Parameters:
channelName - The name of the channel.
Returns:
The type of the interface.

getChannelMode

public int getChannelMode(java.lang.String channelName)


Returns the mode of the interface that is returned when getChannel is called. The purpose of this
method is to ensure channel compatibility.
Parameters:
channelName - The name of the channel.
Returns:
The mode of the interface. Can be either CHANNEL_MODE_SINK or
CHANNEL_MODE_SOURCE.

getChannelNames

public java.lang.String[] getChannelNames()


Returns a String array of channel names for this Black Box.
Returns:
An String array where each element is a channel name.

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.runtime
Interface IConfigurable
All Known Implementing Classes:
Aggregate

public interface IConfigurable


The IConfigurable interface allows an instance to have configuration information set at runtime.

Method Summary
void setConfiguration(java.lang.String configURI)

Method Detail
setConfiguration

public void setConfiguration(java.lang.String configURI)


throws org.xml.sax.SAXException,
java.io.IOException

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.runtime
Interface IConnectionBuilder
public interface IConnectionBuilder
This interface is implemented for each pair of message interfaces so that a script may be used to connect
together the channels of black boxes at execution time.

Method Summary
void connect(IBlackBox callerBox, java.lang.String callerChannel,
IBlackBox calleeBox, java.lang.String calleeChannel)
Connects the specified channels of two black box components together.
void disconnect(IBlackBox callerBox, java.lang.String callerChannel,
IBlackBox calleeBox, java.lang.String calleeChannel)
Disconnects the specified channels of two black box components.

Method Detail
connect

public void connect(IBlackBox callerBox,


java.lang.String callerChannel,
IBlackBox calleeBox,
java.lang.String calleeChannel)
Connects the specified channels of two black box components together.
Parameters:
callerBox - The black box that does the calling in the relationship.
callerChannel - The outgoing channel.
calleeBox - The black box that is called in the relationship.
calleeChannel - The incoming channel.
disconnect

public void disconnect(IBlackBox callerBox,


java.lang.String callerChannel,
IBlackBox calleeBox,
java.lang.String calleeChannel)
Disconnects the specified channels of two black box components.
Parameters:
callerBox - The black box that does the calling in the relationship.
callerChannel - The outgoing channel.
calleeBox - The black box that is called in the relationship.
calleeChannel - The incoming channel.

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.runtime
Interface IContextConsumer
All Known Implementing Classes:
Aggregate

public interface IContextConsumer


This interface should be implemented by all black box components that require contextual information or
the creation of other components.

Method Summary
void setContextProvider(IContextProvider contextProvider)

Method Detail
setContextProvider

public void setContextProvider(IContextProvider contextProvider)

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.runtime
Interface IContextProvider
public interface IContextProvider
This interface is implemented to provide contextual information to black box components.

Method Summary
IConnectionBuilder getConnectionBuilder(java.lang.String channelType)
Retrieves a connection builder for the specified channel type.
IFactory getFactory(java.lang.String classURI)
Retrieves a factory for the specified class identifier.

Method Detail
getConnectionBuilder

public IConnectionBuilder getConnectionBuilder(java.lang.String channelType)


throws java.lang.ClassNotFoundException,
java.lang.InstantiationException,
java.lang.IllegalAccessException
Retrieves a connection builder for the specified channel type.
Parameters:
channelType - The type identifier of the channel.
Returns:
The connection builder.

getFactory

public IFactory getFactory(java.lang.String classURI)


Retrieves a factory for the specified class identifier.
Parameters:
classURI - The identifier of the class that is required.
Returns:
The factory for creating the class.
Overview Package Class Use Tree Deprecated Index Help
PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.runtime
Interface IFactory
public interface IFactory
This interface implements the standard factory pattern for black box components.

Method Summary
IBlackBox createInstance(java.lang.String classURI)

Method Detail
createInstance

public IBlackBox createInstance(java.lang.String classURI)


throws java.lang.ClassNotFoundException,
java.lang.InstantiationException,
java.lang.IllegalAccessException

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.validation.channel
Interface LocationHintHandler
All Known Implementing Classes:
DefaultSchemaSupplier, DefaultNamespaceConverter

public interface LocationHintHandler

Method Summary
void documentElement(ExpandedName name)

void endDocument()

void locationHintDTD(java.lang.String namespace, 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 namespace,
java.lang.String locationURI)

void locationHintXSD(java.lang.String namespace,


java.lang.String locationURI)

void startDocument(java.lang.String locationURI)

Method Detail
startDocument

public void startDocument(java.lang.String locationURI)


throws org.xml.sax.SAXException

endDocument

public void endDocument()


throws org.xml.sax.SAXException

documentElement

public void documentElement(ExpandedName name)


throws org.xml.sax.SAXException

locationHintXSD

public void locationHintXSD(java.lang.String namespace,


java.lang.String locationURI)
throws org.xml.sax.SAXException

locationHintDTD

public void locationHintDTD(java.lang.String namespace,


Entity entity)
throws org.xml.sax.SAXException

locationHintXDR

public void locationHintXDR(java.lang.String namespace,


java.lang.String locationURI)
throws org.xml.sax.SAXException
locationHintSOX

public void locationHintSOX(java.lang.String namespaceURI,


java.lang.String locationURI)
throws org.xml.sax.SAXException
Notifies the handler of SOX schema location hints.
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.

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.validation.channel
Interface LocationHintSupplier
All Known Implementing Classes:
Validator, SAXLocationHintSupplier, XmlStreamParser

public interface LocationHintSupplier

Method Summary
void addLocationHintHandler(LocationHintHandler handler)

void removeLocationHintHandler(LocationHintHandler handler)

Method Detail
addLocationHintHandler

public void addLocationHintHandler(LocationHintHandler handler)

removeLocationHintHandler

public void removeLocationHintHandler(LocationHintHandler handler)

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.runtime
Class MissingConnectionException

java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.tibco.xml.runtime.MissingConnectionException
All Implemented Interfaces:
java.io.Serializable

public class MissingConnectionException


extends java.lang.Exception
This class is used to indicate that a required connection on a processor was not made.
See Also:
Serialized Form

Constructor Summary
MissingConnectionException(java.lang.String channelName)

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
MissingConnectionException

public MissingConnectionException(java.lang.String channelName)

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.schema.channel
Interface NamespaceEntityConsumer
All Known Subinterfaces:
NewSchemaParser

public interface NamespaceEntityConsumer

Method Summary
void setNamespaceEntityResolver(NamespaceEntityResolver resolver)

Method Detail
setNamespaceEntityResolver

public void setNamespaceEntityResolver(NamespaceEntityResolver resolver)

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.schema
Interface NamespaceEntityResolver
public interface NamespaceEntityResolver
A resolver that maps a namespace URI and an optional location URI "hint" to an InputSource, typically for a schema. The
initial clients for this interface are the schema parsers, for use during imports. Note that the signature is essentially identical
to SAX's EntityResolver, if we consider the namespace URI to be similar to a public ID. However, the semantics are subtly
different, so a different interface is warranted.
Since:
Build 0022

Method Summary
org.xml.sax.InputSource resolveNamespaceEntity(java.lang.String namespaceURI,
java.lang.String locationHint)

Method Detail
resolveNamespaceEntity

public org.xml.sax.InputSource resolveNamespaceEntity(java.lang.String namespaceURI,


java.lang.String locationHint)
throws org.xml.sax.SAXException,
java.io.IOException

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.data.primitive
Interface NamespaceResolver
All Superinterfaces:
NamespaceToPrefixResolver, PrefixToNamespaceResolver
All Known Subinterfaces:
XmlContext, XmlCursor, XmlNode, XmlReader

public interface NamespaceResolver


extends NamespaceToPrefixResolver, PrefixToNamespaceResolver

A bidirectional namespace-prefix resolver


Since:
Build 0021
See Also:
NamespaceToPrefixResolver, PrefixToNamespaceResolver

Inner classes inherited from class com.tibco.xml.data.primitive.NamespaceToPrefixResolver


NamespaceToPrefixResolver.NamespaceNotFoundException

Inner classes inherited from class com.tibco.xml.data.primitive.PrefixToNamespaceResolver


PrefixToNamespaceResolver.PrefixNotFoundException

Methods inherited from interface com.tibco.xml.data.primitive.NamespaceToPrefixResolver


getPrefixForNamespaceURI

Methods inherited from interface com.tibco.xml.data.primitive.PrefixToNamespaceResolver


getNamespaceURIForPrefix
Overview Package Class Use Tree Deprecated Index Help
PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.data.primitive
Interface NamespaceToPrefixResolver
All Known Subinterfaces:
NamespaceResolver, XmlContext, XmlCursor, XmlNode, XmlReader

public interface NamespaceToPrefixResolver

Inner Class Summary


static class NamespaceToPrefixResolver.NamespaceNotFoundException
Indicates that a namespace could not be found by the
NamespaceToPrefixResolver

Method Summary
java.lang.String getPrefixForNamespaceURI(java.lang.String namespaceURI)
Given a namespace, get the corrisponding prefix.

Method Detail
getPrefixForNamespaceURI

public java.lang.String getPrefixForNamespaceURI(java.lang.String namespaceURI)


throws
NamespaceToPrefixResolver.NamespaceNotFoundException
Given a namespace, get the corrisponding prefix.
Parameters:
namespaceURI - The namespace URI to look up.
Returns:
The associated prefix.
Throws:
NamespaceToPrefixResolver.NamespaceNotFoundException - If the namespace cannot
be found by the NamespaceToPrefixResolver.

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.data.primitive
Class
NamespaceToPrefixResolver.NamespaceNotFoundException

java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|

+--com.tibco.xml.data.primitive.NamespaceToPrefixResolver.NamespaceNotFoundException
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
NamespaceToPrefixResolver

public static class NamespaceToPrefixResolver.NamespaceNotFoundException


extends java.lang.Exception
Indicates that a namespace could not be found by the NamespaceToPrefixResolver
See Also:
Serialized Form

Constructor Summary
NamespaceToPrefixResolver.NamespaceNotFoundException(java.lang.String namespaceURI)

Method Summary
java.lang.String getNamespaceURI()

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
NamespaceToPrefixResolver.NamespaceNotFoundException

public
NamespaceToPrefixResolver.NamespaceNotFoundException(java.lang.String namespaceURI)

Method Detail
getNamespaceURI

public java.lang.String getNamespaceURI()

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.validation.kernel
Class NativeSchemaProvider

java.lang.Object
|
+--com.tibco.xml.validation.kernel.NativeSchemaProvider
All Implemented Interfaces:
IBlackBox, SchemaModelProvider

public class NativeSchemaProvider


extends java.lang.Object
implements IBlackBox, SchemaModelProvider

Maps namespaceURI to an SmSchema for built-in XML schemas.

Field Summary
static java.lang.String CHANNEL_SCHEMA_MODEL_PROVIDER

Fields inherited from interface com.tibco.xml.runtime.IBlackBox


CHANNEL_MODE_SINK, CHANNEL_MODE_SOURCE

Constructor Summary
NativeSchemaProvider()

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.
SmSchema getSchema(java.lang.String namespace)
Retrieves a schema model based on it's namespace URI.

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait

Field Detail
CHANNEL_SCHEMA_MODEL_PROVIDER

public static final java.lang.String CHANNEL_SCHEMA_MODEL_PROVIDER

Constructor Detail
NativeSchemaProvider

public NativeSchemaProvider()

Method Detail
getChannel

public 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.

getChannelType

public 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.

getChannelMode

public 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.

getChannelNames

public 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.

getSchema

public 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

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.schema
Interface NewSchemaParser
All Superinterfaces:
EntityConsumer, ErrorSupplier, NamespaceEntityConsumer, SchemaModelConsumer,
SchemaModelSupplier

public interface NewSchemaParser


extends SchemaModelConsumer, SchemaModelSupplier, ErrorSupplier, EntityConsumer,
NamespaceEntityConsumer

A generalized schema/DTD parser. Currently, a NamespaceEntityResolver need not be provided, but in


that case all import statements (in XSDL schemas) must provide schemaLocation hints, which will be
passed to the EntityResolver.

Method Summary
SmSchema parseSchema(org.xml.sax.InputSource schemaText,
java.lang.String namespace)
Parses the given input into an equivalent SmSchema.

Methods inherited from interface com.tibco.xml.schema.channel.SchemaModelConsumer


setSchemaModelProvider

Methods inherited from interface com.tibco.xml.schema.channel.SchemaModelSupplier


setSchemaModelHandler

Methods inherited from interface com.tibco.xml.channel.error.ErrorSupplier


setErrorHandler
Methods inherited from interface com.tibco.xml.channel.entity.EntityConsumer
setEntityResolver

Methods inherited from interface com.tibco.xml.schema.channel.NamespaceEntityConsumer


setNamespaceEntityResolver

Method Detail
parseSchema

public SmSchema parseSchema(org.xml.sax.InputSource schemaText,


java.lang.String namespace)
throws org.xml.sax.SAXException,
java.io.IOException
Parses the given input into an equivalent SmSchema. If an error handler has been provided, it will
be used to report errors. Otherwise a SAX exception will be thrown. Any imported schemas will
be added to the given SchemaModelHandler if it is not null. The top-level schema will not be
added... that is the caller's responsibility
Parameters:
input - a SAX InputSource
targetNamespace - to be set on each SmComponent -- use cases are XDR schemas and
XSD's during <include>
Returns:
a schema, or null if parsing failed.
Throws:
org.xml.sax.SAXException -

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.data.primitive
Interface PrefixToNamespaceResolver
All Known Subinterfaces:
NamespaceResolver, XmlContext, XmlCursor, XmlNode, XmlReader

public interface PrefixToNamespaceResolver

Inner Class Summary


static class PrefixToNamespaceResolver.PrefixNotFoundException
Indicates that a prefix could not be found by the PrefixToNamespaceResolver

Method Summary
java.lang.String getNamespaceURIForPrefix(java.lang.String prefix)
Given a prefix, get the corresponding namespace URI.

Method Detail
getNamespaceURIForPrefix

public java.lang.String getNamespaceURIForPrefix(java.lang.String prefix)


throws
PrefixToNamespaceResolver.PrefixNotFoundException
Given a prefix, get the corresponding namespace URI. This API can also be used to determine if an
xmlns attribute exists with the specified prefix.
Parameters:
prefix - The prefix to look up. The prefix cannot be null, which is considered to be an
unitialized value and will cause an IllegalArgumentException. A prefix that corresponds to the
default namespace is signified by a zero-length string.
Returns:
The associated namespace URI. Returns null if no xmlns specification exists.
Throws:
PrefixToNamespaceResolver.PrefixNotFoundException - If the prefix cannot
be found.

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.data.primitive
Class
PrefixToNamespaceResolver.PrefixNotFoundException

java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|

+--com.tibco.xml.data.primitive.PrefixToNamespaceResolver.PrefixNotFoundException
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
PrefixToNamespaceResolver

public static class PrefixToNamespaceResolver.PrefixNotFoundException


extends java.lang.Exception
Indicates that a prefix could not be found by the PrefixToNamespaceResolver
See Also:
Serialized Form

Constructor Summary
PrefixToNamespaceResolver.PrefixNotFoundException(java.lang.String prefix)

Method Summary
java.lang.String getPrefix()

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
PrefixToNamespaceResolver.PrefixNotFoundException

public PrefixToNamespaceResolver.PrefixNotFoundException(java.lang.String prefix)

Method Detail
getPrefix

public java.lang.String getPrefix()

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.validation
Class PrintWriterErrorHandler

java.lang.Object
|
+--com.tibco.xml.validation.PrintWriterErrorHandler
All Implemented Interfaces:
org.xml.sax.ErrorHandler

public class PrintWriterErrorHandler


extends java.lang.Object
implements org.xml.sax.ErrorHandler
A sample ErrorHandler that simply prints errors and warnings to a PrintWriter. This will typically be
constructed to write to System.err or System.out. Fatal error exceptions are thrown, rather than printed.
This class is provided as a utility for evaluation of XML Validate; implementors are encouraged to
provide their own implementation of ErrorHandler.

Field Summary
protected java.io.PrintWriter output

Constructor Summary
PrintWriterErrorHandler(java.io.PrintStream stream)
Construct a PrintWriterErrorHandler from a PrintStream.
PrintWriterErrorHandler(java.io.PrintWriter writer)
Construct a PrintWriterErrorHandler from a PrintWriter.

Method Summary
void error(org.xml.sax.SAXParseException ex)

void fatalError(org.xml.sax.SAXParseException ex)

protected message(org.xml.sax.SAXParseException ex)


void

void warning(org.xml.sax.SAXParseException ex)

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait

Field Detail
output

protected java.io.PrintWriter output

Constructor Detail
PrintWriterErrorHandler

public PrintWriterErrorHandler(java.io.PrintStream stream)


Construct a PrintWriterErrorHandler from a PrintStream. Commonly called with System.err or
System.out as the argument.

PrintWriterErrorHandler

public PrintWriterErrorHandler(java.io.PrintWriter writer)


Construct a PrintWriterErrorHandler from a PrintWriter.

Method Detail
warning

public void warning(org.xml.sax.SAXParseException ex)


throws org.xml.sax.SAXException
Specified by:
warning in interface org.xml.sax.ErrorHandler

error

public void error(org.xml.sax.SAXParseException ex)


throws org.xml.sax.SAXException
Specified by:
error in interface org.xml.sax.ErrorHandler

message

protected void message(org.xml.sax.SAXParseException ex)

fatalError

public void fatalError(org.xml.sax.SAXParseException ex)


throws org.xml.sax.SAXException
Specified by:
fatalError in interface org.xml.sax.ErrorHandler

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.channel.property
Interface PropertyConsumer
All Known Implementing Classes:
DefaultSchemaSupplier, SAXLocationHintSupplier, Validator_SAX_Remark_InternalCache,
ValidatingFilter_InternalCache, ValidatingFilter_ExternalCache,
Validator_SAX_Error_InternalCache, ScriptingValidatorMk1

public interface PropertyConsumer


Implemented by components that require property values from a PropertyProvider to operate.

Method Summary
void setPropertyProvider(PropertyProvider provider)

Method Detail
setPropertyProvider

public void setPropertyProvider(PropertyProvider provider)

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.channel.property
Interface PropertyHandler
public interface PropertyHandler
Implemented by components that receive property values pushed by a PropertySupplier.

Method Summary
void putValue(java.lang.String uri, java.lang.Object value)

Method Detail
putValue

public void putValue(java.lang.String uri,


java.lang.Object value)
throws org.xml.sax.SAXException

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.channel.property
Interface PropertyProvider
public interface PropertyProvider
Implemented by components that can provide property values through a pull mechanism to a
PropertyConsumer.

Method Summary
java.lang.Object getValue(java.lang.String uri)

Method Detail
getValue

public java.lang.Object getValue(java.lang.String uri)


throws org.xml.sax.SAXException

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.channel.property
Interface PropertySupplier
All Known Implementing Classes:
ScriptingValidatorMk1

public interface PropertySupplier


Implemented by components that can supply property values through a push mechanism to
PropertyHandler(s).

Method Summary
void setPropertyHandler(PropertyHandler handler)
Allows a component to register and unregister a PropertyHandler for this supplier.

Method Detail
setPropertyHandler

public void setPropertyHandler(PropertyHandler handler)


Allows a component to register and unregister a PropertyHandler for this supplier.
Parameters:
handler - The PropertyHandler to be registerd. Specify null to unregister the current
handler.

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.channel.property
Interface PropertySupplierMulticast
public interface PropertySupplierMulticast
Implemented by components that can supply property values through a push mechanism to
PropertyHandler(s).

Method Summary
void addPropertyHandler(PropertyHandler handler)
Allows a component to register a PropertyHandler for this supplier.
void removePropertyHandler(PropertyHandler handler)
Allows a component to unregister a PropertyHandler for this supplier.

Method Detail
addPropertyHandler

public void addPropertyHandler(PropertyHandler handler)


Allows a component to register a PropertyHandler for this supplier.
Parameters:
handler - The PropertyHandler to be registered.

removePropertyHandler

public void removePropertyHandler(PropertyHandler handler)


Allows a component to unregister a PropertyHandler for this supplier.
Parameters:
handler - The PropertyHandler to be unregistered.
Overview Package Class Use Tree Deprecated Index Help
PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.data.primitive
Class QName

java.lang.Object
|
+--com.tibco.xml.data.primitive.QName

public class QName


extends java.lang.Object

Field Summary
static java.lang.String PREFIX_UNQUALIFIED
The value of a prefix when a prefix is not specified.

Constructor Summary
QName(java.lang.String name)

QName(java.lang.String prefix, java.lang.String localName)

Method Summary
boolean equals(java.lang.Object object)
Override equals and agree that we're equal if the passed object is a
QName and it matches the name of the arg.
ExpandedName getExpandedName(PrefixToNamespaceResolver resolver)
Returns the ExpandedName for this QName given a prefix to
namespace resolver.
java.lang.String getLocalName()
Returns the local part of the normalized name.
static java.lang.String getLocalName(java.lang.String name)

java.lang.String getPrefix()
Returns the prefix.
static java.lang.String getPrefix(java.lang.String name)

int hashCode()

static boolean isNoPrefix(java.lang.String prefix)


Determines if this prefix is the no prefix.
static boolean isNormalizedPrefix(java.lang.String prefix)
Determines if this prefix is normalized according to the no prefix
convention.
static java.lang.String normalizePrefix(java.lang.String prefix)
Normalizes a prefix to the convention.
static QName parse(java.lang.String name)
Given a string, create and return a QName object
java.lang.String toString()
Return the string representation of the QName, using the the
'[prefix:]localName' notation where braces indicate optional.

Methods inherited from class java.lang.Object


clone, finalize, getClass, notify, notifyAll, wait, wait, wait

Field Detail
PREFIX_UNQUALIFIED

public static final java.lang.String PREFIX_UNQUALIFIED


The value of a prefix when a prefix is not specified. Defined to be an empty string and not null (which
corresponds to an unitialized value).

Constructor Detail
QName

public QName(java.lang.String name)

QName

public QName(java.lang.String prefix,


java.lang.String localName)

Method Detail
getPrefix

public java.lang.String getPrefix()


Returns the prefix.
Returns:
The prefix

getLocalName

public java.lang.String getLocalName()


Returns the local part of the normalized name.
Returns:
The local part of the normalized name

toString

public java.lang.String toString()


Return the string representation of the QName, using the the '[prefix:]localName' notation where
braces indicate optional.
Overrides:
toString in class java.lang.Object
Returns:
the string representation of the QName.
hashCode

public int hashCode()


Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object object)


Override equals and agree that we're equal if the passed object is a QName and it matches the name of
the arg.
Overrides:
equals in class java.lang.Object
Parameters:
object -
Returns:
True if the QName(s) are equal

getExpandedName

public ExpandedName getExpandedName(PrefixToNamespaceResolver resolver)


Returns the ExpandedName for this QName given a prefix to namespace resolver.
Parameters:
resolver - A prefix to namespace resolver.
Returns:
The ExpandedName for this QName.

parse

public static QName parse(java.lang.String name)


Given a string, create and return a QName object
Parameters:
name - String to use to create QName
Returns:
a QName object
getPrefix

public static java.lang.String getPrefix(java.lang.String name)

getLocalName

public static java.lang.String getLocalName(java.lang.String name)

normalizePrefix

public static java.lang.String normalizePrefix(java.lang.String prefix)


Normalizes a prefix to the convention. Ideally, it should only be necessary to call this function on the
boundary to a system that employs a different or unknown convention. Requiring the use of this
function, other than at a boundary, suggests a possible bug.
Parameters:
prefix - The prefix with an unknown or different no prefix convention.
Returns:
A normalized prefix.

isNormalizedPrefix

public static boolean isNormalizedPrefix(java.lang.String prefix)


Determines if this prefix is normalized according to the no prefix convention. May be used in
assertions.
Parameters:
prefix - The prefix with an unknown or different no prefix convention.
Returns:
true if the prefix does not violate the convention, false otherwise.

isNoPrefix

public static boolean isNoPrefix(java.lang.String prefix)


Determines if this prefix is the no prefix. Should be used in place of the special case comparisons to
null or an empty string.
Parameters:
prefix - The prefix with an unknown or different no preix convention.
Returns:
true if the prefix is the no prefix value, false otherwise.

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.processor
Class SAXContent2DOM

java.lang.Object
|
+--com.tibco.xml.processor.SAXContent2DOM
All Implemented Interfaces:
org.xml.sax.ContentHandler, DOMSupplier, IBlackBox, org.xml.sax.ext.LexicalHandler

public class SAXContent2DOM


extends java.lang.Object
implements IBlackBox, org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, DOMSupplier

Performs conversion from SAX Content to a Document.

Field Summary
static java.lang.String CHANNEL_CONTENT_HANDLER

static java.lang.String CHANNEL_DOM_SUPPLIER

static java.lang.String CHANNEL_LEXICAL_HANDLER

Fields inherited from interface com.tibco.xml.runtime.IBlackBox


CHANNEL_MODE_SINK, CHANNEL_MODE_SOURCE

Constructor Summary
SAXContent2DOM()
Method Summary
void addDOMHandler(DOMHandler handler)

void cdata(char[] ch, int start, int length)

void characters(char[] ch, int start, int length)

void comment(char[] ch, int start, int length)

void endCDATA()

void endDocument()

void endDTD()

void endElement(java.lang.String namespaceURI,


java.lang.String localName, java.lang.String qName)

void endEntity(java.lang.String name)

void endPrefixMapping(java.lang.String prefix)

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 ignorableWhitespace(char[] ch, int start,
int length)

void processingInstruction(java.lang.String target,


java.lang.String data)

void removeDOMHandler(DOMHandler handler)

void setDocumentLocator(org.xml.sax.Locator locator)

void skippedEntity(java.lang.String name)

void startCDATA()

void startDocument()

void startDTD(java.lang.String name,


java.lang.String publicId,
java.lang.String systemId)

void startElement(java.lang.String namespaceURI,


java.lang.String localName, java.lang.String qName,
org.xml.sax.Attributes attributes)

void startEntity(java.lang.String name)

void startPrefixMapping(java.lang.String prefix,


java.lang.String uri)

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait

Field Detail
CHANNEL_CONTENT_HANDLER

public static final java.lang.String CHANNEL_CONTENT_HANDLER

CHANNEL_LEXICAL_HANDLER

public static final java.lang.String CHANNEL_LEXICAL_HANDLER

CHANNEL_DOM_SUPPLIER

public static final java.lang.String CHANNEL_DOM_SUPPLIER

Constructor Detail
SAXContent2DOM

public SAXContent2DOM()

Method Detail
getChannel

public 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.
getChannelType

public 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.

getChannelMode

public 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.

getChannelNames

public 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.

addDOMHandler

public void addDOMHandler(DOMHandler handler)


Specified by:
addDOMHandler in interface DOMSupplier

removeDOMHandler

public void removeDOMHandler(DOMHandler handler)


Specified by:
removeDOMHandler in interface DOMSupplier

setDocumentLocator

public void setDocumentLocator(org.xml.sax.Locator locator)


Specified by:
setDocumentLocator in interface org.xml.sax.ContentHandler

startDocument

public void startDocument()


throws org.xml.sax.SAXException
Specified by:
startDocument in interface org.xml.sax.ContentHandler
endDocument

public void endDocument()


throws org.xml.sax.SAXException
Specified by:
endDocument in interface org.xml.sax.ContentHandler

startPrefixMapping

public void startPrefixMapping(java.lang.String prefix,


java.lang.String uri)
throws org.xml.sax.SAXException
Specified by:
startPrefixMapping in interface org.xml.sax.ContentHandler

endPrefixMapping

public void endPrefixMapping(java.lang.String prefix)


throws org.xml.sax.SAXException
Specified by:
endPrefixMapping in interface org.xml.sax.ContentHandler

startElement

public void startElement(java.lang.String namespaceURI,


java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attributes)
throws org.xml.sax.SAXException
Specified by:
startElement in interface org.xml.sax.ContentHandler
endElement

public void endElement(java.lang.String namespaceURI,


java.lang.String localName,
java.lang.String qName)
throws org.xml.sax.SAXException
Specified by:
endElement in interface org.xml.sax.ContentHandler

characters

public void characters(char[] ch,


int start,
int length)
throws org.xml.sax.SAXException
Specified by:
characters in interface org.xml.sax.ContentHandler

ignorableWhitespace

public void ignorableWhitespace(char[] ch,


int start,
int length)
throws org.xml.sax.SAXException
Specified by:
ignorableWhitespace in interface org.xml.sax.ContentHandler

processingInstruction

public void processingInstruction(java.lang.String target,


java.lang.String data)
throws org.xml.sax.SAXException
Specified by:
processingInstruction in interface org.xml.sax.ContentHandler
skippedEntity

public void skippedEntity(java.lang.String name)


throws org.xml.sax.SAXException
Specified by:
skippedEntity in interface org.xml.sax.ContentHandler

startDTD

public void startDTD(java.lang.String name,


java.lang.String publicId,
java.lang.String systemId)
throws org.xml.sax.SAXException
Specified by:
startDTD in interface org.xml.sax.ext.LexicalHandler

endDTD

public void endDTD()


throws org.xml.sax.SAXException
Specified by:
endDTD in interface org.xml.sax.ext.LexicalHandler

startEntity

public void startEntity(java.lang.String name)


throws org.xml.sax.SAXException
Specified by:
startEntity in interface org.xml.sax.ext.LexicalHandler

endEntity

public void endEntity(java.lang.String name)


throws org.xml.sax.SAXException
Specified by:
endEntity in interface org.xml.sax.ext.LexicalHandler

cdata

public void cdata(char[] ch,


int start,
int length)
throws org.xml.sax.SAXException

startCDATA

public void startCDATA()


throws org.xml.sax.SAXException
Specified by:
startCDATA in interface org.xml.sax.ext.LexicalHandler

endCDATA

public void endCDATA()


throws org.xml.sax.SAXException
Specified by:
endCDATA in interface org.xml.sax.ext.LexicalHandler

comment

public void comment(char[] ch,


int start,
int length)
throws org.xml.sax.SAXException
Specified by:
comment in interface org.xml.sax.ext.LexicalHandler

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.processor
Class SAXContent2XmlStream

java.lang.Object
|
+--com.tibco.xml.processor.SAXContent2XmlStream
All Implemented Interfaces:
ContentFilter, org.xml.sax.ContentHandler, ContentSupplier, DocumentBoundarySupplier, IBlackBox,
XmlRemarkSupplier, XmlStreamSupplier

public class SAXContent2XmlStream


extends java.lang.Object
implements IBlackBox, ContentFilter, XmlStreamSupplier, DocumentBoundarySupplier, XmlRemarkSupplier
Performs conversion from SAX Content to an untyped XML Stream.

Inner Class Summary


class SAXContent2XmlStream.SAXContent2XmlKernel
The internal helper class that actually does all the work.

Field Summary
static java.lang.String CHANNEL_BOUNDARY_SUPPLIER

static java.lang.String CHANNEL_CONTENT_HANDLER

static java.lang.String CHANNEL_CONTENT_SUPPLIER

static java.lang.String CHANNEL_REMARK_SUPPLIER

static java.lang.String CHANNEL_STREAM_SUPPLIER

Fields inherited from interface com.tibco.xml.runtime.IBlackBox


CHANNEL_MODE_SINK, CHANNEL_MODE_SOURCE
Constructor Summary
SAXContent2XmlStream()

Method Summary
void addDocumentBoundaryHandler(DocumentBoundaryHandler handler)

void characters(char[] ch, int start, int length)

void endDocument()

void endElement(java.lang.String namespaceURI,


java.lang.String localName, java.lang.String qName)

void endPrefixMapping(java.lang.String prefix)

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 ignorableWhitespace(char[] ch, int start, int length)

void processingInstruction(java.lang.String target,


java.lang.String data)

void removeDocumentBoundaryHandler(DocumentBoundaryHandler handler)

void setContentHandler(org.xml.sax.ContentHandler handler)


Allows an application to register and unregister a ContentHandler for this supplier.
void setDocumentLocator(org.xml.sax.Locator locator)
void setXmlRemarkHandler(XmlRemarkHandler handler)
Allows an application to register and unregister an XmlRemarkHandler for this
supplier.
void setXmlStreamHandler(XmlStreamHandler handler)
Allows an application to register an XmlStreamHandler for this supplier.
void skippedEntity(java.lang.String name)

void startDocument()

void startElement(java.lang.String namespaceURI,


java.lang.String localName, java.lang.String qName,
org.xml.sax.Attributes atts)

void startPrefixMapping(java.lang.String prefix,


java.lang.String uri)

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait

Field Detail
CHANNEL_CONTENT_HANDLER

public static final java.lang.String CHANNEL_CONTENT_HANDLER

CHANNEL_CONTENT_SUPPLIER

public static final java.lang.String CHANNEL_CONTENT_SUPPLIER

CHANNEL_STREAM_SUPPLIER

public static final java.lang.String CHANNEL_STREAM_SUPPLIER


CHANNEL_BOUNDARY_SUPPLIER

public static final java.lang.String CHANNEL_BOUNDARY_SUPPLIER

CHANNEL_REMARK_SUPPLIER

public static final java.lang.String CHANNEL_REMARK_SUPPLIER

Constructor Detail
SAXContent2XmlStream

public SAXContent2XmlStream()

Method Detail
getChannel

public 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.

getChannelType

public 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.

getChannelMode

public 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.

getChannelNames

public 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.

setXmlStreamHandler

public 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.

addDocumentBoundaryHandler

public void addDocumentBoundaryHandler(DocumentBoundaryHandler handler)


Specified by:
addDocumentBoundaryHandler in interface DocumentBoundarySupplier

removeDocumentBoundaryHandler

public void removeDocumentBoundaryHandler(DocumentBoundaryHandler handler)


Specified by:
removeDocumentBoundaryHandler in interface DocumentBoundarySupplier

setDocumentLocator

public void setDocumentLocator(org.xml.sax.Locator locator)


Specified by:
setDocumentLocator in interface org.xml.sax.ContentHandler

startDocument

public void startDocument()


throws org.xml.sax.SAXException
Specified by:
startDocument in interface org.xml.sax.ContentHandler

endDocument

public void endDocument()


throws org.xml.sax.SAXException
Specified by:
endDocument in interface org.xml.sax.ContentHandler

startPrefixMapping

public void startPrefixMapping(java.lang.String prefix,


java.lang.String uri)
throws org.xml.sax.SAXException
Specified by:
startPrefixMapping in interface org.xml.sax.ContentHandler

endPrefixMapping

public void endPrefixMapping(java.lang.String prefix)


throws org.xml.sax.SAXException
Specified by:
endPrefixMapping in interface org.xml.sax.ContentHandler

startElement

public void startElement(java.lang.String namespaceURI,


java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
throws org.xml.sax.SAXException
Specified by:
startElement in interface org.xml.sax.ContentHandler

endElement

public void endElement(java.lang.String namespaceURI,


java.lang.String localName,
java.lang.String qName)
throws org.xml.sax.SAXException
Specified by:
endElement in interface org.xml.sax.ContentHandler

characters

public void characters(char[] ch,


int start,
int length)
throws org.xml.sax.SAXException
Specified by:
characters in interface org.xml.sax.ContentHandler
ignorableWhitespace

public void ignorableWhitespace(char[] ch,


int start,
int length)
throws org.xml.sax.SAXException
Specified by:
ignorableWhitespace in interface org.xml.sax.ContentHandler

processingInstruction

public void processingInstruction(java.lang.String target,


java.lang.String data)
throws org.xml.sax.SAXException
Specified by:
processingInstruction in interface org.xml.sax.ContentHandler

skippedEntity

public void skippedEntity(java.lang.String name)


throws org.xml.sax.SAXException
Specified by:
skippedEntity in interface org.xml.sax.ContentHandler

setContentHandler

public 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.

setXmlRemarkHandler

public 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.

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.processor
Class SAXContentNormalizer

java.lang.Object
|
+--com.tibco.xml.processor.SAXContentNormalizer
All Implemented Interfaces:
ContentFilter, org.xml.sax.ContentHandler, ContentSupplier, IBlackBox

public class SAXContentNormalizer


extends java.lang.Object
implements IBlackBox, ContentFilter

Performs normalization of SAX Content. Normalization is according to the convention defined in


NoNamespace and QName. The absolute normalization convention should not matter so long as these
classes are used effectively. If the document contains a SOX processing instructions (PI.target=soxtype),
any elements in the default namespace are put into the SOX namespace (PI.data).

Field Summary
static java.lang.String CHANNEL_CONTENT_HANDLER

static java.lang.String CHANNEL_CONTENT_SUPPLIER

Fields inherited from interface com.tibco.xml.runtime.IBlackBox


CHANNEL_MODE_SINK, CHANNEL_MODE_SOURCE

Constructor Summary
SAXContentNormalizer()
Method Summary
void characters(char[] ch, int start, int length)

void endDocument()

void endElement(java.lang.String namespaceURI,


java.lang.String localName, java.lang.String qName)

void endPrefixMapping(java.lang.String prefix)

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 ignorableWhitespace(char[] ch, int start, int length)

void processingInstruction(java.lang.String target,


java.lang.String data)

void setContentHandler(org.xml.sax.ContentHandler handler)


Allows an application to register and unregister a ContentHandler for
this supplier.
void setDocumentLocator(org.xml.sax.Locator locator)

void skippedEntity(java.lang.String name)

void startDocument()
void startElement(java.lang.String namespaceURI,
java.lang.String localName, java.lang.String qName,
org.xml.sax.Attributes atts)

void startPrefixMapping(java.lang.String prefix,


java.lang.String uri)

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait

Field Detail
CHANNEL_CONTENT_HANDLER

public static final java.lang.String CHANNEL_CONTENT_HANDLER

CHANNEL_CONTENT_SUPPLIER

public static final java.lang.String CHANNEL_CONTENT_SUPPLIER

Constructor Detail
SAXContentNormalizer

public SAXContentNormalizer()

Method Detail
getChannel

public 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.

getChannelType

public 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.

getChannelMode

public 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.

getChannelNames

public 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.

setDocumentLocator

public void setDocumentLocator(org.xml.sax.Locator locator)


Specified by:
setDocumentLocator in interface org.xml.sax.ContentHandler

startDocument

public void startDocument()


throws org.xml.sax.SAXException
Specified by:
startDocument in interface org.xml.sax.ContentHandler

endDocument

public void endDocument()


throws org.xml.sax.SAXException
Specified by:
endDocument in interface org.xml.sax.ContentHandler
startPrefixMapping

public void startPrefixMapping(java.lang.String prefix,


java.lang.String uri)
throws org.xml.sax.SAXException
Specified by:
startPrefixMapping in interface org.xml.sax.ContentHandler

endPrefixMapping

public void endPrefixMapping(java.lang.String prefix)


throws org.xml.sax.SAXException
Specified by:
endPrefixMapping in interface org.xml.sax.ContentHandler

startElement

public void startElement(java.lang.String namespaceURI,


java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
throws org.xml.sax.SAXException
Specified by:
startElement in interface org.xml.sax.ContentHandler

endElement

public void endElement(java.lang.String namespaceURI,


java.lang.String localName,
java.lang.String qName)
throws org.xml.sax.SAXException
Specified by:
endElement in interface org.xml.sax.ContentHandler
characters

public void characters(char[] ch,


int start,
int length)
throws org.xml.sax.SAXException
Specified by:
characters in interface org.xml.sax.ContentHandler

ignorableWhitespace

public void ignorableWhitespace(char[] ch,


int start,
int length)
throws org.xml.sax.SAXException
Specified by:
ignorableWhitespace in interface org.xml.sax.ContentHandler

processingInstruction

public void processingInstruction(java.lang.String target,


java.lang.String data)
throws org.xml.sax.SAXException
Specified by:
processingInstruction in interface org.xml.sax.ContentHandler

skippedEntity

public void skippedEntity(java.lang.String name)


throws org.xml.sax.SAXException
Specified by:
skippedEntity in interface org.xml.sax.ContentHandler
setContentHandler

public 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 Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.validation.kernel
Class SAXLocationHintSupplier

java.lang.Object
|
+--com.tibco.xml.validation.kernel.SAXLocationHintSupplier
All Implemented Interfaces:
ContentFilter, org.xml.sax.ContentHandler, ContentSupplier, EntityConsumer, org.xml.sax.EntityResolver,
IBlackBox, LocationHintSupplier, PropertyConsumer, TypeURISupplier

public class SAXLocationHintSupplier


extends java.lang.Object
implements IBlackBox, ContentFilter, org.xml.sax.EntityResolver, EntityConsumer, LocationHintSupplier,
PropertyConsumer, TypeURISupplier
Extracts schema location and document hints from a SAX stream and provides them to listeners.

Field Summary
static java.lang.String CHANNEL_CONTENT_HANDLER

static java.lang.String CHANNEL_CONTENT_SUPPLIER

static java.lang.String CHANNEL_ENTITY_CONSUMER

static java.lang.String CHANNEL_ENTITY_RESOLVER

static java.lang.String CHANNEL_LOCATION_HINT_SUPPLIER

static java.lang.String CHANNEL_PROPERTY_CONSUMER

Fields inherited from interface com.tibco.xml.runtime.IBlackBox


CHANNEL_MODE_SINK, CHANNEL_MODE_SOURCE
Constructor Summary
SAXLocationHintSupplier()

Method Summary
void addLocationHintHandler(LocationHintHandler handler)

void addTypeURIHandler(TypeURIHandler handler)

void characters(char[] ch, int start, int length)

void endDocument()

void endElement(java.lang.String namespaceURI,


java.lang.String localName, java.lang.String qName)

void endPrefixMapping(java.lang.String prefix)

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 ignorableWhitespace(char[] ch, int start, int length)

void processingInstruction(java.lang.String target,


java.lang.String data)

void removeLocationHintHandler(LocationHintHandler handler)


void removeTypeURIHandler(TypeURIHandler handler)

org.xml.sax.InputSource resolveEntity(java.lang.String publicId,


java.lang.String systemId)

void setContentHandler(org.xml.sax.ContentHandler handler)


Allows an application to register and unregister a ContentHandler for this
supplier.
void setDocumentLocator(org.xml.sax.Locator locator)

void setEntityResolver(org.xml.sax.EntityResolver resolver)

void setPropertyProvider(PropertyProvider provider)

void skippedEntity(java.lang.String name)

void startDocument()

void startElement(java.lang.String namespaceURI,


java.lang.String localName, java.lang.String qName,
org.xml.sax.Attributes atts)

void startPrefixMapping(java.lang.String prefix,


java.lang.String namespaceURI)

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait

Field Detail
CHANNEL_CONTENT_HANDLER

public static final java.lang.String CHANNEL_CONTENT_HANDLER


CHANNEL_CONTENT_SUPPLIER

public static final java.lang.String CHANNEL_CONTENT_SUPPLIER

CHANNEL_ENTITY_RESOLVER

public static final java.lang.String CHANNEL_ENTITY_RESOLVER

CHANNEL_ENTITY_CONSUMER

public static final java.lang.String CHANNEL_ENTITY_CONSUMER

CHANNEL_LOCATION_HINT_SUPPLIER

public static final java.lang.String CHANNEL_LOCATION_HINT_SUPPLIER

CHANNEL_PROPERTY_CONSUMER

public static final java.lang.String CHANNEL_PROPERTY_CONSUMER

Constructor Detail
SAXLocationHintSupplier

public SAXLocationHintSupplier()

Method Detail
getChannel

public 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.

getChannelType

public 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.

getChannelMode

public 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.
getChannelNames

public 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.

setDocumentLocator

public void setDocumentLocator(org.xml.sax.Locator locator)


Specified by:
setDocumentLocator in interface org.xml.sax.ContentHandler

startDocument

public void startDocument()


throws org.xml.sax.SAXException
Specified by:
startDocument in interface org.xml.sax.ContentHandler

endDocument

public void endDocument()


throws org.xml.sax.SAXException
Specified by:
endDocument in interface org.xml.sax.ContentHandler

startPrefixMapping

public void startPrefixMapping(java.lang.String prefix,


java.lang.String namespaceURI)
throws org.xml.sax.SAXException
Specified by:
startPrefixMapping in interface org.xml.sax.ContentHandler

endPrefixMapping

public void endPrefixMapping(java.lang.String prefix)


throws org.xml.sax.SAXException
Specified by:
endPrefixMapping in interface org.xml.sax.ContentHandler

startElement

public void startElement(java.lang.String namespaceURI,


java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
throws org.xml.sax.SAXException
Specified by:
startElement in interface org.xml.sax.ContentHandler

endElement

public void endElement(java.lang.String namespaceURI,


java.lang.String localName,
java.lang.String qName)
throws org.xml.sax.SAXException
Specified by:
endElement in interface org.xml.sax.ContentHandler

characters

public void characters(char[] ch,


int start,
int length)
throws org.xml.sax.SAXException
Specified by:
characters in interface org.xml.sax.ContentHandler
ignorableWhitespace

public void ignorableWhitespace(char[] ch,


int start,
int length)
throws org.xml.sax.SAXException
Specified by:
ignorableWhitespace in interface org.xml.sax.ContentHandler

processingInstruction

public void processingInstruction(java.lang.String target,


java.lang.String data)
throws org.xml.sax.SAXException
Specified by:
processingInstruction in interface org.xml.sax.ContentHandler

skippedEntity

public void skippedEntity(java.lang.String name)


throws org.xml.sax.SAXException
Specified by:
skippedEntity in interface org.xml.sax.ContentHandler

resolveEntity

public org.xml.sax.InputSource resolveEntity(java.lang.String publicId,


java.lang.String systemId)
throws java.io.IOException,
org.xml.sax.SAXException
Specified by:
resolveEntity in interface org.xml.sax.EntityResolver

setEntityResolver

public void setEntityResolver(org.xml.sax.EntityResolver resolver)


Specified by:
setEntityResolver in interface EntityConsumer
addLocationHintHandler

public void addLocationHintHandler(LocationHintHandler handler)


Specified by:
addLocationHintHandler in interface LocationHintSupplier

removeLocationHintHandler

public void removeLocationHintHandler(LocationHintHandler handler)


Specified by:
removeLocationHintHandler in interface LocationHintSupplier

setPropertyProvider

public void setPropertyProvider(PropertyProvider provider)


Specified by:
setPropertyProvider in interface PropertyConsumer

addTypeURIHandler

public void addTypeURIHandler(TypeURIHandler handler)


Specified by:
addTypeURIHandler in interface TypeURISupplier

removeTypeURIHandler

public void removeTypeURIHandler(TypeURIHandler handler)


Specified by:
removeTypeURIHandler in interface TypeURISupplier

setContentHandler

public 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 Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.validation
Class SchemaException

java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--org.xml.sax.SAXException
|
+--com.tibco.xml.validation.SchemaException
All Implemented Interfaces:
java.io.Serializable

public class SchemaException


extends org.xml.sax.SAXException
An exception class for problems encountered while parsing or checking a schema. A SchemaException
commonly wraps a "culprit" exception, so handlers should check to see if getException() returns a
non-null result, and if so, display the stack trace of the culprit.
See Also:
Serialized Form

Constructor Summary
SchemaException(java.lang.String message)
Construct a SchemaException with the given error message.
SchemaException(java.lang.String message, java.lang.Exception e)
Construct a SchemaException with the given error message and "culprit" exception.

Method Summary
java.lang.String getMessage()
Methods inherited from class org.xml.sax.SAXException
getException, toString

Methods inherited from class java.lang.Throwable


fillInStackTrace, getLocalizedMessage, printStackTrace,
printStackTrace, printStackTrace

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait,
wait, wait

Constructor Detail
SchemaException

public SchemaException(java.lang.String message)


Construct a SchemaException with the given error message.

SchemaException

public SchemaException(java.lang.String message,


java.lang.Exception e)
Construct a SchemaException with the given error message and "culprit" exception.

Method Detail
getMessage

public java.lang.String getMessage()


Overrides:
getMessage in class org.xml.sax.SAXException
Overview Package Class Use Tree Deprecated Index Help
PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.validation
Interface SchemaMap
public interface SchemaMap
A collection of pre-parsed schema/DTD representations for use by an XMLValidator. Schemas are indexed by
target namespace. A separate "area" of the table can also be used to index parsed DTDs by public ID.
Schemas/DTDs can optionally be checked for errors after parsing, according to the CHECK_ERRORS_POLICY
setting.
A SchemaMap should be constructed, populated, and retained whenever a series of XML documents/messages
must be validated against a known set of schemas/DTDs.
This interface does not expose a method to retrieve a parsed schema representation, since the representation API is
not exposed at this time. Nonetheless, any implementation of SchemaMap will have private access methods for
use by XML Validate during validation.
If a schema added to the SchemaMap imports another namespace, the SchemaMap contents are examined before
re-parsing the imported schema. In addition, when a schema is imported that was not previously in the
SchemaMap, it is added after the import. Because of these behaviors, adding a schema for namespace A that
imports namespace B will result in two entries in the SchemaMap. If the schema for B is later explicitly added, a
collision exception will be thrown. If the schema for B must be added explicitly (via the API), it should be added
before adding the schema for A.
Schemas/DTDs added using "addSchema" are indexed by the target namespace stated (or not stated) in the schema
document. A schema with no target namespace (or any DTD) is treated as having a null target namespace key.
DTDs added using "addDTD" are indexed by the public ID provided as the second argument. The "addSchema"
and "addDTD" mechanisms are orthogonal, representing separate mappings. The "addDTD" mechanism is only
useful when the USE_DTD_PUBLIC_ID policy has been set on the XMLValidator (not on the SchemaMap) for
one or more validations.
See Also:
XMLValidator

Field Summary
static java.lang.String CHECK_ERRORS_POLICY
The name of the policy that controls schema error-checking, used
as the first argument to "setPolicy()".
static java.lang.String SOX_SCHEMA_PATH
Tells validator and/or schemaparser where to start looking for
SOX schemas.
Method Summary
void addDTD(org.xml.sax.InputSource source)
Adds a DTD to this schemaMap.
void addSchema(org.xml.sax.InputSource source)
Add a schema to the map, using the target namespace URI as a key.
void addSchema(java.lang.String namespace,
org.xml.sax.InputSource source)
Deprecated.
void addXDR(java.lang.String namespace,
org.xml.sax.InputSource source)
Add an XDR schema to the map specifying the target namespace URI as a key.
java.lang.String getPolicy(java.lang.String policyName)
Get the string value of a policy (typically SOX_SCHEMA_PATH).
boolean hasDTD(java.lang.String publicId)
Returns true if the indicated public identifier has a non-null schema associated in
this map.
boolean hasSchema(java.lang.String namespace)
Returns true if the indicated namespace URI has a non-null schema associated in
this map.
boolean isPolicySet(java.lang.String policyName)
Get the value of a boolean policy.
void removeDTD(java.lang.String publicId)
Remove the DTD associated with the given public identifier.
void removeSchema(java.lang.String namespace)
Remove the schema associated with the given namespace URI.
void setEntityResolver(org.xml.sax.EntityResolver entityResolver)
Set the EntityResolver used while parsing schemas and DTDs.
void setErrorHandler(org.xml.sax.ErrorHandler handler)
Set the error handler to use for reporting errors in the schema.
void setPolicy(java.lang.String policyName,
java.lang.String policyValue)
Set the value of a policy.

Field Detail
CHECK_ERRORS_POLICY

public static final java.lang.String CHECK_ERRORS_POLICY


The name of the policy that controls schema error-checking, used as the first argument to "setPolicy()". If
this policy is set to "true" (the default), an additional error-checking analysis of each added schema will be
performed. The policy name is "com.tibco.xml.validation.SchemaMap.CHECK_ERRORS", and a system
property setting with that name can be used to automatically set the policy. Note: currently, the error
analysis largely consists of verifying that all QName references can be resolved. It is recommended that all
schemas be checked by other means before being added to a SchemaMap for use by XML Validate. In that
case, CHECK_ERRORS_POLICY can be set to "false" to avoid the cost of the analysis.

SOX_SCHEMA_PATH

public static final java.lang.String SOX_SCHEMA_PATH


Tells validator and/or schemaparser where to start looking for SOX schemas. It's currently set by defining a
system property with the name of "com.tibco.xml.validation.SchemaMap.SOXSchemaPath".

Method Detail
setPolicy

public void setPolicy(java.lang.String policyName,


java.lang.String policyValue)
Set the value of a policy. Boolean policies should have values of "true" or "false", case significant. Policies
can be set automatically by defining a Java system property with the appropriate name.

isPolicySet

public boolean isPolicySet(java.lang.String policyName)


Get the value of a boolean policy.

getPolicy

public java.lang.String getPolicy(java.lang.String policyName)


Get the string value of a policy (typically SOX_SCHEMA_PATH).
setErrorHandler

public void setErrorHandler(org.xml.sax.ErrorHandler handler)


Set the error handler to use for reporting errors in the schema. If the CHECK_ERRORS_POLICY is true,
this method must be called with a non-null handler before calling "addSchema" or "addDTD".

setEntityResolver

public void setEntityResolver(org.xml.sax.EntityResolver entityResolver)


Set the EntityResolver used while parsing schemas and DTDs.

addSchema

public void addSchema(java.lang.String namespace,


org.xml.sax.InputSource source)
throws SchemaException
Deprecated.
Add a schema to the map, using the target namespace URI as a key. This method is deprecated, and
implementations are required to treat calls to this method identically to addSchema() with no namespace
string; that is, the namespace argument will be ignored.
Parameters:
namespace - a namespace URI string... IGNORED
source - A SAX InputSource. Must have a valid systemID if the schema imports or includes other
schema documents using relative URLs.
Throws:
SchemaException - a problem was encountered while parsing the schema, or an error check
failed, or the namespace is already in use by another schema

addSchema

public void addSchema(org.xml.sax.InputSource source)


throws SchemaException
Add a schema to the map, using the target namespace URI as a key. If the target namespace is null (not
stated), the schema will be the "default" for this SchemaMap, used whenever an instance document has no
namespace.
Parameters:
source - A SAX InputSource. Must have a valid systemID if the schema imports or includes other
schema documents using relative URLs.
Throws:
SchemaException - a problem was encountered while parsing the schema, or an error check
failed, or the namespace is already in use by another schema

addDTD

public void addDTD(org.xml.sax.InputSource source)


throws SchemaException
Adds a DTD to this schemaMap. The public identifier of the InputSource will be used as the key for the
DTD.
Parameters:
source - A SAX InputSource. Must have value for systemID if the schema imports or includes
other schema documents using relative URLs. The publicId will be used as the key for this DTD; It
may be an empty string or null.
Throws:
SchemaException - a problem was encountered while parsing the schema, or an error check
failed, or the publicId is already in use

addXDR

public void addXDR(java.lang.String namespace,


org.xml.sax.InputSource source)
throws SchemaException
Add an XDR schema to the map specifying the target namespace URI as a key. XDR schemas do not
specify their target namespace.
Parameters:
namespace - a namespace URI string
source - A SAX InputSource. Must have a valid systemID if the schema imports or includes other
schema documents using relative URLs.
Throws:
SchemaException - a problem was encountered while parsing the schema, or an error check
failed, or the namespace is already in use by another schema or the schema was not an XDR flavor.

hasDTD

public boolean hasDTD(java.lang.String publicId)


Returns true if the indicated public identifier has a non-null schema associated in this map. The publicId
argument may be null or an empty string.
hasSchema

public boolean hasSchema(java.lang.String namespace)


Returns true if the indicated namespace URI has a non-null schema associated in this map. The namespace
argument may be null.

removeSchema

public void removeSchema(java.lang.String namespace)


Remove the schema associated with the given namespace URI. The namespace argument may be null.

removeDTD

public void removeDTD(java.lang.String publicId)


Remove the DTD associated with the given public identifier. The argument may be null or an empty string.

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.schema.channel
Interface SchemaModelConsumer
All Known Subinterfaces:
NewSchemaParser
All Known Implementing Classes:
DefaultNamespaceConverter, DefaultSchemaCache, DefaultSchemaSupplier, Validator,
XmlStreamEnhancer, Validator_SAX_Remark_ExternalCache,
Validator_DOM_Remark_ExternalCache, Validator_SAX_Error_ExternalCache

public interface SchemaModelConsumer


Implemented by components that require the services of a SchemaModelProvider.

Method Summary
void setSchemaModelProvider(SchemaModelProvider schemaModelProvider)

Method Detail
setSchemaModelProvider

public void setSchemaModelProvider(SchemaModelProvider schemaModelProvider)

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.schema.channel
Interface SchemaModelHandler
All Known Implementing Classes:
DefaultNamespaceConverter, DefaultSchemaCache

public interface SchemaModelHandler


Implemented by components to handle schemas.

Method Summary
void putSchema(java.lang.String namespaceURI, SmSchema schema)

Method Detail
putSchema

public void putSchema(java.lang.String namespaceURI,


SmSchema schema)

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.schema.channel
Interface SchemaModelProvider
All Known Implementing Classes:
DefaultNamespaceConverter, DefaultSchemaCache, NativeSchemaProvider

public interface SchemaModelProvider


Implemented by components to provide a schema through a pull mechanism.

Method Summary
SmSchema getSchema(java.lang.String namespaceURI)
Retrieves a schema model based on it's namespace URI.

Method Detail
getSchema

public SmSchema getSchema(java.lang.String namespaceURI)


Retrieves a schema model based on it's namespace URI.

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.schema.channel
Interface SchemaModelSupplier
All Known Subinterfaces:
NewSchemaParser
All Known Implementing Classes:
DefaultNamespaceConverter, DefaultSchemaSupplier

public interface SchemaModelSupplier


Implemented by components that supply a schema model, through a push mechanism, to a
SchemaModelHandler. Used to connect a supplier to a handler.

Method Summary
void setSchemaModelHandler(SchemaModelHandler handler)

Method Detail
setSchemaModelHandler

public void setSchemaModelHandler(SchemaModelHandler handler)

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.validation.scripting
Class ScriptingAdjunctValidator

java.lang.Object
|
+--com.tibco.xml.validation.scripting.ScriptingAdjunctValidator
All Implemented Interfaces:
org.xml.sax.ContentHandler, ContentSupplier, XmlRemarkSupplier, XmlStreamSupplier

public class ScriptingAdjunctValidator


extends java.lang.Object
implements org.xml.sax.ContentHandler, ContentSupplier, XmlRemarkSupplier, XmlStreamSupplier

Constructor Summary
ScriptingAdjunctValidator()

Method Summary
void characters(char[] ch, int start, int length)

void endDocument()

void endElement(java.lang.String namespaceURI,


java.lang.String localName, java.lang.String qName)

void endPrefixMapping(java.lang.String prefix)

void ignorableWhitespace(char[] ch, int start, int length)


void processingInstruction(java.lang.String target,
java.lang.String data)

void setContentHandler(org.xml.sax.ContentHandler handler)


Allows an application to register and unregister a ContentHandler for this supplier.
void setDocumentLocator(org.xml.sax.Locator locator)

void setXmlRemarkHandler(XmlRemarkHandler handler)


Allows an application to register and unregister an XmlRemarkHandler for this supplier.
void setXmlStreamHandler(XmlStreamHandler handler)
Allows an application to register an XmlStreamHandler for this supplier.
void skippedEntity(java.lang.String name)

void startDocument()

void startElement(java.lang.String namespaceURI,


java.lang.String localName, java.lang.String qName,
org.xml.sax.Attributes atts)

void startPrefixMapping(java.lang.String prefix,


java.lang.String uri)

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait

Constructor Detail
ScriptingAdjunctValidator

public ScriptingAdjunctValidator()

Method Detail
setDocumentLocator

public void setDocumentLocator(org.xml.sax.Locator locator)


Specified by:
setDocumentLocator in interface org.xml.sax.ContentHandler

startDocument

public void startDocument()


throws org.xml.sax.SAXException
Specified by:
startDocument in interface org.xml.sax.ContentHandler

endDocument

public void endDocument()


throws org.xml.sax.SAXException
Specified by:
endDocument in interface org.xml.sax.ContentHandler

startPrefixMapping

public void startPrefixMapping(java.lang.String prefix,


java.lang.String uri)
throws org.xml.sax.SAXException
Specified by:
startPrefixMapping in interface org.xml.sax.ContentHandler

endPrefixMapping

public void endPrefixMapping(java.lang.String prefix)


throws org.xml.sax.SAXException
Specified by:
endPrefixMapping in interface org.xml.sax.ContentHandler
startElement

public void startElement(java.lang.String namespaceURI,


java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
throws org.xml.sax.SAXException
Specified by:
startElement in interface org.xml.sax.ContentHandler

endElement

public void endElement(java.lang.String namespaceURI,


java.lang.String localName,
java.lang.String qName)
throws org.xml.sax.SAXException
Specified by:
endElement in interface org.xml.sax.ContentHandler

characters

public void characters(char[] ch,


int start,
int length)
throws org.xml.sax.SAXException
Specified by:
characters in interface org.xml.sax.ContentHandler

ignorableWhitespace

public void ignorableWhitespace(char[] ch,


int start,
int length)
throws org.xml.sax.SAXException
Specified by:
ignorableWhitespace in interface org.xml.sax.ContentHandler
processingInstruction

public void processingInstruction(java.lang.String target,


java.lang.String data)
throws org.xml.sax.SAXException
Specified by:
processingInstruction in interface org.xml.sax.ContentHandler

skippedEntity

public void skippedEntity(java.lang.String name)


throws org.xml.sax.SAXException
Specified by:
skippedEntity in interface org.xml.sax.ContentHandler

setContentHandler

public 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.

setXmlStreamHandler

public 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.

setXmlRemarkHandler

public 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.

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.validation.scripting
Class ScriptingSimpleTypeCompilers

java.lang.Object
|
+--com.tibco.xml.validation.scripting.ScriptingSimpleTypeCompilers
All Implemented Interfaces:
com.tibco.xml.channel.simpletypecompiler.SimpleTypeCompilerProvider

public class ScriptingSimpleTypeCompilers


extends java.lang.Object
implements com.tibco.xml.channel.simpletypecompiler.SimpleTypeCompilerProvider
Read-only storage of XML Schema built-in type compilers.

Constructor Summary
ScriptingSimpleTypeCompilers()

Method Summary
com.tibco.xml.channel.simpletypecompiler.SimpleTypeCompiler getSimpleTypeCompiler(ExpandedName name)

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait

Constructor Detail
ScriptingSimpleTypeCompilers

public ScriptingSimpleTypeCompilers()

Method Detail
getSimpleTypeCompiler

public com.tibco.xml.channel.simpletypecompiler.SimpleTypeCompiler
getSimpleTypeCompiler(ExpandedName name)
Specified by:
getSimpleTypeCompiler in interface
com.tibco.xml.channel.simpletypecompiler.SimpleTypeCompilerProvider

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.validation.scripting
Class ScriptingValidatorMk1

java.lang.Object
|
+--com.tibco.xml.validation.scripting.ScriptingValidatorMk1
All Implemented Interfaces:
AdjunctConsumer, DOMHandler, DOMSupplier, IBlackBox, PropertyConsumer,
PropertySupplier, TypeURIHandler, XmlRemarkSupplier

public class ScriptingValidatorMk1


extends java.lang.Object
implements IBlackBox, PropertyConsumer, PropertySupplier, DOMHandler, DOMSupplier,
TypeURIHandler, XmlRemarkSupplier, AdjunctConsumer

Scripting Extended Validation Implementation.


This class executes the script in an adjunct to validate an XML document. Validation remarks are
reported as the processing proceeds.
XML documents are presented to an instance of this class through it's DOMHandler interface. If an XML
stream is being processed then it will be necessary to generate a document before presenting it to this
component. Content2DOM or XmlStream2DOM will serve this purpose.
XML remarks are generated through the outgoing XmlRemarkSupplier interface. It is necessary to
connect an XmlRemarkHandler to this object to be notified of those remarks.
The adjunct to be used for processing the document must be selected in advance using the
TypeURIHandler interface. The type URI of the document is any unique key that identifies the type of
the document. Implementations are provided that use the name of the document element combined with
the namespace.
This class is an AdjunctConsumer so that it can load an adjunct. Applications using this component must
connect it to an appropriate provider.
Use of Scripting Extended Validation is discussed further in the User Manuals.

Field Summary
static java.lang.String CHANNEL_INPUT

static java.lang.String CHANNEL_REMARK

static java.lang.String CHANNEL_TYPE

Fields inherited from interface com.tibco.xml.runtime.IBlackBox


CHANNEL_MODE_SINK, CHANNEL_MODE_SOURCE

Constructor Summary
ScriptingValidatorMk1()

Method Summary
void addDOMHandler(DOMHandler 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.
void process(org.w3c.dom.Document instance,
java.lang.String systemId)
Receive notification of an XML document.
void removeDOMHandler(DOMHandler handler)
void setAdjunctProvider(AdjunctProvider provider)

void setPropertyHandler(PropertyHandler handler)


Allows a component to register and unregister a PropertyHandler for
this supplier.
void setPropertyProvider(PropertyProvider provider)

void setTypeURI(java.lang.String uri)

void setXmlRemarkHandler(XmlRemarkHandler handler)


Allows an application to register and unregister an XmlRemarkHandler
for this supplier.

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait

Field Detail
CHANNEL_INPUT

public static final java.lang.String CHANNEL_INPUT

CHANNEL_TYPE

public static final java.lang.String CHANNEL_TYPE

CHANNEL_REMARK

public static final java.lang.String CHANNEL_REMARK

Constructor Detail
ScriptingValidatorMk1

public ScriptingValidatorMk1()

Method Detail
getChannel

public 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.

getChannelType

public 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.
getChannelMode

public 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.

getChannelNames

public 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.

process

public void process(org.w3c.dom.Document instance,


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 -

setTypeURI

public void setTypeURI(java.lang.String uri)


throws org.xml.sax.SAXException,
java.io.IOException
Specified by:
setTypeURI in interface TypeURIHandler

setXmlRemarkHandler

public 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.

addDOMHandler

public void addDOMHandler(DOMHandler handler)


Specified by:
addDOMHandler in interface DOMSupplier
removeDOMHandler

public void removeDOMHandler(DOMHandler handler)


Specified by:
removeDOMHandler in interface DOMSupplier

setAdjunctProvider

public void setAdjunctProvider(AdjunctProvider provider)


Specified by:
setAdjunctProvider in interface AdjunctConsumer

setPropertyProvider

public void setPropertyProvider(PropertyProvider provider)


Specified by:
setPropertyProvider in interface PropertyConsumer

setPropertyHandler

public void setPropertyHandler(PropertyHandler handler)


Description copied from interface: PropertySupplier
Allows a component to register and unregister a PropertyHandler for this supplier.
Specified by:
setPropertyHandler in interface PropertySupplier
Following copied from interface:
com.tibco.xml.channel.property.PropertySupplier
Parameters:
handler - The PropertyHandler to be registerd. Specify null to unregister the current
handler.

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.schema
Interface SmAttribute
All Superinterfaces:
SmComponent, SmDataComponent, SmParticleTerm

public interface SmAttribute


extends SmDataComponent

SmAttribute represents an attribute declaration, which may be global or local to some type.
This interface is empty since all of the necessary methods are inherited from SmDataComponent;
however, it is a useful distinction since some constraints only apply to attrtibutes. For example, only
attributes can occur in an attribute group.

Fields inherited from interface com.tibco.xml.schema.SmComponent


ALL_TYPES, ATTRIBUTE_GROUP_TYPE, ATTRIBUTE_TYPE, ELEMENT_TYPE,
EXTENSION, IDENTITY_CONSTRAINT_TYPE, META_FOREIGN_ATT_TYPE,
MODEL_GROUP_TYPE, NOTATION_TYPE, NUM_COMPONENT_TYPES,
NUM_GLOBAL_COMPONENT_TYPES, PARTICLE_TYPE, RESTRICTION, SUBSTITUTION,
TYPE_FACET_TYPE, TYPE_TYPE, WILDCARD_TYPE

Methods inherited from interface com.tibco.xml.schema.SmDataComponent


getDefaultValue, getFixedValue, getType

Methods inherited from interface com.tibco.xml.schema.SmComponent


accept, checkErrors, getComponentType, getMetaForeignAttributes,
getName, getNamespace, getSchema

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.schema
Interface SmAttributeGroup
All Superinterfaces:
SmComponent, SmModelGroup, SmParticleTerm

public interface SmAttributeGroup


extends SmModelGroup

SmAttributeGroup is a SmModelGroup with the constraint that all particles are attributes and the
compositor is ALL. However, the only implemention difference is that the component type is
ATTRIBUTE_GROUP_TYPE.

Fields inherited from interface com.tibco.xml.schema.SmModelGroup


ALL, CHOICE, SEQUENCE

Fields inherited from interface com.tibco.xml.schema.SmComponent


ALL_TYPES, ATTRIBUTE_GROUP_TYPE, ATTRIBUTE_TYPE, ELEMENT_TYPE,
EXTENSION, IDENTITY_CONSTRAINT_TYPE, META_FOREIGN_ATT_TYPE,
MODEL_GROUP_TYPE, NOTATION_TYPE, NUM_COMPONENT_TYPES,
NUM_GLOBAL_COMPONENT_TYPES, PARTICLE_TYPE, RESTRICTION, SUBSTITUTION,
TYPE_FACET_TYPE, TYPE_TYPE, WILDCARD_TYPE

Methods inherited from interface com.tibco.xml.schema.SmModelGroup


getCompositor, getParticles

Methods inherited from interface com.tibco.xml.schema.SmComponent


accept, checkErrors, getComponentType, getMetaForeignAttributes,
getName, getNamespace, getSchema
Overview Package Class Use Tree Deprecated Index Help
PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.schema
Interface SmComponent
All Known Subinterfaces:
SmAttribute, SmAttributeGroup, SmDataComponent, SmElement, SmIdentityConstraint,
SmMetaForeignAttribute, SmMetaInfo, SmModelGroup, SmNotation, SmParticle,
SmParticleTerm, SmType, SmTypeFacet, SmWildcard

public interface SmComponent


SmComponent is the base interface for all schema components, such as element and attribute
declarations. Global SchemaComponents have names. Other SchemaComponents, such as model
Particles, may not have names.

Field Summary
static int ALL_TYPES

static int ATTRIBUTE_GROUP_TYPE

static int ATTRIBUTE_TYPE

static int ELEMENT_TYPE

static int EXTENSION


possible values for derivation and substitution methods.
static int IDENTITY_CONSTRAINT_TYPE

static int META_FOREIGN_ATT_TYPE

static int MODEL_GROUP_TYPE


static int NOTATION_TYPE

static int NUM_COMPONENT_TYPES

static int NUM_GLOBAL_COMPONENT_TYPES

static int PARTICLE_TYPE

static int RESTRICTION

static int SUBSTITUTION

static int TYPE_FACET_TYPE

static int TYPE_TYPE


the types of schema model components.
static int WILDCARD_TYPE

Method Summary
void accept(SmVisitor visitor)
Visit this component.
void checkErrors(SmSchemaError.Handler handler)
Check for errors.
int getComponentType()
Returns the component type of this component, which will be a value
such as ELEMENT_TYPE.
java.util.Iterator getMetaForeignAttributes()
Returns an Iterator of SmMetaForeignAttribute declared in foreign
namespaces.
java.lang.String getName()
Returns the local name of this component.
java.lang.String getNamespace()
Could be null for local components, otherwise it will be the same as the
schema's namespace.
SmSchema getSchema()
Returns the schema that declares this component.

Field Detail
EXTENSION

public static final int EXTENSION


possible values for derivation and substitution methods. Values are bit masks so they can be stored
in an int as a set.

RESTRICTION

public static final int RESTRICTION

SUBSTITUTION

public static final int SUBSTITUTION

TYPE_TYPE

public static final int TYPE_TYPE


the types of schema model components. some schema flavors do not implement all types.
FEEDBACK: Should these be objects (SmComponentType)? Or should they be removed
completely in favor of using instanceof.
Some minor plusses:
❍ passing ELEMENT_TYPE is better for obfuscation than SmElement.Class

❍ int type constants are like DOM node types

❍ checking type constants are faster than instanceof


ELEMENT_TYPE

public static final int ELEMENT_TYPE

ATTRIBUTE_TYPE

public static final int ATTRIBUTE_TYPE

MODEL_GROUP_TYPE

public static final int MODEL_GROUP_TYPE

ATTRIBUTE_GROUP_TYPE

public static final int ATTRIBUTE_GROUP_TYPE

IDENTITY_CONSTRAINT_TYPE

public static final int IDENTITY_CONSTRAINT_TYPE

NOTATION_TYPE

public static final int NOTATION_TYPE

WILDCARD_TYPE

public static final int WILDCARD_TYPE


TYPE_FACET_TYPE

public static final int TYPE_FACET_TYPE

PARTICLE_TYPE

public static final int PARTICLE_TYPE

META_FOREIGN_ATT_TYPE

public static final int META_FOREIGN_ATT_TYPE

NUM_COMPONENT_TYPES

public static final int NUM_COMPONENT_TYPES

NUM_GLOBAL_COMPONENT_TYPES

public static final int NUM_GLOBAL_COMPONENT_TYPES

ALL_TYPES

public static final int ALL_TYPES

Method Detail
getComponentType

public int getComponentType()


Returns the component type of this component, which will be a value such as ELEMENT_TYPE.
The component type will be within the range [0..NUM_COMPONENT_TYPES).
Returns:
a component type
getName

public java.lang.String getName()


Returns the local name of this component. May be null for local components. May be a QName for
schemas that don't support namespaces, such as DTDs.
Returns:
name of null

getNamespace

public java.lang.String getNamespace()


Could be null for local components, otherwise it will be the same as the schema's namespace.
Returns:
a namespace or null

getSchema

public SmSchema getSchema()


Returns the schema that declares this component.
Returns:
a SmSchema, never null

checkErrors

public void checkErrors(SmSchemaError.Handler handler)


throws SmException
Check for errors.
Parameters:
handler - an SmSchemaError.Handler
Throws:
SmException - the error handler may choose to throw an exception to halt processing.
accept

public void accept(SmVisitor visitor)


throws SmException
Visit this component.
See Also:
SmVisitor

getMetaForeignAttributes

public java.util.Iterator getMetaForeignAttributes()


Returns an Iterator of SmMetaForeignAttribute declared in foreign namespaces. Any change of the
returned map will be reflected to the component.
Returns:
an Iterator of SmMetaForeignAttributes
See Also:
SmMetaForeignAttribute

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.schema
Interface SmConverter
public interface SmConverter
SmConverter is an interface used by SmFactory for creating a SmSchema from an existing object (such
as Extensibility's SmSchema).

Method Summary
SmSchema convert(java.lang.Object input, SmSchemaSpace schemaSpace)
Converts the given object into an equivalent SmSchema.
void setErrorHandler(org.xml.sax.ErrorHandler errorHandler)
Provides the converter a place to report errors.

Method Detail
convert

public SmSchema convert(java.lang.Object input,


SmSchemaSpace schemaSpace)
throws org.xml.sax.SAXException
Converts the given object into an equivalent SmSchema. If an error handler has been provided, it
will be used to report errors. Otherwise a SAX exception will be thrown. Any created schemas will
be added to the given schemaSpace if it is not null.
Parameters:
input - any object
schemaSpace - a SmSchemaSpace or null
Returns:
a schema or null if conversion failed.
setErrorHandler

public void setErrorHandler(org.xml.sax.ErrorHandler errorHandler)


Provides the converter a place to report errors.
Parameters:
errorHandler - a SAX ErrorHandler

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.schema
Interface SmDataComponent
All Superinterfaces:
SmComponent, SmParticleTerm
All Known Subinterfaces:
SmAttribute, SmElement

public interface SmDataComponent


extends SmParticleTerm

SmDataComponent represents an data object in a schema (either an element or attribute), which may be
global to a schema or local to some type.
SmElement and SmAttribute both inherit from SmDataComponent. Attributes will only have simple
types (no content models).
SmDataComponent implements SmParticleTerm since elements can be part of content model groups and
attributes and can be part of attribute groups, which are special kinds of model group.

Fields inherited from interface com.tibco.xml.schema.SmComponent


ALL_TYPES, ATTRIBUTE_GROUP_TYPE, ATTRIBUTE_TYPE, ELEMENT_TYPE,
EXTENSION, IDENTITY_CONSTRAINT_TYPE, META_FOREIGN_ATT_TYPE,
MODEL_GROUP_TYPE, NOTATION_TYPE, NUM_COMPONENT_TYPES,
NUM_GLOBAL_COMPONENT_TYPES, PARTICLE_TYPE, RESTRICTION, SUBSTITUTION,
TYPE_FACET_TYPE, TYPE_TYPE, WILDCARD_TYPE

Method Summary
java.lang.String getDefaultValue()
Returns the default value for this object.
java.lang.String getFixedValue()
Returns the fixed value for this object.
SmType getType()
Returns the type of data.

Methods inherited from interface com.tibco.xml.schema.SmComponent


accept, checkErrors, getComponentType, getMetaForeignAttributes,
getName, getNamespace, getSchema

Method Detail
getType

public SmType getType()


Returns the type of data.
Returns:
a SmType, never null.

getDefaultValue

public java.lang.String getDefaultValue()


Returns the default value for this object. Returns null if there is no default value.
Returns:
the default value as a String or null

getFixedValue

public java.lang.String getFixedValue()


Returns the fixed value for this object. Returns null if there is no fixed value.
Returns:
the fixed value as a String or null

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.schema
Interface SmElement
All Superinterfaces:
SmComponent, SmDataComponent, SmParticleTerm

public interface SmElement


extends SmDataComponent

The SmElement interface models an element declaration, which could be global within the schema or
local to some other element.
Note: Default form info is not needed since the namespace info gets incorporated into the content
particles

Fields inherited from interface com.tibco.xml.schema.SmComponent


ALL_TYPES, ATTRIBUTE_GROUP_TYPE, ATTRIBUTE_TYPE, ELEMENT_TYPE,
EXTENSION, IDENTITY_CONSTRAINT_TYPE, META_FOREIGN_ATT_TYPE,
MODEL_GROUP_TYPE, NOTATION_TYPE, NUM_COMPONENT_TYPES,
NUM_GLOBAL_COMPONENT_TYPES, PARTICLE_TYPE, RESTRICTION, SUBSTITUTION,
TYPE_FACET_TYPE, TYPE_TYPE, WILDCARD_TYPE

Method Summary
int getAllowedDerivation()
Returns the set of type derivation methods that may be used for
elements that declare this element as their substitutionGroup head.
int getAllowedSubstitution()
Returns the set of derivation methods that may be used for elements
that can be substituted for this element in the instance document.
java.util.Iterator getIdentityConstraints()
Returns the set of identity constraints defined for this element.
SmElement getSubstitutionGroup()
Returns the head element of the substition group that this element
belongs to.
boolean isAbstract()
Returns whether this element is declared as abstract.
boolean isNillable()
Returns whether this element is declared as nillable.

Methods inherited from interface com.tibco.xml.schema.SmDataComponent


getDefaultValue, getFixedValue, getType

Methods inherited from interface com.tibco.xml.schema.SmComponent


accept, checkErrors, getComponentType, getMetaForeignAttributes,
getName, getNamespace, getSchema

Method Detail
isAbstract

public boolean isAbstract()


Returns whether this element is declared as abstract. Use of abstract elements in an instance
document is non valid.
Returns:
true if abstract

isNillable

public boolean isNillable()


Returns whether this element is declared as nillable. Note: in the CR release, this concept was
called "nullable".
Returns:
true if nillable
getSubstitutionGroup

public SmElement getSubstitutionGroup()


Returns the head element of the substition group that this element belongs to. May be null if there
is no substitution group for this element. Substitution group is an XSDL concept.
Returns:
substitution group element or null

getAllowedSubstitution

public int getAllowedSubstitution()


Returns the set of derivation methods that may be used for elements that can be substituted for this
element in the instance document.
This is an instance constraint.
Returns:
a subset of {RESTRICTION, EXTENSION, SUBSTITUTION}, possibly 0

getAllowedDerivation

public int getAllowedDerivation()


Returns the set of type derivation methods that may be used for elements that declare this element
as their substitutionGroup head.
This is a schema constraint.
Returns:
a subset of {RESTRICTION, EXTENSION}, possibly 0

getIdentityConstraints

public java.util.Iterator getIdentityConstraints()


Returns the set of identity constraints defined for this element.
Returns:
an Iterator over SmIdentityConstraint

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.schema
Class SmException

java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.tibco.xml.schema.SmException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
SmVisitor.Result

public class SmException


extends java.lang.Exception
See Also:
Serialized Form

Field Summary
protected java.lang.Exception m_culprit

Constructor Summary
SmException(java.lang.Exception culprit)

SmException(java.lang.String message)

SmException(java.lang.String message, java.lang.Exception culprit)


Method Summary
java.lang.Exception getCulprit()

java.lang.String getMessage()

Methods inherited from class java.lang.Throwable


fillInStackTrace, getLocalizedMessage, printStackTrace,
printStackTrace, printStackTrace, toString

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait,
wait, wait

Field Detail
m_culprit

protected java.lang.Exception m_culprit

Constructor Detail
SmException

public SmException(java.lang.Exception culprit)

SmException

public SmException(java.lang.String message,


java.lang.Exception culprit)
SmException

public SmException(java.lang.String message)

Method Detail
getCulprit

public java.lang.Exception getCulprit()

getMessage

public java.lang.String getMessage()


Overrides:
getMessage in class java.lang.Throwable

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.schema
Class SmFactory

java.lang.Object
|
+--com.tibco.xml.schema.SmFactory

public class SmFactory


extends java.lang.Object
SmFactory keeps a set of converters and a parser for use in creating SmSchema objects.
SmFactory also keeps ErrorHandler and EntityResolver objects, which are provided to the parser/convert before invocation.
Typical usage:

SmFactory factory = new SmFactory();


SmSchemaSpace space = SmFactory .createSchemaSpace();
factory.setErrorHandler(eh);
try{
SmSchema schema = factory .parse( input, space, null );
...
}
catch (SAXException x){
...
}

Field Summary
protected java.util.Map m_convertMap

protected org.xml.sax.EntityResolver m_entityResolver

protected org.xml.sax.ErrorHandler m_errorHandler

protected SmParser m_parser

Constructor Summary
SmFactory()

Method Summary
void addConverter(java.lang.Class clazz, SmConverter converter)
Adds a Class/SmConverter pairs to this factory.
SmSchema convert(java.lang.Object input, SmSchemaSpace schemaSpace)
Converts the input into a SmSchema with a stored SmConverter.
com.tibco.xml.schema.build.MutableSchema createMutableSchema()
Provides an interface for creating new schemas programmatically.
static SmSchemaSpace createSchemaSpace()
Create a default implementation of SmSchemaSpace.
SmParser getParser()
Returns the current parser.
static SmFactory newInstance()
Obtain a new instance of a SmFactory.
SmSchema parse(org.xml.sax.InputSource input,
SmSchemaSpace schemaSpace, java.lang.String namespace)
Parses the input with the stored SmParser.
void removeConverter(java.lang.Class clazz)
Removes the converter, if any, for the given Class.
void setEntityResolver(org.xml.sax.EntityResolver entityResolver)
Provides the parser a method to resolve entities.
void setErrorHandler(org.xml.sax.ErrorHandler errorHandler)
Provides the parser a place to report errors.
void setParser(SmParser parser)
Sets the parser for parsing InputSources.

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait

Field Detail
m_convertMap

protected java.util.Map m_convertMap

m_parser

protected SmParser m_parser

m_errorHandler

protected org.xml.sax.ErrorHandler m_errorHandler

m_entityResolver

protected org.xml.sax.EntityResolver m_entityResolver

Constructor Detail
SmFactory

public SmFactory()

Method Detail
parse

public SmSchema parse(org.xml.sax.InputSource input,


SmSchemaSpace schemaSpace,
java.lang.String namespace)
throws org.xml.sax.SAXException,
SmException
Parses the input with the stored SmParser. Any created schemas will be added to the given schemaSpace if it is not null.
Parameters:
input - a SAX InputSource
schemaSpace - a SmSchemaSpace or null
namespace - must be null for all non-XDR schemas
Returns:
a SmSchema or null
Throws:
SmException - a schema for the namespace is already in the schemaSpace

convert

public SmSchema convert(java.lang.Object input,


SmSchemaSpace schemaSpace)
throws org.xml.sax.SAXException
Converts the input into a SmSchema with a stored SmConverter. Uses the any converter which will accept objects of the class of the given
object. Any created schemas will be added to the given schemaSpace if it is not null.
Parameters:
input - any object
schemaSpace - a SmSchemaSpace or null
Returns:
a SmSchema or null

setParser

public void setParser(SmParser parser)


Sets the parser for parsing InputSources.
Parameters:
parser - the new parser to use

getParser

public SmParser getParser()


Returns the current parser. If no parser has been set using "setParser()", a default implementation is created and returned.
addConverter

public void addConverter(java.lang.Class clazz,


SmConverter converter)
Adds a Class/SmConverter pairs to this factory.
Parameters:
clazz - a Class of objects which the converter will convert
converter - an SmConverter

removeConverter

public void removeConverter(java.lang.Class clazz)


Removes the converter, if any, for the given Class.
Parameters:
clazz - the Class

setErrorHandler

public void setErrorHandler(org.xml.sax.ErrorHandler errorHandler)


Provides the parser a place to report errors.
Parameters:
errorHandler - a SAX ErrorHandler

setEntityResolver

public void setEntityResolver(org.xml.sax.EntityResolver entityResolver)


Provides the parser a method to resolve entities.
Parameters:
entityResolver - a SAX EntityResolver

createMutableSchema

public com.tibco.xml.schema.build.MutableSchema createMutableSchema()


Provides an interface for creating new schemas programmatically.

createSchemaSpace

public static SmSchemaSpace createSchemaSpace()


Create a default implementation of SmSchemaSpace.

newInstance

public static SmFactory newInstance()


throws SmException
Obtain a new instance of a SmFactory. Creates a new factory instance based on a System property setting or uses the platform default if no
property has been defined. The system property that controls which Factory implementation to create is named
"com.tibco.xml.schema.SmFactory". This property names a class that is a subclass of this class.
Throws:
SmException - if the implementation is not available or cannot be instantiated.

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.schema
Interface SmFlavor
public interface SmFlavor
SmFlavor identifies the "flavor" of a schema, such as DTD or XSDL. Some processing may be different
based on the schema flavor. We also have the notion of a flavor family, intended for different versions of
a particular flavor. For instance, XSDL is the family name for several actual flavors.
The flavor also contains all of the native types and facets.

Method Summary
java.lang.String getName()
Returns the "family" name of the schema.
java.lang.String getNamespace()
Returns the namespace of this flavor.
SmType getNativeType(java.lang.String name)
Returns the "native" type by the given name.
SmTypeFacet getNativeTypeFacet(java.lang.String name)
Returns the "native" type facet by the given name.
java.util.Iterator getNativeTypeFacets()
Returns an Iterator of all type facets "native" to this flavor.
java.util.Iterator getNativeTypes()
Returns an Iterator of all types "native" to this flavor.
SmAttribute getPredefinedAttribute(java.lang.String name)
Returns the predeclared attribute by the given name.
java.util.Iterator getPredefinedAttributes()
Returns an Iterator of all attributes predeclared by this flavor.
java.lang.String getSuffix()
Returns the suffix to use as a file extension for files of this type of
flavor.
java.lang.String getVersion()
Returns the version of this flavor.
boolean supportsNamespaces()
Returns true if this flavor supports namespaces.

Method Detail
getNamespace

public java.lang.String getNamespace()


Returns the namespace of this flavor. This is the namespace of all native components.
Returns:
the namespace, possibly null

supportsNamespaces

public boolean supportsNamespaces()


Returns true if this flavor supports namespaces.

getVersion

public java.lang.String getVersion()


Returns the version of this flavor. Should be a date or a version string. Examples are "1.0" and
"2000.04.07".
Returns:
the version name, never null

getName

public java.lang.String getName()


Returns the "family" name of the schema. Several schema flavors may share the same family
name. Examples are "dtd" and "xsdl".
Returns:
the family name, never null

getSuffix

public java.lang.String getSuffix()


Returns the suffix to use as a file extension for files of this type of flavor. Examples are "dtd" and
"xsd".
Returns:
the suffix, never null

getNativeTypes

public java.util.Iterator getNativeTypes()


Returns an Iterator of all types "native" to this flavor.
Returns:
an Iterator of SmType

getNativeType

public SmType getNativeType(java.lang.String name)


Returns the "native" type by the given name.
Returns:
a SmType or null

getNativeTypeFacets

public java.util.Iterator getNativeTypeFacets()


Returns an Iterator of all type facets "native" to this flavor.
Returns:
an Iterator of SmTypeFacet
getNativeTypeFacet

public SmTypeFacet getNativeTypeFacet(java.lang.String name)


Returns the "native" type facet by the given name.
Returns:
a SmTypeFacet or null

getPredefinedAttributes

public java.util.Iterator getPredefinedAttributes()


Returns an Iterator of all attributes predeclared by this flavor.
Returns:
an Iterator of SmAttribute

getPredefinedAttribute

public SmAttribute getPredefinedAttribute(java.lang.String name)


Returns the predeclared attribute by the given name.
Returns:
a SmAttribute or null

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.schema
Interface SmIdentityConstraint
All Superinterfaces:
SmComponent

public interface SmIdentityConstraint


extends SmComponent

SmIdentityConstraint describes key/key/unique constraints on the schema.

Inner Class Summary


static interface SmIdentityConstraint.Path
An interface for representing parsed field / selector XPaths.

Field Summary
static int KEY

static int KEYREF

static int UNIQUE

Fields inherited from interface com.tibco.xml.schema.SmComponent


ALL_TYPES, ATTRIBUTE_GROUP_TYPE, ATTRIBUTE_TYPE, ELEMENT_TYPE,
EXTENSION, IDENTITY_CONSTRAINT_TYPE, META_FOREIGN_ATT_TYPE,
MODEL_GROUP_TYPE, NOTATION_TYPE, NUM_COMPONENT_TYPES,
NUM_GLOBAL_COMPONENT_TYPES, PARTICLE_TYPE, RESTRICTION, SUBSTITUTION,
TYPE_FACET_TYPE, TYPE_TYPE, WILDCARD_TYPE
Method Summary
int getCategory()
Returns this constraint's "category".
SmElement getContext()
Returns the element definition in which the constraint is
defined.
java.util.Iterator getFields()
Returns the fields of the constraint.
SmIdentityConstraint getReferencedKey()
In the case of keyref constraints, returns the corresponding
key constraint.
SmIdentityConstraint.Path getSelector()
Returns the selector path of the constraint.

Methods inherited from interface com.tibco.xml.schema.SmComponent


accept, checkErrors, getComponentType, getMetaForeignAttributes,
getName, getNamespace, getSchema

Field Detail
KEY

public static final int KEY

KEYREF

public static final int KEYREF

UNIQUE

public static final int UNIQUE


Method Detail
getCategory

public int getCategory()


Returns this constraint's "category".
Returns:
One of KEY, KEYREF, or UNIQUE

getContext

public SmElement getContext()


Returns the element definition in which the constraint is defined. The element serves as the content
for evaluation of the selector.
Returns:
an element definition

getSelector

public SmIdentityConstraint.Path getSelector()


Returns the selector path of the constraint.
Returns:
a SmIdentityConstraint.Path

getFields

public java.util.Iterator getFields()


Returns the fields of the constraint.
Returns:
an non-empty Iterator of SmIdentityConstraint.Paths
getReferencedKey

public SmIdentityConstraint getReferencedKey()


In the case of keyref constraints, returns the corresponding key constraint.
Returns:
a SmIdentityConstraint or null

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.schema
Interface SmIdentityConstraint.Path
Enclosing class:
SmIdentityConstraint

public static interface SmIdentityConstraint.Path


An interface for representing parsed field / selector XPaths. Necessary because the prefixes in the XPaths
must be bound to namespaces at the time that the schema is parsed.

Field Summary
static java.lang.String WILDCARD

Method Summary
java.lang.String getStepName(int index)

java.lang.String getStepNamespace(int index)

boolean isAttribute()
returns true if path ended with "@something"
boolean isRelocatable()
returns true if path started with ".//"
int size()

Field Detail
WILDCARD

public static final java.lang.String WILDCARD

Method Detail
getStepNamespace

public java.lang.String getStepNamespace(int index)


Returns:
a namespace URI, or null

getStepName

public java.lang.String getStepName(int index)


Returns:
an unqualified element or attribute name, or WILDCARD

isRelocatable

public boolean isRelocatable()


returns true if path started with ".//"

isAttribute

public boolean isAttribute()


returns true if path ended with "@something"

size

public int size()

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.schema
Interface SmMetaForeignAttribute
All Superinterfaces:
SmComponent, SmMetaInfo

public interface SmMetaForeignAttribute


extends SmMetaInfo

Fields inherited from interface com.tibco.xml.schema.SmComponent


ALL_TYPES, ATTRIBUTE_GROUP_TYPE, ATTRIBUTE_TYPE, ELEMENT_TYPE,
EXTENSION, IDENTITY_CONSTRAINT_TYPE, META_FOREIGN_ATT_TYPE,
MODEL_GROUP_TYPE, NOTATION_TYPE, NUM_COMPONENT_TYPES,
NUM_GLOBAL_COMPONENT_TYPES, PARTICLE_TYPE, RESTRICTION, SUBSTITUTION,
TYPE_FACET_TYPE, TYPE_TYPE, WILDCARD_TYPE

Method Summary
java.lang.String getValue()
Returns the value of this foreign attribute (metadata declared in a foreign
namespace)

Methods inherited from interface com.tibco.xml.schema.SmComponent


accept, checkErrors, getComponentType, getMetaForeignAttributes,
getName, getNamespace, getSchema

Method Detail
getValue

public java.lang.String getValue()


Returns the value of this foreign attribute (metadata declared in a foreign namespace)

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.schema
Interface SmMetaInfo
All Superinterfaces:
SmComponent
All Known Subinterfaces:
SmMetaForeignAttribute

public interface SmMetaInfo


extends SmComponent

Parent of meta-information holders


See Also:
SmMetaForeignAttribute, SmMetaAppInfo

Fields inherited from interface com.tibco.xml.schema.SmComponent


ALL_TYPES, ATTRIBUTE_GROUP_TYPE, ATTRIBUTE_TYPE, ELEMENT_TYPE,
EXTENSION, IDENTITY_CONSTRAINT_TYPE, META_FOREIGN_ATT_TYPE,
MODEL_GROUP_TYPE, NOTATION_TYPE, NUM_COMPONENT_TYPES,
NUM_GLOBAL_COMPONENT_TYPES, PARTICLE_TYPE, RESTRICTION, SUBSTITUTION,
TYPE_FACET_TYPE, TYPE_TYPE, WILDCARD_TYPE

Methods inherited from interface com.tibco.xml.schema.SmComponent


accept, checkErrors, getComponentType, getMetaForeignAttributes,
getName, getNamespace, getSchema

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.schema
Interface SmModelGroup
All Superinterfaces:
SmComponent, SmParticleTerm
All Known Subinterfaces:
SmAttributeGroup

public interface SmModelGroup


extends SmParticleTerm

SmModelGroup represents a group of content sequences. A group consists of a compositor and a list of
particles. For example, the content sequences
● a,c

● a,b,c

● a,b,c,c

belong to the model group written as (a,b?,c+), which has a SEQUENCE compositor and three particles.
Occurrence information is kept with each particle.
Model groups can also be used for attribute groups, in which case the compositor is always ALL.

Field Summary
static int ALL

static int CHOICE

static int SEQUENCE


possible values for the compositor.

Fields inherited from interface com.tibco.xml.schema.SmComponent


ALL_TYPES, ATTRIBUTE_GROUP_TYPE, ATTRIBUTE_TYPE, ELEMENT_TYPE,
EXTENSION, IDENTITY_CONSTRAINT_TYPE, META_FOREIGN_ATT_TYPE,
MODEL_GROUP_TYPE, NOTATION_TYPE, NUM_COMPONENT_TYPES,
NUM_GLOBAL_COMPONENT_TYPES, PARTICLE_TYPE, RESTRICTION, SUBSTITUTION,
TYPE_FACET_TYPE, TYPE_TYPE, WILDCARD_TYPE

Method Summary
int getCompositor()
Returns the "compositor" type for this group.
java.util.Iterator getParticles()
Returns an iterator of all particles in this group.

Methods inherited from interface com.tibco.xml.schema.SmComponent


accept, checkErrors, getComponentType, getMetaForeignAttributes,
getName, getNamespace, getSchema

Field Detail
SEQUENCE

public static final int SEQUENCE


possible values for the compositor.

CHOICE

public static final int CHOICE

ALL

public static final int ALL

Method Detail
getParticles

public java.util.Iterator getParticles()


Returns an iterator of all particles in this group.
Returns:
Iterator of SmParticle

getCompositor

public int getCompositor()


Returns the "compositor" type for this group. The compositor determines how the particles are
combined.
Returns:
ALL or CHOICE or SEQUENCE

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.schema
Interface SmNotation
All Superinterfaces:
SmComponent

public interface SmNotation


extends SmComponent

Notation

Fields inherited from interface com.tibco.xml.schema.SmComponent


ALL_TYPES, ATTRIBUTE_GROUP_TYPE, ATTRIBUTE_TYPE, ELEMENT_TYPE,
EXTENSION, IDENTITY_CONSTRAINT_TYPE, META_FOREIGN_ATT_TYPE,
MODEL_GROUP_TYPE, NOTATION_TYPE, NUM_COMPONENT_TYPES,
NUM_GLOBAL_COMPONENT_TYPES, PARTICLE_TYPE, RESTRICTION, SUBSTITUTION,
TYPE_FACET_TYPE, TYPE_TYPE, WILDCARD_TYPE

Method Summary
java.lang.String getPublicId()
Returns the notation's public identifier.
java.lang.String getSystemId()
Returns the notation's system identifier.

Methods inherited from interface com.tibco.xml.schema.SmComponent


accept, checkErrors, getComponentType, getMetaForeignAttributes,
getName, getNamespace, getSchema

Method Detail
getPublicId

public java.lang.String getPublicId()


Returns the notation's public identifier. Must be valid per ISO 8879.

getSystemId

public java.lang.String getSystemId()


Returns the notation's system identifier. Must be a valid URI reference.

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.schema
Interface SmParser
public interface SmParser
SmParser is an interface used by SmFactory for creating a SmSchema from an InputSource.

Field Summary
static java.lang.String XDR_FILENAME_NAMESPACE_POLICY
A policy to control automatic derivation of XDR target
namespaces.

Method Summary
boolean isPolicySet(java.lang.String policyName)
Get the value of a boolean policy.
SmSchema parse(org.xml.sax.InputSource input,
SmSchemaSpace schemaSpace, java.lang.String namespace)
Parses the given input into an equivalent SmSchema.
void setEntityResolver(org.xml.sax.EntityResolver entityResolver)
Provides the parser a method to resolve entities.
void setErrorHandler(org.xml.sax.ErrorHandler errorHandler)
Provides the parser a place to report errors.
void setPolicy(java.lang.String policyName,
java.lang.String policyValue)

Field Detail
XDR_FILENAME_NAMESPACE_POLICY

public static final java.lang.String XDR_FILENAME_NAMESPACE_POLICY


A policy to control automatic derivation of XDR target namespaces. If set to "true", the filename
from the InputSource's system ID will be used as the namespace when adding an XDR schema to a
schemaSpace. The policy can be set by setting a System property with the name
"com.tibco.xml.schema.SmParser.XDR_FILENAME_NAMESPACE". Defaults to "false".

Method Detail
setPolicy

public void setPolicy(java.lang.String policyName,


java.lang.String policyValue)

isPolicySet

public boolean isPolicySet(java.lang.String policyName)


Get the value of a boolean policy.

parse

public SmSchema parse(org.xml.sax.InputSource input,


SmSchemaSpace schemaSpace,
java.lang.String namespace)
throws org.xml.sax.SAXException,
SmException
Parses the given input into an equivalent SmSchema. If an error handler has been provided, it will be
used to report errors. Otherwise a SAX exception will be thrown. Any created schemas will be added
to the given schemaSpace if it is not null.
Parameters:
input - a SAX InputSource
schemaSpace - a SmSchemaSpace or null
namespace - key for this schema; must be null for non-XDR schemas
Returns:
a schema, or null if conversion failed.
Throws:
org.xml.sax.SAXException -
SmException - the namespace is already present in the schemaSpace

setErrorHandler

public void setErrorHandler(org.xml.sax.ErrorHandler errorHandler)


Provides the parser a place to report errors.
Parameters:
errorHandler - a SAX ErrorHandler

setEntityResolver

public void setEntityResolver(org.xml.sax.EntityResolver entityResolver)


Provides the parser a method to resolve entities.
Parameters:
entityResolver - a SAX EntityResolver

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.schema
Interface SmParticle
All Superinterfaces:
SmComponent

public interface SmParticle


extends SmComponent

A SmParticle is a component of a group. A particle is compposed of a particle term and occurrence info
for that term. SmParticle never has a name.

Field Summary
static int UNBOUNDED
possible value for getMaxOccurrence()

Fields inherited from interface com.tibco.xml.schema.SmComponent


ALL_TYPES, ATTRIBUTE_GROUP_TYPE, ATTRIBUTE_TYPE, ELEMENT_TYPE,
EXTENSION, IDENTITY_CONSTRAINT_TYPE, META_FOREIGN_ATT_TYPE,
MODEL_GROUP_TYPE, NOTATION_TYPE, NUM_COMPONENT_TYPES,
NUM_GLOBAL_COMPONENT_TYPES, PARTICLE_TYPE, RESTRICTION, SUBSTITUTION,
TYPE_FACET_TYPE, TYPE_TYPE, WILDCARD_TYPE

Method Summary
int getMaxOccurrence()
Returns the maximum number of occurrences of this term.
int getMinOccurrence()
Returns the minimum number of occurrences of this term.
SmParticleTerm getTerm()
Returns the SmParticleTerm for this SmParticle.
Methods inherited from interface com.tibco.xml.schema.SmComponent
accept, checkErrors, getComponentType, getMetaForeignAttributes,
getName, getNamespace, getSchema

Field Detail
UNBOUNDED

public static final int UNBOUNDED


possible value for getMaxOccurrence()

Method Detail
getMinOccurrence

public int getMinOccurrence()


Returns the minimum number of occurrences of this term.
Returns:
a non-negative integer

getMaxOccurrence

public int getMaxOccurrence()


Returns the maximum number of occurrences of this term. Returns UNBOUNDED if max
occurrence is "unbounded".
Returns:
a non-negative integer, >= minOccurrence

getTerm

public SmParticleTerm getTerm()


Returns the SmParticleTerm for this SmParticle. The result will be one of SmModelGroup,
SmWildcard, SmElement or SmAttribute.
Returns:
A SmParticleTerm, never null.

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.schema
Interface SmParticleTerm
All Superinterfaces:
SmComponent
All Known Subinterfaces:
SmAttribute, SmAttributeGroup, SmDataComponent, SmElement, SmModelGroup, SmWildcard

public interface SmParticleTerm


extends SmComponent

SmParticleTerm is a marker interface for items that can be the term of a particle. These include elements,
model groups, wildcards, attributes and attribute groups.

Fields inherited from interface com.tibco.xml.schema.SmComponent


ALL_TYPES, ATTRIBUTE_GROUP_TYPE, ATTRIBUTE_TYPE, ELEMENT_TYPE,
EXTENSION, IDENTITY_CONSTRAINT_TYPE, META_FOREIGN_ATT_TYPE,
MODEL_GROUP_TYPE, NOTATION_TYPE, NUM_COMPONENT_TYPES,
NUM_GLOBAL_COMPONENT_TYPES, PARTICLE_TYPE, RESTRICTION, SUBSTITUTION,
TYPE_FACET_TYPE, TYPE_TYPE, WILDCARD_TYPE

Methods inherited from interface com.tibco.xml.schema.SmComponent


accept, checkErrors, getComponentType, getMetaForeignAttributes,
getName, getNamespace, getSchema

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.schema
Interface SmSchema
public interface SmSchema
SmSchema is an model for a read-only schema. The model is basically a namespace and a set of schema
components. A schema is not the same as a schema document. A schema can be made up from several
schema documents via including and importing.

Method Summary
void accept(SmVisitor visitor)
Visit this schema and its components.
void checkErrors(SmSchemaError.Handler handler)
Check for errors in the schema.
SmComponent getComponent(int componentType,
java.lang.String name)
Returns the (global) component of the given type and name, or null if
there is none.
java.util.Iterator getComponents(int componentType)
Returns an Iterator over all global components of the given type.
SmFlavor getFlavor()
Returns the "flavor" of the schema.
java.lang.String getLocation()
Returns the location uri of the schema.
java.util.Iterator getMetaForeignAttributes()
Return an Iterator of SmMetaForeignAttribute declared in the top-level
element
java.lang.String getNamespace()
Returns the namespace of the schema.

Method Detail
getNamespace

public java.lang.String getNamespace()


Returns the namespace of the schema. Returns null if the schema does not have a namespace.
Returns:
a namespace or null

getLocation

public java.lang.String getLocation()


Returns the location uri of the schema. Returns null if the schema does not have a location.
Returns:
a uri or null

getFlavor

public SmFlavor getFlavor()


Returns the "flavor" of the schema.
Returns:
a SmFlavor, never null

getComponents

public java.util.Iterator getComponents(int componentType)


Returns an Iterator over all global components of the given type. If the type value is ALL_TYPES,
then returns all global components.
Note that only the following types of components may be global: element, attribute, type, model
group, attribute group, identity constraint, and notation.
Parameters:
componentType - one of the SmComponent.*_TYPE values or ALL_TYPES
Returns:
a non-null Iterator
getComponent

public SmComponent getComponent(int componentType,


java.lang.String name)
Returns the (global) component of the given type and name, or null if there is none.
Parameters:
componentType - one of the SmComponent.*_TYPE values
name - a local name
Returns:
a component or null

checkErrors

public void checkErrors(SmSchemaError.Handler handler)


throws SmException
Check for errors in the schema.
Parameters:
handler - an SmSchemaError.Handler
Throws:
SmException - the error handler may choose to throw an exception to halt processing.

accept

public void accept(SmVisitor visitor)


throws SmException
Visit this schema and its components.
See Also:
SmVisitor

getMetaForeignAttributes

public java.util.Iterator getMetaForeignAttributes()


Return an Iterator of SmMetaForeignAttribute declared in the top-level element
Since:
Build 17
See Also:
SmMetaForeignAttribute

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.schema
Interface SmSchemaError
public interface SmSchemaError

Inner Class Summary


static interface SmSchemaError.Handler

static interface SmSchemaError.Source

Method Summary
SmComponent getSchemaComponent()

java.lang.String toString()

Method Detail
getSchemaComponent

public SmComponent getSchemaComponent()

toString

public java.lang.String toString()


Overrides:
toString in class java.lang.Object

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.schema
Interface SmSchemaError.Handler
Enclosing class:
SmSchemaError

public static interface SmSchemaError.Handler

Method Summary
void error(SmSchemaError e)

void warning(SmSchemaError e)

Method Detail
error

public void error(SmSchemaError e)


throws SmException

warning

public void warning(SmSchemaError e)


throws SmException

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.schema
Interface SmSchemaError.Source
Enclosing class:
SmSchemaError

public static interface SmSchemaError.Source

Method Summary
void setErrorHandler(SmSchemaError.Handler h)

Method Detail
setErrorHandler

public void setErrorHandler(SmSchemaError.Handler h)

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.schema
Interface SmSchemaSpace
public interface SmSchemaSpace
SmSchemaSpace is a collection of namespace-to-schema mappings. A SmSchemaSpace may also reference
other SmSchemaSpaces, which allows sharing of schemaSpaces.

Field Summary
static java.lang.String AUTO_NAMESPACE_POLICY
The name of the policy that controls QName resolution in the
schema.
static java.lang.String CHECK_ERRORS_POLICY
The name of the policy that controls schema error-checking.
static java.lang.String SOX_SCHEMA_PATH
Tells validator and/or schemaparser where to start looking for
SOX schemas.

Method Summary
void add(SmSchema schema)
Adds a schema to this schemaSpace.
void add(SmSchemaSpace schemaSpace)
Adds another schemaSpace to this schemaSpace.
void add(SmSchema schema, java.lang.String prefix)
Adds a schema to this schemaSpace.
void addDTD(SmSchema dtd, java.lang.String publicId)
Adds a DTD to this schemaSpace.
void addXDR(SmSchema schema, java.lang.String namespace)
Adds an XDR schema to this schemaSpace.
java.util.Iterator dtdIterator()
Returns an Iterator over all DTD public identifiers in this
schemaspace.
SmSchema get(java.lang.String namespace)
Looks up the given namespace and returns the associated schema.
SmSchema getDTD(java.lang.String publicId)
Looks up the given public identifier and returns the associated DTD.
SmSchemaError.Handler getErrorHandler()
Get the handler for errors encountered when adding a schema.
java.lang.String getPolicy(java.lang.String policyName)
Get the string value of a policy (typically SOX_SCHEMA_PATH).
java.lang.String getPreferredPrefix(java.lang.String namespace)
Looks up the given namespace and returns the associated prefix.
boolean isPolicySet(java.lang.String policyName)
Get the value of a boolean policy.
SmSchema remove(SmSchema schema)
Removes the given schema from the schemaspace.
boolean remove(SmSchemaSpace schemaSpace)
Removes a shared schemaSpace from this schemaSpace.
SmSchema remove(java.lang.String namespace)
Removes the schema for the given namespace from the schemaspace.
SmSchema removeDTD(java.lang.String publicId)
Removes the DTD with the given public identifier from the
schemaspace.
java.util.Iterator schemaIterator()
Returns an Iterator over all schemas in this schemaspace.
java.util.Iterator schemaSpaceIterator()
Returns an Iterator over all schemaspaces in this schemaspace.
void setErrorHandler(SmSchemaError.Handler errorHandler)
Set the handler for errors encountered when adding a schema.
void setPolicy(java.lang.String policyName,
java.lang.String policyValue)

Field Detail
CHECK_ERRORS_POLICY

public static final java.lang.String CHECK_ERRORS_POLICY


The name of the policy that controls schema error-checking. If this property has the value "true" (the
default), an additional error-checking analysis of each added schema will be performed.

AUTO_NAMESPACE_POLICY

public static final java.lang.String AUTO_NAMESPACE_POLICY


The name of the policy that controls QName resolution in the schema. If the policy is "true",
SchemaContentHandler .getRef() will map the null namespace to the target namespace (under certain
circumstances) to circumvent a bug in XA. The default is "false".

SOX_SCHEMA_PATH

public static final java.lang.String SOX_SCHEMA_PATH


Tells validator and/or schemaparser where to start looking for SOX schemas. It's currently set by
defining a system property with the name of
"com.tibco.xml.validation.XMLValidator.SOXSchemaPath".

Method Detail
setPolicy

public void setPolicy(java.lang.String policyName,


java.lang.String policyValue)

isPolicySet

public boolean isPolicySet(java.lang.String policyName)


Get the value of a boolean policy.
getPolicy

public java.lang.String getPolicy(java.lang.String policyName)


Get the string value of a policy (typically SOX_SCHEMA_PATH).

setErrorHandler

public void setErrorHandler(SmSchemaError.Handler errorHandler)


Set the handler for errors encountered when adding a schema.

getErrorHandler

public SmSchemaError.Handler getErrorHandler()


Get the handler for errors encountered when adding a schema.

add

public void add(SmSchema schema,


java.lang.String prefix)
throws SmException
Adds a schema to this schemaSpace. The schema's namespace will be used as its key.
Parameters:
schema - SmSchema to add
prefix - preferred prefix for items in this schema.

add

public void add(SmSchema schema)


throws SmException
Adds a schema to this schemaSpace. The schema's namespace will be used as its key.
Parameters:
schema - SmSchema to add
Throws:
SmException - a schema with this namespace is already present
addXDR

public void addXDR(SmSchema schema,


java.lang.String namespace)
throws SmException
Adds an XDR schema to this schemaSpace. The given namespace URI will be used as the key for
the schema.
Parameters:
schema - SmSchema to add
namespace - namespace URI for the DTD... may be null
Throws:
SmException - a schema with this namespace is already present

addDTD

public void addDTD(SmSchema dtd,


java.lang.String publicId)
throws SmException
Adds a DTD to this schemaSpace. The given public identifier will be used as the key for the DTD.
Parameters:
dtd - SmSchema to add
publicId - public identifier for the DTD... may be null
Throws:
SmException - a DTD with this public identifier is already present

remove

public SmSchema remove(SmSchema schema)


Removes the given schema from the schemaspace.
Parameters:
schema - SmSchema to remove
Returns:
the removed SmSchema, or null if not found
remove

public SmSchema remove(java.lang.String namespace)


Removes the schema for the given namespace from the schemaspace.
Parameters:
namespace - namespace of schema to remove
Returns:
the removed SmSchema, or null if not found

removeDTD

public SmSchema removeDTD(java.lang.String publicId)


Removes the DTD with the given public identifier from the schemaspace.
Parameters:
publicId - public identifier of DTD to remove
Returns:
the removed SmSchema, or null if not found

add

public void add(SmSchemaSpace schemaSpace)


Adds another schemaSpace to this schemaSpace. Useful for sharing common namespace-schema
mappings with multiple documents which each as its owen schemaSpace.
Parameters:
schemaSpace - SmSchemaSpace to share

remove

public boolean remove(SmSchemaSpace schemaSpace)


Removes a shared schemaSpace from this schemaSpace.
Parameters:
schemaSpace - SmSchemaSpace to remove
Returns:
true if removed, false if not found
get

public SmSchema get(java.lang.String namespace)


Looks up the given namespace and returns the associated schema.
Parameters:
namespace - namespace to get schema for
Returns:
schema corresponding to namespace, or null

getDTD

public SmSchema getDTD(java.lang.String publicId)


Looks up the given public identifier and returns the associated DTD.
Parameters:
publicId - public identifier to get DTD for... may be null
Returns:
DTD corresponding to public identifier, or null

getPreferredPrefix

public java.lang.String getPreferredPrefix(java.lang.String namespace)


Looks up the given namespace and returns the associated prefix. If the namespace is found but has
not prefix, then the result will be the empty string. Thus a null result indicates that the namespace
was not found.
Parameters:
namespace - namespace to get prefix for
Returns:
prefix corresponding to namespace, or null

schemaIterator

public java.util.Iterator schemaIterator()


Returns an Iterator over all schemas in this schemaspace. Does not include schemas in included
schemaspaces.
Returns:
Iterator of SmSchema

schemaSpaceIterator

public java.util.Iterator schemaSpaceIterator()


Returns an Iterator over all schemaspaces in this schemaspace.
Returns:
Iterator of SmSchemaSpace

dtdIterator

public java.util.Iterator dtdIterator()


Returns an Iterator over all DTD public identifiers in this schemaspace. (The identifiers are returned
because they are not retrievable from the SmSchemas.)
Returns:
Iterator of public identifier Strings

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.schema
Class SmSupport

java.lang.Object
|
+--com.tibco.xml.schema.SmSupport

public class SmSupport


extends java.lang.Object
SmSupport contains static utility methods.

Constructor Summary
SmSupport()

Method Summary
static void addAllElements(SmSchema schema, SmElement element,
java.util.Set allElements)

static void addAllElements(SmSchema schema, SmType type,


java.util.Set allElements)

static void addFirstTerms(java.util.List followers,


SmParticleTerm term)

static boolean addPotentialFollowers(java.util.List followers,


SmModelGroup model, java.lang.String namespace,
java.lang.String name)
Determines possible followers of a node of the given name and
namespace.
static boolean allowsText(SmDataComponent component)
Returns whether this type of this component allows text content.
static boolean allowsText(SmType type)
Returns whether this type allows text content.
static boolean attributeIsPredefined(java.lang.String namespace,
java.lang.String attrName, SmFlavor flavor)
static void copyPolicies(SmSchemaSpace from, SmSchemaSpace to)

static boolean equalReferences(SmComponent a, SmComponent b)


Returns whether two components have the same name and
namespace.
static boolean equalStrings(java.lang.String a,
java.lang.String b)

static SmModelGroup extractExtendedParticles(SmModelGroup base,


SmModelGroup ext)
Extract the particles which are extended to a base content model
static void extractModelContent(SmModelGroup model,
java.util.List modelContent)
Walks the content model tree and fills in the given List with the
SmDataComponents in the model.
static SmAttributeGroup extractRestrictingAttributes(SmAttributeGroup base,
SmAttributeGroup res)
Extract the particles which are restricted from a base content model
protected static void gatherDescendentInfo(SmSchema schema,
java.util.Map descendentMap,
java.util.Map localDescendentMap,
SmElement topElement, SmElement element)

protected static void gatherDescendentInfo(SmSchema schema,


java.util.Map descendentMap,
java.util.Map localDescendentMap,
SmElement topElement, SmModelGroup modelGroup)

protected static void gatherDescendentInfo(SmSchema schema,


java.util.Map descendentMap,
java.util.Map localDescendentMap,
SmElement topElement, SmType type)

static java.util.Iterator getAllElements(SmSchema schema)


Return iterator of all elements defined in the schema, local and
global.
static SmAttribute getAttribute(SmSchema schema,
java.lang.String name)

static SmAttribute getAttributeInContext(SmType context,


java.lang.String namespace, java.lang.String name)
name MAY be prefixed by "@"
static java.util.Iterator getAttributes(SmSchema schema)
static SmElement getBestRoot(SmSchema schema)
Returns the "best" root element for the given schema.
static SmDataComponent getComponentByPath(SmSchema schema,
java.lang.String path)

static SmDataComponent getComponentInContext(SmType context,


java.lang.String namespace, java.lang.String name)
use "@" to prefix the name of an attribute
static java.lang.String getContentString(SmType type)
Creates a human-friendy representation of the type.
static SmElement getElement(SmSchema schema, java.lang.String name)

static SmElement getElementInContext(SmType context,


java.lang.String namespace, java.lang.String name)

static java.util.Iterator getElements(SmSchema schema)

static java.util.List getEnumerationValues(SmType type)


Determines to enumeration values for the given node and returns
them as a list of strings.
static SmIdentityConstraint getIdentityConstraint(SmSchema schema,
java.lang.String name)

static java.util.Iterator getIdentityConstraints(SmSchema schema)

static java.util.List getInstanceUsers(SmSchema schema, SmComponent c)


Returns components that "use" the given component in the instance
sense.
static SmType getListTypeMember(SmType type)
Returns the member type of a list type, or null if not a list type.
static SmMetaForeignAttribute getMetaForeignAttribute(SmComponent comp,
java.lang.String ns, java.lang.String name)
Return the SmMetaForeignAttribute with the given namespace and
name from the given component
static java.lang.String getModelCompositorSymbol(int compositor)
Returns the compositor symbol for the given model group compositor
value, which must be one of the SmModelGroup constants ALL, CHOICE,
or SEQUENCE.
static java.util.List getModelContentList(SmModelGroup model)
Given a model group, returns a list of SmDataComponent particle
terms in the model group.
static SmModelGroup getModelGroup(SmSchema schema,
java.lang.String name)
static java.util.Iterator getModelGroups(SmSchema schema)

static java.lang.String getModelString(SmModelGroup model)


Builds a DTD-like string representation of the given model group.
static SmType getNativeType(SmType type)
Returns the closest ancestor type which is a native type.
static SmNotation getNotation(SmSchema schema, java.lang.String name)

static java.util.Iterator getNotations(SmSchema schema)

static java.lang.String getParticleOccurrenceString(SmParticle p)


Returns a string representation for the occurrence values of the given
group particle.
static java.util.List getPotentialFollowers(SmModelGroup model,
java.lang.String namespace, java.lang.String name)
Determines possible followers of a node of the given name and
namespace.
static java.util.Iterator getRootCandidates(SmSchema schema)
Returns Iterator of SmElement definition that are not referenced by
any other element definition, unless all referencing definitions are
themselves referenced the the referenced element.
protected static int getRootScore(SmSchema schema, SmElement element)
return a score for this element name as root.
static SmType getType(SmSchema schema, java.lang.String name)

static java.util.Iterator getTypes(SmSchema schema)

static boolean isAnyContent(SmType type)


Returns whether this type is a DTD anyType in order to determine if
the content model of the element may be DTD 'ANY'
static boolean isBeCaseInsensitive(SmSchema schema)
this was put in because ORACLE wanted the validator to do case
insensitive compares for enumerated values.
static boolean isDataComponentLocal(SmDataComponent comp)

static boolean isElementOnlyContent(SmType type)


Returns whether this type requires only element content.
static boolean isEmptyContent(SmDataComponent component)
Returns whether this component requires empty element content.
static boolean isEmptyContent(SmType type)
Returns whether this type requires empty element content.
static boolean isGlobalComponent(SmSchema schema,
SmComponent component)
Returns whether the given component is a global component in the
given schema.
static boolean isInstanceUserOf(SmComponent user, SmComponent c)

static boolean isListDataType(SmType type)

static boolean isTextOnlyContent(SmDataComponent component)


Returns whether this component requires text only content.
static boolean isTextOnlyContent(SmType type)
Returns whether this type requires text only content.
static java.lang.String makeExpandedName(SmComponent comp)

static boolean matches(SmDataComponent item, SmParticleTerm term)


Determines whether the given element or attribute (and type) matches
the term.
static boolean matches(SmParticleTerm term,
java.lang.String namespace, java.lang.String name)
Determines whether the given term matches the given namespace and
name.
static boolean nameEquals(SmComponent a,
java.lang.String namespace, java.lang.String name)
Returns whether the given component has the same name and
namespace as the given values.
static boolean namespacesSupported(SmSchemaSpace schemas)

static boolean substitutesFor(SmElement element, SmElement target)


Returns true when the first element can be substituted for the second.
static boolean typeIsID(SmType type)
Returns whether this type extends an ID type
static boolean typeIsIDREF(SmType type)
Returns whether this type extends an IDREF type
static java.lang.String xpath2Str(com.tibco.sax.PrefixMap prefMap,
SmIdentityConstraint.Path xpath)
Convert an SmIdentityConstraint.Path to an xpath expression

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait

Constructor Detail
SmSupport

public SmSupport()

Method Detail
getElements

public static java.util.Iterator getElements(SmSchema schema)

getElement

public static SmElement getElement(SmSchema schema,


java.lang.String name)

getAttributes

public static java.util.Iterator getAttributes(SmSchema schema)

getAttribute

public static SmAttribute getAttribute(SmSchema schema,


java.lang.String name)

getTypes

public static java.util.Iterator getTypes(SmSchema schema)

getType

public static SmType getType(SmSchema schema,


java.lang.String name)

getNotations

public static java.util.Iterator getNotations(SmSchema schema)


getNotation

public static SmNotation getNotation(SmSchema schema,


java.lang.String name)

getModelGroups

public static java.util.Iterator getModelGroups(SmSchema schema)

getModelGroup

public static SmModelGroup getModelGroup(SmSchema schema,


java.lang.String name)

getIdentityConstraints

public static java.util.Iterator getIdentityConstraints(SmSchema schema)

getIdentityConstraint

public static SmIdentityConstraint getIdentityConstraint(SmSchema schema,


java.lang.String name)

getModelCompositorSymbol

public static java.lang.String getModelCompositorSymbol(int compositor)


Returns the compositor symbol for the given model group compositor value, which must be one of the
SmModelGroup constants ALL, CHOICE, or SEQUENCE. Returns null if an invalid value is provided.
Parameters:
compositor - the compositor constant
Returns:
one of '&', '|', or ',' or null
See Also:
SmModelGroup.getCompositor()

equalReferences

public static boolean equalReferences(SmComponent a,


SmComponent b)
Returns whether two components have the same name and namespace. Neither component can be null.
Parameters:
a - a non-null SmComponent
b - a non-null SmComponent
Returns:
true if the names and namespaces match

nameEquals

public static boolean nameEquals(SmComponent a,


java.lang.String namespace,
java.lang.String name)
Returns whether the given component has the same name and namespace as the given values.
Parameters:
a - a non-null SmComponent
namespace - a namespace string, or null
name - a local name
Returns:
true if the names and namespaces match

equalStrings

public static boolean equalStrings(java.lang.String a,


java.lang.String b)

isGlobalComponent

public static boolean isGlobalComponent(SmSchema schema,


SmComponent component)
Returns whether the given component is a global component in the given schema.

getRootCandidates

public static java.util.Iterator getRootCandidates(SmSchema schema)


Returns Iterator of SmElement definition that are not referenced by any other element definition, unless all
referencing definitions are themselves referenced the the referenced element.
Several implementations were tested for speed. See version 1.38 in CVS if interested.
Parameters:
schema - a schema model schema
Returns:
List of SmElement, possibly empty
gatherDescendentInfo

protected static void gatherDescendentInfo(SmSchema schema,


java.util.Map descendentMap,
java.util.Map localDescendentMap,
SmElement topElement,
SmElement element)

gatherDescendentInfo

protected static void gatherDescendentInfo(SmSchema schema,


java.util.Map descendentMap,
java.util.Map localDescendentMap,
SmElement topElement,
SmType type)

gatherDescendentInfo

protected static void gatherDescendentInfo(SmSchema schema,


java.util.Map descendentMap,
java.util.Map localDescendentMap,
SmElement topElement,
SmModelGroup modelGroup)

getRootScore

protected static int getRootScore(SmSchema schema,


SmElement element)
return a score for this element name as root. currently score is the number of leaf terms.

getBestRoot

public static SmElement getBestRoot(SmSchema schema)


Returns the "best" root element for the given schema. Any element that is not used in the content of another element
qualifies as a "candidate root". Of the candidates, the best one is the one with the most leaves in its content model.
(That weeds out orphaned elements that are left in a schema.) If there are no candidates, the first element declared is
returned.
Parameters:
schema - a SmSchema, may be null
Returns:
an SmElement or null if schema is null or the schema has no elements
getListTypeMember

public static SmType getListTypeMember(SmType type)


Returns the member type of a list type, or null if not a list type.

getNativeType

public static SmType getNativeType(SmType type)


Returns the closest ancestor type which is a native type.
Parameters:
type - simple type
Returns:
type or null

typeIsID

public static boolean typeIsID(SmType type)


Returns whether this type extends an ID type

typeIsIDREF

public static boolean typeIsIDREF(SmType type)


Returns whether this type extends an IDREF type

isAnyContent

public static boolean isAnyContent(SmType type)


Returns whether this type is a DTD anyType in order to determine if the content model of the element may be DTD
'ANY'
Parameters:
type - any type
Returns:
true if the DTD anyType (NOT if based on it)

isTextOnlyContent

public static boolean isTextOnlyContent(SmType type)


Returns whether this type requires text only content. That is, no element content. This property is not related to
attribute content.
Parameters:
type - any type
Returns:
true if text-only content

isEmptyContent

public static boolean isEmptyContent(SmType type)


Returns whether this type requires empty element content. That is, no element content and no text content. This
property is not related to attribute content.
Parameters:
type - any type
Returns:
true if empty content

isElementOnlyContent

public static boolean isElementOnlyContent(SmType type)


Returns whether this type requires only element content. That is, element content and no text content. This property is
not related to attribute content.
Parameters:
type - any type
Returns:
true if element content only

isTextOnlyContent

public static boolean isTextOnlyContent(SmDataComponent component)


Returns whether this component requires text only content. That is, no element content. This property is not related to
attribute content.
Parameters:
component - any data component
Returns:
true if text-only content

isEmptyContent

public static boolean isEmptyContent(SmDataComponent component)


Returns whether this component requires empty element content. That is, no element content and no text content.
This property is not related to attribute content.
Parameters:
component - any data component
Returns:
true if empty content

allowsText

public static boolean allowsText(SmType type)


Returns whether this type allows text content.
Parameters:
type - any type, non-null
Returns:
true if the type has either text or mixed content.

allowsText

public static boolean allowsText(SmDataComponent component)


Returns whether this type of this component allows text content.
Parameters:
type - any data component, non-null
Returns:
true if the type is non-null and allows text.

getEnumerationValues

public static java.util.List getEnumerationValues(SmType type)


Determines to enumeration values for the given node and returns them as a list of strings.
Parameters:
node - an element or attribute node
Returns:
a List of String, never null

getContentString

public static java.lang.String getContentString(SmType type)


Creates a human-friendy representation of the type. Shows a DTD-like content model if there is one, ignoring
namespace. Otherwise shows the type name or base type name if they exist. Otherwise returns the empty string.
Parameters:
type - any SmType
Returns:
a human readable string suitable for UI, never null

getModelString

public static java.lang.String getModelString(SmModelGroup model)


Builds a DTD-like string representation of the given model group. There will always be one outer level of
parentheses.
Parameters:
model - any non-null model group
Returns:
a string representation of the model group

getParticleOccurrenceString

public static java.lang.String getParticleOccurrenceString(SmParticle p)


Returns a string representation for the occurrence values of the given group particle. Besides the normal DTD
symbols +, ?, and *, will return {x,y} for other occurrence ranges. y may be "unbounded". The entire result will be
empty if the occurrence is min=1 and max=1.
Parameters:
p - a non-null particle
Returns:
the occurrence string, possibly empty.

getModelContentList

public static java.util.List getModelContentList(SmModelGroup model)


Given a model group, returns a list of SmDataComponent particle terms in the model group.
Parameters:
model - any model group, possibly empty (but not null)
Returns:
a List of SmDataComponent

extractModelContent

public static void extractModelContent(SmModelGroup model,


java.util.List modelContent)
Walks the content model tree and fills in the given List with the SmDataComponents in the model. Basically, has the
effect of flattening the tree. Does not attempt to eliminate duplicates (not sure if it would be worth the trouble).
Parameters:
model - any model group, possible empty
modelContent - the list to accumulate SmDataComponents
addPotentialFollowers

public static boolean addPotentialFollowers(java.util.List followers,


SmModelGroup model,
java.lang.String namespace,
java.lang.String name)
Determines possible followers of a node of the given name and namespace. If name is null, then determines possible
first items.
NOTE: This is a very rough approximation. The Validator is needed for correct behavior.
Parameters:
followers -
model -
namespace -
name -
Returns:
true if the last term of the model matches the name and namespace

addFirstTerms

public static void addFirstTerms(java.util.List followers,


SmParticleTerm term)

matches

public static boolean matches(SmDataComponent item,


SmParticleTerm term)
Determines whether the given element or attribute (and type) matches the term. Checks first identity, then
substitution, then wildcard (i.e., orders comparisons by cost).
Parameters:
item - the SmElement or SmAttribute
term - the SmParticleTerm to be matched

substitutesFor

public static boolean substitutesFor(SmElement element,


SmElement target)
Returns true when the first element can be substituted for the second. That is, the first element can appear in an
instance document where the schema requires the second element. Both elements may be the same, in which case the
function will return "true".
matches

public static boolean matches(SmParticleTerm term,


java.lang.String namespace,
java.lang.String name)
Determines whether the given term matches the given namespace and name. Always false if the term is a model
group.
Parameters:
term -
namespace -
name -
Returns:
true if the term is not a model group and matches

getPotentialFollowers

public static java.util.List getPotentialFollowers(SmModelGroup model,


java.lang.String namespace,
java.lang.String name)
Determines possible followers of a node of the given name and namespace. If name is null, then determines possible
first items.
Parameters:
model -
namespace -
name -
Returns:
a List of expanded names

makeExpandedName

public static java.lang.String makeExpandedName(SmComponent comp)

getInstanceUsers

public static java.util.List getInstanceUsers(SmSchema schema,


SmComponent c)
Returns components that "use" the given component in the instance sense. Attributes can use a type. Elements can
use a type. Type can use attributes and elements.
This method has to search the entire schema, so if you need to call it often, you should cache the recent results.
Parameters:
schema -
c-
Returns:
a List of SmComponent

isInstanceUserOf

public static boolean isInstanceUserOf(SmComponent user,


SmComponent c)

getAllElements

public static java.util.Iterator getAllElements(SmSchema schema)


Return iterator of all elements defined in the schema, local and global. The elements are provided in no particular
order.
Parameters:
schema - a SmSchema
Returns:
Iterator of SmElement

addAllElements

public static void addAllElements(SmSchema schema,


SmType type,
java.util.Set allElements)

addAllElements

public static void addAllElements(SmSchema schema,


SmElement element,
java.util.Set allElements)

namespacesSupported

public static boolean namespacesSupported(SmSchemaSpace schemas)

attributeIsPredefined

public static boolean attributeIsPredefined(java.lang.String namespace,


java.lang.String attrName,
SmFlavor flavor)
isBeCaseInsensitive

public static final boolean isBeCaseInsensitive(SmSchema schema)


this was put in because ORACLE wanted the validator to do case insensitive compares for enumerated values.

isListDataType

public static final boolean isListDataType(SmType type)


Returns:
whether this type is a list type (maybe through inheritance)

copyPolicies

public static void copyPolicies(SmSchemaSpace from,


SmSchemaSpace to)

getComponentInContext

public static SmDataComponent getComponentInContext(SmType context,


java.lang.String namespace,
java.lang.String name)
use "@" to prefix the name of an attribute

getElementInContext

public static SmElement getElementInContext(SmType context,


java.lang.String namespace,
java.lang.String name)

getAttributeInContext

public static SmAttribute getAttributeInContext(SmType context,


java.lang.String namespace,
java.lang.String name)
name MAY be prefixed by "@"
getComponentByPath

public static SmDataComponent getComponentByPath(SmSchema schema,


java.lang.String path)
throws SmException

isDataComponentLocal

public static boolean isDataComponentLocal(SmDataComponent comp)

xpath2Str

public static java.lang.String xpath2Str(com.tibco.sax.PrefixMap prefMap,


SmIdentityConstraint.Path xpath)
Convert an SmIdentityConstraint.Path to an xpath expression
Parameters:
prefMap - PrefixMap mapping prefixes to Namespaces (and vice versa) if null then namespaces rather than
prefixes are used
xpath - SmIdentutyConstraint.Path expression to display

extractExtendedParticles

public static SmModelGroup extractExtendedParticles(SmModelGroup base,


SmModelGroup ext)
Extract the particles which are extended to a base content model
Parameters:
base - the base ModelGroup
ext - the extended ContentModel
isRestriction - true
Returns:
a new content model with only the added particles or ext if base is null

extractRestrictingAttributes

public static SmAttributeGroup extractRestrictingAttributes(SmAttributeGroup base,


SmAttributeGroup res)
Extract the particles which are restricted from a base content model
Parameters:
base - the base AttributeModelGroup
res - the restricting AttributeGroup
Returns:
a new SmAttributeGroup with the restricted particles or res if base is null

getMetaForeignAttribute

public static SmMetaForeignAttribute getMetaForeignAttribute(SmComponent comp,


java.lang.String ns,
java.lang.String name)
Return the SmMetaForeignAttribute with the given namespace and name from the given component
Parameters:
comp - being searched
ns - namespace
name - non-null localname
Returns:
the matching attribute or null
Since:
Build #0018
See Also:
SmMetaForeignAttribute

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.schema
Interface SmType
All Superinterfaces:
SmComponent

public interface SmType


extends SmComponent

SmType represents all types in a schema, both simple types and complex types, though some methods
are only applicable to one or the other.
XSDL makes the differentiation between simple types and complex types, but we use one interface for
all types.
Each simple type has a corresponding "value type", which can be used as a hint for validation and
binding.

Field Summary
static java.lang.String VALUE_TYPE_BINARY

static java.lang.String VALUE_TYPE_BOOLEAN

static java.lang.String VALUE_TYPE_CENTURY

static java.lang.String VALUE_TYPE_CHAR

static java.lang.String VALUE_TYPE_DATE

static java.lang.String VALUE_TYPE_DATETIME

static java.lang.String VALUE_TYPE_DATETIMETZ


static java.lang.String VALUE_TYPE_DECIMAL

static java.lang.String VALUE_TYPE_DURATION

static java.lang.String VALUE_TYPE_FIXED144

static java.lang.String VALUE_TYPE_FLOAT

static java.lang.String VALUE_TYPE_ID

static java.lang.String VALUE_TYPE_INTEGER

static java.lang.String VALUE_TYPE_LIST

static java.lang.String VALUE_TYPE_MONTH

static java.lang.String VALUE_TYPE_NMTOKEN

static java.lang.String VALUE_TYPE_QNAME

static java.lang.String VALUE_TYPE_RECUR_DATE

static java.lang.String VALUE_TYPE_RECUR_DAY

static java.lang.String VALUE_TYPE_RECURRING_DURATION

static java.lang.String VALUE_TYPE_STRING

static java.lang.String VALUE_TYPE_TIME

static java.lang.String VALUE_TYPE_TIME_INSTANCE

static java.lang.String VALUE_TYPE_TIME_PERIOD


static java.lang.String VALUE_TYPE_TIMETZ

static java.lang.String VALUE_TYPE_UNION

static java.lang.String VALUE_TYPE_URI

static java.lang.String VALUE_TYPE_YEAR

Fields inherited from interface com.tibco.xml.schema.SmComponent


ALL_TYPES, ATTRIBUTE_GROUP_TYPE, ATTRIBUTE_TYPE, ELEMENT_TYPE,
EXTENSION, IDENTITY_CONSTRAINT_TYPE, META_FOREIGN_ATT_TYPE,
MODEL_GROUP_TYPE, NOTATION_TYPE, NUM_COMPONENT_TYPES,
NUM_GLOBAL_COMPONENT_TYPES, PARTICLE_TYPE, RESTRICTION, SUBSTITUTION,
TYPE_FACET_TYPE, TYPE_TYPE, WILDCARD_TYPE

Method Summary
int getAllowedDerivation()
Returns the kinds of derivations allowed from this type.
int getAllowedSubstitution()
Returns the set of derivation methods that may be used for elements
that can be substituted for element's of this type in the instance document.
SmAttributeGroup getAttributeModel()
Returns a SmAttributeGroup which represents the attributes for this
element.
SmType getBaseType()
Returns the base type of this type.
SmModelGroup getContentModel()
Returns the model group for the element content, or null for simple
content.
int getDerivationMethod()
Returns the derivation method of this type from its base type.
SmTypeFacet getFacet(java.lang.String name)
Returns the first facet with the given facet name.
java.util.Iterator getFacets()
Returns an interator of facets that apply to this simple type.
java.util.Iterator getMemberTypes()
Returns the member types for union and list simple types.
java.lang.String getValueType()
Returns one of the VALUE_TYPE_xxx constants, which indicates the
ultimate simple value type of this simple type, or null if this is not a simple
type.
boolean isAbstract()
Returns whether object of this type can be instantiated.
boolean isMixedContent()
Returns the complex content can have text intermixed with the
elements.
boolean isNative()
Returns whether this type is a native simple type for the owning
schema's flavor.
boolean isOnAttributesOnly()
Some types may be assigned on attribute types only, XSD defines it for
ID, IDREF, etc.

Methods inherited from interface com.tibco.xml.schema.SmComponent


accept, checkErrors, getComponentType, getMetaForeignAttributes,
getName, getNamespace, getSchema

Field Detail
VALUE_TYPE_STRING

public static final java.lang.String VALUE_TYPE_STRING

VALUE_TYPE_INTEGER

public static final java.lang.String VALUE_TYPE_INTEGER


VALUE_TYPE_DECIMAL

public static final java.lang.String VALUE_TYPE_DECIMAL

VALUE_TYPE_FLOAT

public static final java.lang.String VALUE_TYPE_FLOAT

VALUE_TYPE_BOOLEAN

public static final java.lang.String VALUE_TYPE_BOOLEAN

VALUE_TYPE_DATE

public static final java.lang.String VALUE_TYPE_DATE

VALUE_TYPE_DATETIME

public static final java.lang.String VALUE_TYPE_DATETIME

VALUE_TYPE_TIME

public static final java.lang.String VALUE_TYPE_TIME

VALUE_TYPE_DURATION

public static final java.lang.String VALUE_TYPE_DURATION


VALUE_TYPE_BINARY

public static final java.lang.String VALUE_TYPE_BINARY

VALUE_TYPE_URI

public static final java.lang.String VALUE_TYPE_URI

VALUE_TYPE_LIST

public static final java.lang.String VALUE_TYPE_LIST

VALUE_TYPE_UNION

public static final java.lang.String VALUE_TYPE_UNION

VALUE_TYPE_CHAR

public static final java.lang.String VALUE_TYPE_CHAR

VALUE_TYPE_FIXED144

public static final java.lang.String VALUE_TYPE_FIXED144

VALUE_TYPE_DATETIMETZ

public static final java.lang.String VALUE_TYPE_DATETIMETZ


VALUE_TYPE_TIMETZ

public static final java.lang.String VALUE_TYPE_TIMETZ

VALUE_TYPE_MONTH

public static final java.lang.String VALUE_TYPE_MONTH

VALUE_TYPE_YEAR

public static final java.lang.String VALUE_TYPE_YEAR

VALUE_TYPE_CENTURY

public static final java.lang.String VALUE_TYPE_CENTURY

VALUE_TYPE_RECUR_DATE

public static final java.lang.String VALUE_TYPE_RECUR_DATE

VALUE_TYPE_RECUR_DAY

public static final java.lang.String VALUE_TYPE_RECUR_DAY

VALUE_TYPE_TIME_PERIOD

public static final java.lang.String VALUE_TYPE_TIME_PERIOD


VALUE_TYPE_TIME_INSTANCE

public static final java.lang.String VALUE_TYPE_TIME_INSTANCE

VALUE_TYPE_RECURRING_DURATION

public static final java.lang.String VALUE_TYPE_RECURRING_DURATION

VALUE_TYPE_NMTOKEN

public static final java.lang.String VALUE_TYPE_NMTOKEN

VALUE_TYPE_ID

public static final java.lang.String VALUE_TYPE_ID

VALUE_TYPE_QNAME

public static final java.lang.String VALUE_TYPE_QNAME

Method Detail
getBaseType

public SmType getBaseType()


Returns the base type of this type. Returns null if there is no base type.
Returns:
a SmType or null

getValueType

public java.lang.String getValueType()


Returns one of the VALUE_TYPE_xxx constants, which indicates the ultimate simple value type
of this simple type, or null if this is not a simple type.
Returns:
one of the VALUE_TYPE_xxx constants or null

getDerivationMethod

public int getDerivationMethod()


Returns the derivation method of this type from its base type. If there is no base type, the type is
considered to be an extension of the null type, also known as "anyType" or "ur-type".
Returns:
EXTENSION or RESTRICTION

getAllowedSubstitution

public int getAllowedSubstitution()


Returns the set of derivation methods that may be used for elements that can be substituted for
element's of this type in the instance document.
This is an instance constraint.
Returns:
a subset of {RESTRICTION, EXTENSION}, possibly 0

getAllowedDerivation

public int getAllowedDerivation()


Returns the kinds of derivations allowed from this type. Returns 0 if no derivations are allowed.
This is a schema-time constraint on the types, so it may not even be needed in this API.
Returns:
subset of {RESTRICTION, EXTENSION}, possibly 0

isMixedContent

public boolean isMixedContent()


Returns the complex content can have text intermixed with the elements.
Returns:
true if mixed content

getContentModel

public SmModelGroup getContentModel()


Returns the model group for the element content, or null for simple content. The translation from
XML Authority content model terminology is as follows:
❍ TEXT - null model, simple type

❍ EMPTY - model with no particles

❍ ANY - model with a single repeating wildcard term

❍ MIXED - model with particles and isMixed being true

❍ ELEMENT/COMPLEX - a model with particles

Returns:
a SmModelGroup or null.

getAttributeModel

public SmAttributeGroup getAttributeModel()


Returns a SmAttributeGroup which represents the attributes for this element. The group will be an
ALL group consisting solely of attribute particles.
Returns:
a SmModelGroup or null

isNative

public boolean isNative()


Returns whether this type is a native simple type for the owning schema's flavor.
Returns:
is native
isAbstract

public boolean isAbstract()


Returns whether object of this type can be instantiated. An abstract type can only be used to
deriving subtypes.
Returns:
is abstract

getFacets

public java.util.Iterator getFacets()


Returns an interator of facets that apply to this simple type.
Returns:
an Iterator of SmTypeFacet, never null

getFacet

public SmTypeFacet getFacet(java.lang.String name)


Returns the first facet with the given facet name. Returns null is there is no facet by that name.
For most facets, there can be only one per type, however, some, such as Pattern can be duplicated.
For these, the caller must use the getFacets method.
Parameters:
name -
Returns:
a SmTypeFacet or null

getMemberTypes

public java.util.Iterator getMemberTypes()


Returns the member types for union and list simple types. For list types, there will be a single
member type.
Returns:
an Iterator of SmType.
isOnAttributesOnly

public boolean isOnAttributesOnly()


Some types may be assigned on attribute types only, XSD defines it for ID, IDREF, etc.
http://www.w3.org/TR/xmlschema-2/#ID
Returns:
true if this type is assignable only for text content of attributes

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.schema
Interface SmTypeFacet
All Superinterfaces:
SmComponent

public interface SmTypeFacet


extends SmComponent

SmTypeFacet represents data-type facets. A facet is basically a name/value pair, but since the name is
inherited from SmComponent, only the value methods are present in this interface.

Field Summary
static java.lang.String FACET_CR_FRACTIONDIGITS_NAME

static java.lang.String FACET_CR_TOTALDIGITS_NAME

static java.lang.String FACET_DECIMALS_NAME

static java.lang.String FACET_DIGITS_NAME

static java.lang.String FACET_DURATION_NAME

static java.lang.String FACET_ENCODING_NAME

static java.lang.String FACET_ENUM_NAME


currently known and support facets
static java.lang.String FACET_FRACTIONDIGITS_NAME

static java.lang.String FACET_LENGTH_NAME


static java.lang.String FACET_MAX_NAME

static java.lang.String FACET_MAXEX_FLG_NAME

static java.lang.String FACET_MAXEX_NAME

static java.lang.String FACET_MAXIN_NAME

static java.lang.String FACET_MAXLENGTH_NAME

static java.lang.String FACET_MIN_NAME

static java.lang.String FACET_MINEX_FLG_NAME

static java.lang.String FACET_MINEX_NAME

static java.lang.String FACET_MININ_NAME

static java.lang.String FACET_MINLENGTH_NAME

static java.lang.String FACET_PATTERN_NAME

static java.lang.String FACET_TOTALDIGITS_NAME

Fields inherited from interface com.tibco.xml.schema.SmComponent


ALL_TYPES, ATTRIBUTE_GROUP_TYPE, ATTRIBUTE_TYPE, ELEMENT_TYPE,
EXTENSION, IDENTITY_CONSTRAINT_TYPE, META_FOREIGN_ATT_TYPE,
MODEL_GROUP_TYPE, NOTATION_TYPE, NUM_COMPONENT_TYPES,
NUM_GLOBAL_COMPONENT_TYPES, PARTICLE_TYPE, RESTRICTION, SUBSTITUTION,
TYPE_FACET_TYPE, TYPE_TYPE, WILDCARD_TYPE

Method Summary
java.lang.String getValue()
Returns the facet value as a String.
boolean isFixed()
Returns whether the value of this facet is fixed.

Methods inherited from interface com.tibco.xml.schema.SmComponent


accept, checkErrors, getComponentType, getMetaForeignAttributes,
getName, getNamespace, getSchema

Field Detail
FACET_ENUM_NAME

public static final java.lang.String FACET_ENUM_NAME


currently known and support facets

FACET_MAX_NAME

public static final java.lang.String FACET_MAX_NAME

FACET_MIN_NAME

public static final java.lang.String FACET_MIN_NAME

FACET_MAXEX_FLG_NAME

public static final java.lang.String FACET_MAXEX_FLG_NAME


FACET_MINEX_FLG_NAME

public static final java.lang.String FACET_MINEX_FLG_NAME

FACET_DIGITS_NAME

public static final java.lang.String FACET_DIGITS_NAME

FACET_DECIMALS_NAME

public static final java.lang.String FACET_DECIMALS_NAME

FACET_MAXLENGTH_NAME

public static final java.lang.String FACET_MAXLENGTH_NAME

FACET_MAXEX_NAME

public static final java.lang.String FACET_MAXEX_NAME

FACET_MINEX_NAME

public static final java.lang.String FACET_MINEX_NAME

FACET_MAXIN_NAME

public static final java.lang.String FACET_MAXIN_NAME


FACET_MININ_NAME

public static final java.lang.String FACET_MININ_NAME

FACET_DURATION_NAME

public static final java.lang.String FACET_DURATION_NAME

FACET_LENGTH_NAME

public static final java.lang.String FACET_LENGTH_NAME

FACET_MINLENGTH_NAME

public static final java.lang.String FACET_MINLENGTH_NAME

FACET_ENCODING_NAME

public static final java.lang.String FACET_ENCODING_NAME

FACET_PATTERN_NAME

public static final java.lang.String FACET_PATTERN_NAME

FACET_TOTALDIGITS_NAME

public static final java.lang.String FACET_TOTALDIGITS_NAME


FACET_FRACTIONDIGITS_NAME

public static final java.lang.String FACET_FRACTIONDIGITS_NAME

FACET_CR_TOTALDIGITS_NAME

public static final java.lang.String FACET_CR_TOTALDIGITS_NAME

FACET_CR_FRACTIONDIGITS_NAME

public static final java.lang.String FACET_CR_FRACTIONDIGITS_NAME

Method Detail
getValue

public java.lang.String getValue()


Returns the facet value as a String.

isFixed

public boolean isFixed()


Returns whether the value of this facet is fixed.
Returns:
false for most cases, especially for enumeration and pattern

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.schema
Interface SmVisitor
All Known Implementing Classes:
SmVisitor.Default

public interface SmVisitor

Inner Class Summary


static class SmVisitor.Default

static class SmVisitor.Failure

static class SmVisitor.Result


Result of a "search" visit.
static class SmVisitor.Success

Method Summary
void tryVisit(SmComponent component)
Visit an anonymous component or schedule a visit to a named component.
void visitAttribute(SmAttribute attribute)

void visitAttributeGroup(SmAttributeGroup attrGroup)

void visitComponent(SmComponent component)

void visitComponentRef(SmComponent component)


Visit a named component as a reference.
void visitDataComponent(SmDataComponent component)

void visitElement(SmElement element)

void visitIdentityConstraint(SmIdentityConstraint constraint)

void visitMetaForeignAttribute(SmMetaForeignAttribute mfa)

void visitModelGroup(SmModelGroup group)

void visitNotation(SmNotation notation)

void visitParticle(SmParticle particle)

void visitParticleTerm(SmParticleTerm term)

void visitSchema(SmSchema schema)

void visitType(SmType type)

void visitTypeFacet(SmTypeFacet facet)

void visitWildcard(SmWildcard wildcard)

Method Detail
visitSchema

public void visitSchema(SmSchema schema)


throws SmException
tryVisit

public void tryVisit(SmComponent component)


throws SmException
Visit an anonymous component or schedule a visit to a named component. Implementations are
free to visit named components immediately, but care must be taken to avoid infinite recursion on
loops in the graph.
Parameters:
component - SmComponent
Throws:
SmException - when something goes wrong

visitComponentRef

public void visitComponentRef(SmComponent component)


throws SmException
Visit a named component as a reference.

visitElement

public void visitElement(SmElement element)


throws SmException

visitAttribute

public void visitAttribute(SmAttribute attribute)


throws SmException

visitDataComponent

public void visitDataComponent(SmDataComponent component)


throws SmException
visitComponent

public void visitComponent(SmComponent component)


throws SmException

visitParticleTerm

public void visitParticleTerm(SmParticleTerm term)


throws SmException

visitParticle

public void visitParticle(SmParticle particle)


throws SmException

visitModelGroup

public void visitModelGroup(SmModelGroup group)


throws SmException

visitWildcard

public void visitWildcard(SmWildcard wildcard)


throws SmException

visitAttributeGroup

public void visitAttributeGroup(SmAttributeGroup attrGroup)


throws SmException
visitType

public void visitType(SmType type)


throws SmException

visitTypeFacet

public void visitTypeFacet(SmTypeFacet facet)


throws SmException

visitIdentityConstraint

public void visitIdentityConstraint(SmIdentityConstraint constraint)


throws SmException

visitNotation

public void visitNotation(SmNotation notation)


throws SmException

visitMetaForeignAttribute

public void visitMetaForeignAttribute(SmMetaForeignAttribute mfa)


throws SmException

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.schema
Class SmVisitor.Default

java.lang.Object
|
+--com.tibco.xml.schema.SmVisitor.Default
All Implemented Interfaces:
SmVisitor
Enclosing class:
SmVisitor

public static class SmVisitor.Default


extends java.lang.Object
implements SmVisitor

Inner classes inherited from class com.tibco.xml.schema.SmVisitor


SmVisitor.Default, SmVisitor.Failure, SmVisitor.Result,
SmVisitor.Success

Constructor Summary
SmVisitor.Default()

Method Summary
protected scheduleVisit(SmComponent namedComponent)
void

protected tryVisit(java.util.Iterator components)


void
void tryVisit(SmComponent component)
Default implementation of tryVisit only visits anonymous components immediately,
and schedules at most one visit of each named component.
void visitAttribute(SmAttribute attribute)

void visitAttributeGroup(SmAttributeGroup attrGroup)

void visitComponent(SmComponent component)

void visitComponentRef(SmComponent component)


Visit a named component as a reference.
void visitDataComponent(SmDataComponent component)

void visitElement(SmElement element)

void visitIdentityConstraint(SmIdentityConstraint constraint)

void visitMetaForeignAttribute(SmMetaForeignAttribute mfa)

void visitModelGroup(SmModelGroup group)

void visitNotation(SmNotation notation)

void visitParticle(SmParticle particle)

void visitParticleTerm(SmParticleTerm term)

void visitSchema(SmSchema schema)

void visitType(SmType type)

void visitTypeFacet(SmTypeFacet facet)

void visitWildcard(SmWildcard wildcard)


Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait

Constructor Detail
SmVisitor.Default

public SmVisitor.Default()

Method Detail
visitSchema

public void visitSchema(SmSchema schema)


throws SmException
Specified by:
visitSchema in interface SmVisitor

tryVisit

public void tryVisit(SmComponent component)


throws SmException
Default implementation of tryVisit only visits anonymous components immediately, and schedules
at most one visit of each named component.
Specified by:
tryVisit in interface SmVisitor
Following copied from interface: com.tibco.xml.schema.SmVisitor
Parameters:
component - SmComponent
Throws:
SmException - when something goes wrong
tryVisit

protected void tryVisit(java.util.Iterator components)


throws SmException

scheduleVisit

protected void scheduleVisit(SmComponent namedComponent)

visitComponentRef

public void visitComponentRef(SmComponent component)


throws SmException
Description copied from interface: SmVisitor
Visit a named component as a reference.
Specified by:
visitComponentRef in interface SmVisitor

visitElement

public void visitElement(SmElement element)


throws SmException
Specified by:
visitElement in interface SmVisitor

visitAttribute

public void visitAttribute(SmAttribute attribute)


throws SmException
Specified by:
visitAttribute in interface SmVisitor
visitDataComponent

public void visitDataComponent(SmDataComponent component)


throws SmException
Specified by:
visitDataComponent in interface SmVisitor

visitComponent

public void visitComponent(SmComponent component)


throws SmException
Specified by:
visitComponent in interface SmVisitor

visitParticleTerm

public void visitParticleTerm(SmParticleTerm term)


throws SmException
Specified by:
visitParticleTerm in interface SmVisitor

visitParticle

public void visitParticle(SmParticle particle)


throws SmException
Specified by:
visitParticle in interface SmVisitor

visitModelGroup

public void visitModelGroup(SmModelGroup group)


throws SmException
Specified by:
visitModelGroup in interface SmVisitor

visitWildcard

public void visitWildcard(SmWildcard wildcard)


throws SmException
Specified by:
visitWildcard in interface SmVisitor

visitAttributeGroup

public void visitAttributeGroup(SmAttributeGroup attrGroup)


throws SmException
Specified by:
visitAttributeGroup in interface SmVisitor

visitType

public void visitType(SmType type)


throws SmException
Specified by:
visitType in interface SmVisitor

visitTypeFacet

public void visitTypeFacet(SmTypeFacet facet)


throws SmException
Specified by:
visitTypeFacet in interface SmVisitor
visitIdentityConstraint

public void visitIdentityConstraint(SmIdentityConstraint constraint)


throws SmException
Specified by:
visitIdentityConstraint in interface SmVisitor

visitNotation

public void visitNotation(SmNotation notation)


throws SmException
Specified by:
visitNotation in interface SmVisitor

visitMetaForeignAttribute

public void visitMetaForeignAttribute(SmMetaForeignAttribute mfa)


throws SmException
Specified by:
visitMetaForeignAttribute in interface SmVisitor

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.schema
Class SmVisitor.Failure

java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.tibco.xml.schema.SmException
|
+--com.tibco.xml.schema.SmVisitor.Result
|
+--com.tibco.xml.schema.SmVisitor.Failure
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
SmVisitor

public static class SmVisitor.Failure


extends SmVisitor.Result
See Also:
Serialized Form

Fields inherited from class com.tibco.xml.schema.SmVisitor.Result


m_component

Fields inherited from class com.tibco.xml.schema.SmException


m_culprit

Constructor Summary
SmVisitor.Failure(SmComponent component, java.lang.String message)

Methods inherited from class com.tibco.xml.schema.SmVisitor.Result


getComponent

Methods inherited from class com.tibco.xml.schema.SmException


getCulprit, getMessage

Methods inherited from class java.lang.Throwable


fillInStackTrace, getLocalizedMessage, printStackTrace,
printStackTrace, printStackTrace, toString

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait,
wait, wait

Constructor Detail
SmVisitor.Failure

public SmVisitor.Failure(SmComponent component,


java.lang.String message)

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.schema
Class SmVisitor.Result

java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.tibco.xml.schema.SmException
|
+--com.tibco.xml.schema.SmVisitor.Result
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
SmVisitor.Failure, SmVisitor.Success
Enclosing class:
SmVisitor

public static class SmVisitor.Result


extends SmException

Result of a "search" visit. This and its subclasses Success and Failure are useful for "bailing out" of a
visit or a portion of it.
See Also:
Serialized Form

Field Summary
protected SmComponent m_component

Fields inherited from class com.tibco.xml.schema.SmException


m_culprit

Constructor Summary
SmVisitor.Result(SmComponent component, java.lang.String message)

Method Summary
SmComponent getComponent()

Methods inherited from class com.tibco.xml.schema.SmException


getCulprit, getMessage

Methods inherited from class java.lang.Throwable


fillInStackTrace, getLocalizedMessage, printStackTrace,
printStackTrace, printStackTrace, toString

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait,
wait, wait

Field Detail
m_component

protected SmComponent m_component

Constructor Detail
SmVisitor.Result

public SmVisitor.Result(SmComponent component,


java.lang.String message)

Method Detail
getComponent

public SmComponent getComponent()

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.schema
Class SmVisitor.Success

java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.tibco.xml.schema.SmException
|
+--com.tibco.xml.schema.SmVisitor.Result
|
+--com.tibco.xml.schema.SmVisitor.Success
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
SmVisitor

public static class SmVisitor.Success


extends SmVisitor.Result
See Also:
Serialized Form

Fields inherited from class com.tibco.xml.schema.SmVisitor.Result


m_component

Fields inherited from class com.tibco.xml.schema.SmException


m_culprit

Constructor Summary
SmVisitor.Success(SmComponent component, java.lang.String message)

Methods inherited from class com.tibco.xml.schema.SmVisitor.Result


getComponent

Methods inherited from class com.tibco.xml.schema.SmException


getCulprit, getMessage

Methods inherited from class java.lang.Throwable


fillInStackTrace, getLocalizedMessage, printStackTrace,
printStackTrace, printStackTrace, toString

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait,
wait, wait

Constructor Detail
SmVisitor.Success

public SmVisitor.Success(SmComponent component,


java.lang.String message)

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.schema
Interface SmWildcard
All Superinterfaces:
SmComponent, SmParticleTerm

public interface SmWildcard


extends SmParticleTerm

SmWildcard represent wildcard terms of content models. This interface accommodates variations in the
different schema flavors. There are two lists in the wildcard model: allowed namespaces and prohibited
namespaces. One or both of these must be empty.
An item matches a wildcard:
● if both lists are empty

● otherwise if the item's namespace is in the allowed list

● otherwise if the item's namespace is not in the prohibited list.

Field Summary
static int LAX
Indicates that the processor should try to validate the contents of the element when
it can.
static int SKIP
(The default) indicates that the processor should not try to validate the content
within this element.
static int STRICT
Indicates that the processor should validate the contents of the element according
to the namespace given.

Fields inherited from interface com.tibco.xml.schema.SmComponent


ALL_TYPES, ATTRIBUTE_GROUP_TYPE, ATTRIBUTE_TYPE, ELEMENT_TYPE,
EXTENSION, IDENTITY_CONSTRAINT_TYPE, META_FOREIGN_ATT_TYPE,
MODEL_GROUP_TYPE, NOTATION_TYPE, NUM_COMPONENT_TYPES,
NUM_GLOBAL_COMPONENT_TYPES, PARTICLE_TYPE, RESTRICTION, SUBSTITUTION,
TYPE_FACET_TYPE, TYPE_TYPE, WILDCARD_TYPE

Method Summary
java.util.Iterator getAllowedNamespaces()
Returns a iterator over namespaces that the wildcard matches.
int getProcessContents()
Returns how this term should be processed once it is matches against
this wildcard term.
java.util.Iterator getProhibitedNamespaces()
Returns a iterator over namespaces that the wildcard prohibits.

Methods inherited from interface com.tibco.xml.schema.SmComponent


accept, checkErrors, getComponentType, getMetaForeignAttributes,
getName, getNamespace, getSchema

Field Detail
LAX

public static final int LAX


Indicates that the processor should try to validate the contents of the element when it can.

STRICT

public static final int STRICT


Indicates that the processor should validate the contents of the element according to the namespace
given.
SKIP

public static final int SKIP


(The default) indicates that the processor should not try to validate the content within this element.

Method Detail
getAllowedNamespaces

public java.util.Iterator getAllowedNamespaces()


Returns a iterator over namespaces that the wildcard matches.
Returns:
an Iterator of String

getProhibitedNamespaces

public java.util.Iterator getProhibitedNamespaces()


Returns a iterator over namespaces that the wildcard prohibits.
Returns:
an Iterator of String

getProcessContents

public int getProcessContents()


Returns how this term should be processed once it is matches against this wildcard term.
Returns:
LAX or STRICT or SKIP

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.runtime.data
Interface StringHandler
public interface StringHandler

Method Summary
void process(java.lang.String source)

Method Detail
process

public void process(java.lang.String source)


throws org.xml.sax.SAXException

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.runtime.data
Interface StringSupplier
public interface StringSupplier

Method Summary
void addStringHandler(StringHandler handler)

void removeStringHandler(StringHandler handler)

Method Detail
addStringHandler

public void addStringHandler(StringHandler handler)

removeStringHandler

public void removeStringHandler(StringHandler handler)

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.validation
Class StringValidation

java.lang.Object
|
+--com.tibco.xml.validation.StringValidation

public class StringValidation


extends java.lang.Object
A sample class for use in a simple JNI invocation of XML Validate. This implementation attempts to
provide a very coarse-grained interaction between native code and Java code, to avoid JNI overhead. In
particular, there are no facilities for ErrorHandler or ContentHandler callbacks. Note also that the
InputSource objects have no systemId set, so all schemas and instances must be self-contained. Finally,
actual implementations will probably want to avoid the use of a static SchemaMap and static methods.

Field Summary
protected static SchemaMap schemas

Method Summary
static java.lang.String cacheSchema(java.lang.String schema)
Cached a schema in the static SchemaMap.
static java.lang.String validateXML(java.lang.String input)
Validate an XML document against schemas in the static
SchemaMap.

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait
Field Detail
schemas

protected static SchemaMap schemas

Method Detail
cacheSchema

public static java.lang.String cacheSchema(java.lang.String schema)


throws java.lang.Exception
Cached a schema in the static SchemaMap.
Parameters:
schema - the text of the schema document
Returns:
error message output as text

validateXML

public static java.lang.String validateXML(java.lang.String input)


throws java.lang.Exception
Validate an XML document against schemas in the static SchemaMap.
Parameters:
input - the text of the XML instance document
Returns:
error message output as text

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.channel.typeuri
Interface TypeURIHandler
All Known Implementing Classes:
DefaultAdjunctSupplier, ScriptingValidatorMk1

public interface TypeURIHandler

Method Summary
void setTypeURI(java.lang.String uri)

Method Detail
setTypeURI

public void setTypeURI(java.lang.String uri)


throws org.xml.sax.SAXException,
java.io.IOException

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.channel.typeuri
Interface TypeURISupplier
All Known Implementing Classes:
SAXLocationHintSupplier, Validator_DOM_Remark_ExternalCache

public interface TypeURISupplier

Method Summary
void addTypeURIHandler(TypeURIHandler handler)

void removeTypeURIHandler(TypeURIHandler handler)

Method Detail
addTypeURIHandler

public void addTypeURIHandler(TypeURIHandler handler)

removeTypeURIHandler

public void removeTypeURIHandler(TypeURIHandler handler)

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.data.cursor
Class UndefinedPropertyException

java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--com.tibco.xml.data.cursor.UndefinedPropertyException
All Implemented Interfaces:
java.io.Serializable

public class UndefinedPropertyException


extends java.lang.RuntimeException
See Also:
Serialized Form

Constructor Summary
UndefinedPropertyException(java.lang.String property, short nodeType)

Method Summary
static ExpandedName getNodeTypeName(short nodeType)

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
UndefinedPropertyException

public UndefinedPropertyException(java.lang.String property,


short nodeType)

Method Detail
getNodeTypeName

public static ExpandedName getNodeTypeName(short nodeType)

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.data.primitive
Class UnsupportedAxisException

java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.tibco.xml.data.primitive.UnsupportedAxisException
All Implemented Interfaces:
java.io.Serializable

public class UnsupportedAxisException


extends java.lang.Exception
See Also:
Serialized Form

Constructor Summary
UnsupportedAxisException()

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
UnsupportedAxisException

public UnsupportedAxisException()

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.runtime.data
Interface UriHandler
public interface UriHandler

Method Summary
void process(java.lang.String uri)

Method Detail
process

public void process(java.lang.String uri)


throws org.xml.sax.SAXException

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.runtime.data
Interface UriSupplier
public interface UriSupplier

Method Summary
void addUriHandler(UriHandler handler)

void removeUriHandler(UriHandler handler)

Method Detail
addUriHandler

public void addUriHandler(UriHandler handler)

removeUriHandler

public void removeUriHandler(UriHandler handler)

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.runtime.data
Interface UrlHandler
public interface UrlHandler

Method Summary
void process(java.net.URL url)

Method Detail
process

public void process(java.net.URL url)


throws org.xml.sax.SAXException

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.runtime.data
Interface UrlSupplier
public interface UrlSupplier

Method Summary
void addUrlHandler(UrlHandler handler)

void removeUrlHandler(UrlHandler handler)

Method Detail
addUrlHandler

public void addUrlHandler(UrlHandler handler)

removeUrlHandler

public void removeUrlHandler(UrlHandler handler)

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.validation.helpers
Class ValidatingFilter_ExternalCache

java.lang.Object
|
+--com.tibco.xml.validation.helpers.ValidatingFilter_ExternalCache
All Implemented Interfaces:
PropertyConsumer, org.xml.sax.XMLFilter, org.xml.sax.XMLReader

public class ValidatingFilter_ExternalCache


extends java.lang.Object
implements org.xml.sax.XMLFilter, PropertyConsumer

A SAX validating filter employing an external schema cache.

Constructor Summary
ValidatingFilter_ExternalCache()

ValidatingFilter_ExternalCache(org.xml.sax.XMLReader parent)

Method Summary
org.xml.sax.ContentHandler getContentHandler()

org.xml.sax.DTDHandler getDTDHandler()

org.xml.sax.EntityResolver getEntityResolver()

org.xml.sax.ErrorHandler getErrorHandler()

boolean getFeature(java.lang.String name)

org.xml.sax.XMLReader getParent()
java.lang.Object getProperty(java.lang.String name)

void parse(org.xml.sax.InputSource source)

void parse(java.lang.String s)

void setContentHandler(org.xml.sax.ContentHandler handler)

void setDTDHandler(org.xml.sax.DTDHandler handler)

void setEntityResolver(org.xml.sax.EntityResolver resolver)

void setErrorHandler(org.xml.sax.ErrorHandler handler)

void setFeature(java.lang.String name, boolean value)

void setParent(org.xml.sax.XMLReader parent)

void setProperty(java.lang.String name,


java.lang.Object value)

void setPropertyProvider(PropertyProvider policies)

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait

Constructor Detail
ValidatingFilter_ExternalCache

public ValidatingFilter_ExternalCache(org.xml.sax.XMLReader parent)

ValidatingFilter_ExternalCache

public ValidatingFilter_ExternalCache()
Method Detail
getParent

public org.xml.sax.XMLReader getParent()


Specified by:
getParent in interface org.xml.sax.XMLFilter

setParent

public void setParent(org.xml.sax.XMLReader parent)


Specified by:
setParent in interface org.xml.sax.XMLFilter

parse

public void parse(java.lang.String s)


throws java.io.IOException,
org.xml.sax.SAXException
Specified by:
parse in interface org.xml.sax.XMLReader

parse

public void parse(org.xml.sax.InputSource source)


throws java.io.IOException,
org.xml.sax.SAXException
Specified by:
parse in interface org.xml.sax.XMLReader

getContentHandler

public org.xml.sax.ContentHandler getContentHandler()


Specified by:
getContentHandler in interface org.xml.sax.XMLReader
setContentHandler

public void setContentHandler(org.xml.sax.ContentHandler handler)


Specified by:
setContentHandler in interface org.xml.sax.XMLReader

getDTDHandler

public org.xml.sax.DTDHandler getDTDHandler()


Specified by:
getDTDHandler in interface org.xml.sax.XMLReader

setDTDHandler

public void setDTDHandler(org.xml.sax.DTDHandler handler)


Specified by:
setDTDHandler in interface org.xml.sax.XMLReader

getEntityResolver

public org.xml.sax.EntityResolver getEntityResolver()


Specified by:
getEntityResolver in interface org.xml.sax.XMLReader

setEntityResolver

public void setEntityResolver(org.xml.sax.EntityResolver resolver)


Specified by:
setEntityResolver in interface org.xml.sax.XMLReader

getErrorHandler

public org.xml.sax.ErrorHandler getErrorHandler()


Specified by:
getErrorHandler in interface org.xml.sax.XMLReader
setErrorHandler

public void setErrorHandler(org.xml.sax.ErrorHandler handler)


Specified by:
setErrorHandler in interface org.xml.sax.XMLReader

getFeature

public boolean getFeature(java.lang.String name)


throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
Specified by:
getFeature in interface org.xml.sax.XMLReader

setFeature

public void setFeature(java.lang.String name,


boolean value)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
Specified by:
setFeature in interface org.xml.sax.XMLReader

getProperty

public java.lang.Object getProperty(java.lang.String name)


throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
Specified by:
getProperty in interface org.xml.sax.XMLReader

setProperty

public void setProperty(java.lang.String name,


java.lang.Object value)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
Specified by:
setProperty in interface org.xml.sax.XMLReader
setPropertyProvider

public void setPropertyProvider(PropertyProvider policies)


Specified by:
setPropertyProvider in interface PropertyConsumer

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.validation.helpers
Class ValidatingFilter_InternalCache

java.lang.Object
|
+--com.tibco.xml.validation.helpers.ValidatingFilter_InternalCache
All Implemented Interfaces:
PropertyConsumer, org.xml.sax.XMLFilter, org.xml.sax.XMLReader

public class ValidatingFilter_InternalCache


extends java.lang.Object
implements org.xml.sax.XMLFilter, PropertyConsumer

A SAX validating filter with an internal schema cache.

Constructor Summary
ValidatingFilter_InternalCache()

ValidatingFilter_InternalCache(org.xml.sax.XMLReader parent)

Method Summary
org.xml.sax.ContentHandler getContentHandler()

org.xml.sax.DTDHandler getDTDHandler()

org.xml.sax.EntityResolver getEntityResolver()

org.xml.sax.ErrorHandler getErrorHandler()

boolean getFeature(java.lang.String name)

org.xml.sax.XMLReader getParent()
java.lang.Object getProperty(java.lang.String name)

void parse(org.xml.sax.InputSource source)

void parse(java.lang.String s)

void setContentHandler(org.xml.sax.ContentHandler handler)

void setDTDHandler(org.xml.sax.DTDHandler handler)

void setEntityResolver(org.xml.sax.EntityResolver resolver)

void setErrorHandler(org.xml.sax.ErrorHandler handler)

void setFeature(java.lang.String name, boolean value)

void setParent(org.xml.sax.XMLReader parent)

void setProperty(java.lang.String name,


java.lang.Object value)

void setPropertyProvider(PropertyProvider policies)

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait

Constructor Detail
ValidatingFilter_InternalCache

public ValidatingFilter_InternalCache(org.xml.sax.XMLReader parent)

ValidatingFilter_InternalCache

public ValidatingFilter_InternalCache()
Method Detail
getParent

public org.xml.sax.XMLReader getParent()


Specified by:
getParent in interface org.xml.sax.XMLFilter

setParent

public void setParent(org.xml.sax.XMLReader parent)


Specified by:
setParent in interface org.xml.sax.XMLFilter

parse

public void parse(java.lang.String s)


throws java.io.IOException,
org.xml.sax.SAXException
Specified by:
parse in interface org.xml.sax.XMLReader

parse

public void parse(org.xml.sax.InputSource source)


throws java.io.IOException,
org.xml.sax.SAXException
Specified by:
parse in interface org.xml.sax.XMLReader

getContentHandler

public org.xml.sax.ContentHandler getContentHandler()


Specified by:
getContentHandler in interface org.xml.sax.XMLReader
setContentHandler

public void setContentHandler(org.xml.sax.ContentHandler handler)


Specified by:
setContentHandler in interface org.xml.sax.XMLReader

getDTDHandler

public org.xml.sax.DTDHandler getDTDHandler()


Specified by:
getDTDHandler in interface org.xml.sax.XMLReader

setDTDHandler

public void setDTDHandler(org.xml.sax.DTDHandler handler)


Specified by:
setDTDHandler in interface org.xml.sax.XMLReader

getEntityResolver

public org.xml.sax.EntityResolver getEntityResolver()


Specified by:
getEntityResolver in interface org.xml.sax.XMLReader

setEntityResolver

public void setEntityResolver(org.xml.sax.EntityResolver resolver)


Specified by:
setEntityResolver in interface org.xml.sax.XMLReader

getErrorHandler

public org.xml.sax.ErrorHandler getErrorHandler()


Specified by:
getErrorHandler in interface org.xml.sax.XMLReader
setErrorHandler

public void setErrorHandler(org.xml.sax.ErrorHandler handler)


Specified by:
setErrorHandler in interface org.xml.sax.XMLReader

getFeature

public boolean getFeature(java.lang.String name)


throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
Specified by:
getFeature in interface org.xml.sax.XMLReader

setFeature

public void setFeature(java.lang.String name,


boolean value)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
Specified by:
setFeature in interface org.xml.sax.XMLReader

getProperty

public java.lang.Object getProperty(java.lang.String name)


throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
Specified by:
getProperty in interface org.xml.sax.XMLReader

setProperty

public void setProperty(java.lang.String name,


java.lang.Object value)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
Specified by:
setProperty in interface org.xml.sax.XMLReader
setPropertyProvider

public void setPropertyProvider(PropertyProvider policies)


Specified by:
setPropertyProvider in interface PropertyConsumer

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.validation.constraints
Class ValidationConstraintEngine

java.lang.Object
|
+--com.tibco.xml.channel.stream.helpers.DefaultXmlStreamHandler
|
+--com.tibco.xml.adjuncts.streaming.MetadataEngine
|
+--com.tibco.xml.validation.constraints.ValidationConstraintEngine
All Implemented Interfaces:
XmlRemarkSupplier, XmlStreamHandler, XmlStreamSupplier

public class ValidationConstraintEngine


extends com.tibco.xml.adjuncts.streaming.MetadataEngine
implements XmlRemarkSupplier

Metadata handling engine that dispatches metadata events to the appropriate ConstraintChecker implementations by namespace.

Fields inherited from class com.tibco.xml.adjuncts.streaming.MetadataEngine


m_classes, m_metadata, m_schemas

Fields inherited from class com.tibco.xml.channel.stream.helpers.DefaultXmlStreamHandler


m_cursor, m_handler, m_locator

Constructor Summary
ValidationConstraintEngine()

Method Summary
protected createMetadataHandler(java.lang.String metadataNamespace)
com.tibco.xml.adjuncts.streaming.MetadataNamespaceHandler

void setXmlRemarkHandler(XmlRemarkHandler handler)


Allows an application to register and unregister an XmlRemarkHandler for
this supplier.

Methods inherited from class com.tibco.xml.adjuncts.streaming.MetadataEngine


endDocument, hasNamespace, registerMetadataNamespace, registerMetadataNamespaces,
registerMetadataSet, startDocument, startElement

Methods inherited from class com.tibco.xml.channel.stream.helpers.DefaultXmlStreamHandler


attribute, endElement, processingInstruction, setDocumentCursor, setDocumentLocator,
setXmlStreamHandler, text

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait,
wait

Constructor Detail
ValidationConstraintEngine

public ValidationConstraintEngine()

Method Detail
setXmlRemarkHandler

public 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.

createMetadataHandler

protected com.tibco.xml.adjuncts.streaming.MetadataNamespaceHandler
createMetadataHandler(java.lang.String metadataNamespace)
throws
java.lang.InstantiationException,

java.lang.IllegalAccessException
Overrides:
createMetadataHandler in class com.tibco.xml.adjuncts.streaming.MetadataEngine

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.validation.kernel
Class ValidationControl

java.lang.Object
|
+--com.tibco.xml.validation.kernel.ValidationControl
All Implemented Interfaces:
DocumentBoundaryHandler, IBlackBox, XmlRemarkHandler, XmlRemarkSupplier

public class ValidationControl


extends java.lang.Object
implements IBlackBox, XmlRemarkHandler, XmlRemarkSupplier, DocumentBoundaryHandler

Field Summary
static java.lang.String CHANNEL_BOUNDARY_HANDLER

static java.lang.String CHANNEL_REMARK_HANDLER

static java.lang.String CHANNEL_REMARK_SUPPLIER

Fields inherited from interface com.tibco.xml.runtime.IBlackBox


CHANNEL_MODE_SINK, CHANNEL_MODE_SOURCE

Constructor Summary
ValidationControl()
Method Summary
void endDocument()

void error(XmlContext context,


org.xml.sax.Locator locator, java.lang.Exception e,
java.lang.String code)
Notifies the handler of an error condition.
void fatalError(XmlContext context,
org.xml.sax.Locator locator, java.lang.Exception e,
java.lang.String code)
Notifies the handler of an unrecoverable error condition.
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 info(XmlContext context,
org.xml.sax.Locator locator, java.lang.Exception e,
java.lang.String code)
Notifies the handler of an information condition.
void remark(XmlContext context,
org.xml.sax.Locator locator, java.lang.Exception e,
java.lang.String code)
Notifies the handler of a remark condition.
void setXmlRemarkHandler(XmlRemarkHandler handler)
Allows an application to register and unregister an XmlRemarkHandler
for this supplier.
void startDocument()
void warning(XmlContext context,
org.xml.sax.Locator locator, java.lang.Exception e,
java.lang.String code)
Notifies the handler of a warning condition.

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait

Field Detail
CHANNEL_REMARK_HANDLER

public static final java.lang.String CHANNEL_REMARK_HANDLER

CHANNEL_REMARK_SUPPLIER

public static final java.lang.String CHANNEL_REMARK_SUPPLIER

CHANNEL_BOUNDARY_HANDLER

public static final java.lang.String CHANNEL_BOUNDARY_HANDLER

Constructor Detail
ValidationControl

public ValidationControl()

Method Detail
getChannel

public 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.

getChannelType

public 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.

getChannelMode

public 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.

getChannelNames

public 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.

fatalError

public void fatalError(XmlContext context,


org.xml.sax.Locator locator,
java.lang.Exception e,
java.lang.String code)
throws org.xml.sax.SAXException
Description copied from interface: XmlRemarkHandler
Notifies the handler of an unrecoverable error condition. This corresponds to the definition of
"fatal error" in section 1.2 of the W3C XML 1.0 Recommendation. For example, a parser would
use this callback to report the violation of a well-formedness constraint. The application must
assume that the document is unusable after the parser has invoked this method, and should
continue (if at all) only for the sake of collecting addition error messages: in fact, SAX parsers are
free to stop reporting any other events once this method has been invoked
Specified by:
fatalError in interface XmlRemarkHandler
Following copied from interface:
com.tibco.xml.channel.remark.XmlRemarkHandler
Parameters:
context - The logical location in the XMLStream at which the error remark occurred.
locator - The physical location. The caller is obliged to provide a frozen object even
though further progress might be made through the XML Stream.
e - The message.
code - A code representation of the error.
Throws:
org.xml.sax.SAXException -

error

public void error(XmlContext context,


org.xml.sax.Locator locator,
java.lang.Exception e,
java.lang.String code)
throws org.xml.sax.SAXException
Description copied from interface: XmlRemarkHandler
Notifies the handler of an error condition.
Specified by:
error in interface XmlRemarkHandler
Following copied from interface:
com.tibco.xml.channel.remark.XmlRemarkHandler
Parameters:
context - The logical location in the XMLStream at which the error remark occurred.
locator - The physical location. The caller is obliged to provide a frozen object even
though further progress might be made through the XML Stream.
e - The message.
code - A code representation of the error.
Throws:
org.xml.sax.SAXException -

warning

public void warning(XmlContext context,


org.xml.sax.Locator locator,
java.lang.Exception e,
java.lang.String code)
throws org.xml.sax.SAXException
Description copied from interface: XmlRemarkHandler
Notifies the handler of a warning condition.
Specified by:
warning in interface XmlRemarkHandler
Following copied from interface:
com.tibco.xml.channel.remark.XmlRemarkHandler
Parameters:
context - The logical location in the XMLStream at which the warning remark occurred.
locator - The physical location. The caller is obliged to provide a frozen object even
though further progress might be made through the XML Stream.
code - A code representation of the warning.
e - The message.

info

public void info(XmlContext context,


org.xml.sax.Locator locator,
java.lang.Exception e,
java.lang.String code)
throws org.xml.sax.SAXException
Description copied from interface: XmlRemarkHandler
Notifies the handler of an information condition.
Specified by:
info in interface XmlRemarkHandler
Following copied from interface:
com.tibco.xml.channel.remark.XmlRemarkHandler
Parameters:
context - The logical location in the XMLStream at which the information remark
occurred.
locator - The physical location. The caller is obliged to provide a frozen object even
though further progress might be made through the XML Stream.
code - A code representation of the information.
e - The message.
remark

public void remark(XmlContext context,


org.xml.sax.Locator locator,
java.lang.Exception e,
java.lang.String code)
throws org.xml.sax.SAXException
Description copied from interface: XmlRemarkHandler
Notifies the handler of a remark condition. A remark is made when the caller is not qualified to
judge a severity or classification otherwise of the message. The handler will typically inspect the
exception to determine the action.
Specified by:
remark in interface XmlRemarkHandler
Following copied from interface:
com.tibco.xml.channel.remark.XmlRemarkHandler
Parameters:
context - The logical location in the XMLStream at which the remark occurred.
locator - The physical location. The caller is obliged to provide a frozen object even
though further progress might be made through the XML Stream.
code - A code representation of the remark.
e - The message.

setXmlRemarkHandler

public 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.
startDocument

public void startDocument()


Specified by:
startDocument in interface DocumentBoundaryHandler

endDocument

public void endDocument()


Specified by:
endDocument in interface DocumentBoundaryHandler

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.validation
Class ValidationFactory

java.lang.Object
|
+--com.tibco.xml.validation.ValidationFactory

public class ValidationFactory


extends java.lang.Object
A factory class to construct XMLValidator and SchemaMap instances. All client applications of XML
Validate must use this class, directly or indirectly (as through ValidationUtilities), to construct instances of
the XMLValidator and SchemaMap interfaces.

Method Summary
static SchemaMap createSchemaMap()
Create an instance of SchemaMap.
static XMLValidator createValidator(org.xml.sax.XMLReader reader)
Create an XMLValidator instance using the given parser (SAX2
XMLReader).

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait

Method Detail
createValidator

public static XMLValidator createValidator(org.xml.sax.XMLReader reader)


throws org.xml.sax.SAXException
Create an XMLValidator instance using the given parser (SAX2 XMLReader).
Parameters:
reader - the SAX2 XMLReader to use for parsing. Must be non-null.
Throws:
org.xml.sax.SAXException - the reader does not support a required feature

createSchemaMap

public static SchemaMap createSchemaMap()


Create an instance of SchemaMap.

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.validation.kernel
Class ValidationKernel

java.lang.Object
|
+--com.tibco.xml.channel.stream.helpers.DefaultXmlStreamHandler
|
+--com.tibco.xml.validation.kernel.ValidationKernel
All Implemented Interfaces:
IBlackBox, XmlRemarkSupplier, XmlStreamHandler, XmlStreamSupplier

public class ValidationKernel


extends DefaultXmlStreamHandler
implements IBlackBox, XmlStreamHandler, XmlStreamSupplier, XmlRemarkSupplier

Validates the XmlStream against the associated schema type information.

Field Summary
static java.lang.String CHANNEL_REMARK_SUPPLIER

static java.lang.String CHANNEL_STREAM_HANDLER

static java.lang.String CHANNEL_STREAM_SUPPLIER

Fields inherited from class com.tibco.xml.channel.stream.helpers.DefaultXmlStreamHandler


m_cursor, m_handler, m_locator

Fields inherited from interface com.tibco.xml.runtime.IBlackBox


CHANNEL_MODE_SINK, CHANNEL_MODE_SOURCE
Constructor Summary
ValidationKernel()

Method Summary
void 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.
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 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 setXmlRemarkHandler(XmlRemarkHandler handler)
Allows an application to register and unregister an XmlRemarkHandler
for this supplier.
void 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 com.tibco.xml.channel.stream.helpers.DefaultXmlStreamHandler


setXmlStreamHandler

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.channel.stream.XmlStreamSupplier


setXmlStreamHandler

Field Detail
CHANNEL_STREAM_HANDLER

public static final java.lang.String CHANNEL_STREAM_HANDLER

CHANNEL_STREAM_SUPPLIER

public static final java.lang.String CHANNEL_STREAM_SUPPLIER

CHANNEL_REMARK_SUPPLIER

public static final java.lang.String CHANNEL_REMARK_SUPPLIER


Constructor Detail
ValidationKernel

public ValidationKernel()

Method Detail
getChannel

public 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.

getChannelType

public 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.

getChannelMode

public 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.

getChannelNames

public 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.

setDocumentLocator

public 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
Overrides:
setDocumentLocator in class DefaultXmlStreamHandler
Following copied from interface:
com.tibco.xml.channel.stream.XmlStreamHandler
Parameters:
locator - An object that can return the location of any XML Stream event.

setDocumentCursor

public 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
Overrides:
setDocumentCursor in class DefaultXmlStreamHandler
Following copied from interface:
com.tibco.xml.channel.stream.XmlStreamHandler
Parameters:
cursor - An interface for accessing the XML information set.

processingInstruction

public void processingInstruction()


throws org.xml.sax.SAXException
Description copied from interface: XmlStreamHandler
Receive notification of a processing instruction.
Specified by:
processingInstruction in interface XmlStreamHandler
Overrides:
processingInstruction in class DefaultXmlStreamHandler
Following copied from interface:
com.tibco.xml.channel.stream.XmlStreamHandler
Throws:
org.xml.sax.SAXException - Any SAX Exception, possibly wrapping another
exception.

startDocument

public 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
Overrides:
startDocument in class DefaultXmlStreamHandler
Following copied from interface:
com.tibco.xml.channel.stream.XmlStreamHandler
Throws:
org.xml.sax.SAXException - Any SAX Exception, possibly wrapping another
exception.

endDocument

public 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
Overrides:
endDocument in class DefaultXmlStreamHandler
Following copied from interface:
com.tibco.xml.channel.stream.XmlStreamHandler
Throws:
org.xml.sax.SAXException - Any SAX Exception, possibly wrapping another
exception.

startElement

public 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
Overrides:
startElement in class DefaultXmlStreamHandler
Following copied from interface:
com.tibco.xml.channel.stream.XmlStreamHandler
Throws:
org.xml.sax.SAXException - Any SAX Exception, possibly wrapping another
exception.

attribute

public 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
Overrides:
attribute in class DefaultXmlStreamHandler
Following copied from interface:
com.tibco.xml.channel.stream.XmlStreamHandler
Throws:
org.xml.sax.SAXException - Any SAX Exception, possibly wrapping another
exception.
text

public 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
Overrides:
text in class DefaultXmlStreamHandler
Following copied from interface:
com.tibco.xml.channel.stream.XmlStreamHandler
Throws:
org.xml.sax.SAXException - Any SAX Exception, possibly wrapping another
exception.

endElement

public 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
Overrides:
endElement in class DefaultXmlStreamHandler
Following copied from interface:
com.tibco.xml.channel.stream.XmlStreamHandler
Throws:
org.xml.sax.SAXException - Any SAX Exception, possibly wrapping another
exception.
setXmlRemarkHandler

public 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.

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.validation
Class ValidationUtilities

java.lang.Object
|
+--com.tibco.xml.validation.ValidationUtilities

public class ValidationUtilities


extends java.lang.Object
A set of static utility methods for performing XML validation. The methods of this class provide varying degrees of control
over several aspects of validation: the underlying SAX2 XMLReader to use, the set of schemas (SchemaMap) to use, and the
method for returning validation errors (ErrorHandler).
This class is essentially sample code, providing utility methods for some of the simpler or more common use-cases for XML
Validate. Implementations are free to call these methods or implement their own methods that use the ValidationFactory class
and XMLValidator and SchemaMap interfaces directly. In particular, implementations needing more control over
SchemaMap and XMLValidator policies will probably want to implement to those interfaces directly rather than using this
class.
SAX InputSource objects are used as the source both for the XML instance documents to be validated, and for the
schema/DTD documents to use. If either a schema or an instance refers to other documents using relative URLs (as for
imports and includes in a schema), the InputSource must have a valid system ID.
Errors are returned via the standard SAX ErrorHandler mechanism. Validation errors are passed to that interface as
XMLValidationException objects wrapped within the usual SAXParserException, to allow the handler to differentiate
between well-formedness errors and validity errors.

Method Summary
static org.xml.sax.XMLReader createDefaultXMLReader()
Create an instance of the default SAX2 parser, as determined by the
JAXP factory mechanism.
static org.xml.sax.XMLReader createDefaultXMLReader(boolean namespaceAwareness)
Create an instance of the default SAX2 parser, as determined by the
JAXP factory mechanism.
static XMLValidator createValidator(SchemaMap schemas,
org.xml.sax.ErrorHandler errors)
Create an XMLValidator with a given set of schemas, already
inserted into a SchemaMap object, and with a given ErrorHandler.
static void validateXML(org.xml.sax.InputSource instance,
org.xml.sax.InputSource schema,
org.xml.sax.ErrorHandler errors)
Validate a single XML document/message using a single schema.
static void validateXML(org.xml.sax.InputSource instance,
SchemaMap schemas,
org.xml.sax.ErrorHandler errors)
Validate a single XML document/message using a set of schemas,
already inserted into a SchemaMap object.

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait

Method Detail
validateXML

public static void validateXML(org.xml.sax.InputSource instance,


org.xml.sax.InputSource schema,
org.xml.sax.ErrorHandler errors)
throws org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException,
java.io.IOException,
SchemaException
Validate a single XML document/message using a single schema. A SchemaMap containing the single schema will be
constructed. The default JAXP parser (SAX2 XMLReader) will be used.
Parameters:
instance - the XML document/message to be validated
schema - the schema/DTD to validate against
errors - handler to receive validation error notification. If null, a PrintWriterErrorHandler will write to
System.err.
Throws:
SchemaException - the schema/DTD cannot be parsed
java.io.IOException - the instance cannot be parsed
javax.xml.parsers.ParserConfigurationException - the default parser cannot be constructed
org.xml.sax.SAXException - the instance cannot be parsed, or the parser does not support a required
feature

validateXML

public static void validateXML(org.xml.sax.InputSource instance,


SchemaMap schemas,
org.xml.sax.ErrorHandler errors)
throws org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException,
java.io.IOException
Validate a single XML document/message using a set of schemas, already inserted into a SchemaMap object. The
default JAXP parser (SAX2 XMLReader) will be used.
Parameters:
instance - the XML document/message to be validated
schemas - the map containing the schemas to validate against
errors - handler to receive validation error notification. If null, a PrintWriterErrorHandler will write to
System.err.
Throws:
java.io.IOException - the instance cannot be parsed
javax.xml.parsers.ParserConfigurationException - the default parser cannot be constructed
org.xml.sax.SAXException - the instance cannot be parsed, or the parser does not support a required
feature

createDefaultXMLReader

public static org.xml.sax.XMLReader createDefaultXMLReader()


throws org.xml.sax.SAXException,

javax.xml.parsers.ParserConfigurationException
Create an instance of the default SAX2 parser, as determined by the JAXP factory mechanism.
Throws:
javax.xml.parsers.ParserConfigurationException - the default parser cannot be constructed
org.xml.sax.SAXException - the default parser does not support some feature

createDefaultXMLReader

public static org.xml.sax.XMLReader


createDefaultXMLReader(boolean namespaceAwareness)
throws org.xml.sax.SAXException,

javax.xml.parsers.ParserConfigurationException
Create an instance of the default SAX2 parser, as determined by the JAXP factory mechanism.
Throws:
javax.xml.parsers.ParserConfigurationException - the default parser cannot be constructed
org.xml.sax.SAXException - the default parser does not support some feature

createValidator

public static XMLValidator createValidator(SchemaMap schemas,


org.xml.sax.ErrorHandler errors)
throws org.xml.sax.SAXException,

javax.xml.parsers.ParserConfigurationException
Create an XMLValidator with a given set of schemas, already inserted into a SchemaMap object, and with a given
ErrorHandler.
Parameters:
schemas - the map containing the schemas to validate against
errors - handler to receiv validation error notivication. If null, a PrintWriterErrorHandler will write to
System.err.
Throws:
javax.xml.parsers.ParserConfigurationException - the default parser cannot be constructed
org.xml.sax.SAXException - the default parser does not support some feature

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.validation.kernel
Class Validator

java.lang.Object
|
+--com.tibco.xml.validation.kernel.Validator
All Implemented Interfaces:
org.xml.sax.ContentHandler, EntityConsumer, org.xml.sax.EntityResolver, LocationHintSupplier,
SchemaModelConsumer, XmlRemarkSupplier, XmlStreamSupplier

public class Validator


extends java.lang.Object
implements org.xml.sax.ContentHandler, org.xml.sax.EntityResolver, EntityConsumer, XmlRemarkSupplier,
LocationHintSupplier, SchemaModelConsumer, XmlStreamSupplier
The core XML Validator implementation. Input is via the usual SAX 2 content stream. Output is two streams, one
to XmlStreamHandler(s), and one to XmlRemarkHandler(s) (for errors). Schemas are provided by connecting to a
SchemaModelProvider, which may choose to listen to LocationHints. (Entity resolution for the parser must pass
through this object, if LocationHints for DTDs are going to work.)
See Also:
EntityConsumer, XmlRemarkSupplier, com.tibco.xml.validation.channel,
SchemaModelConsumer, com.tibco.xml.channel.stream

Field Summary
protected SAXContent2XmlStream adapter

protected XmlStreamEnhancer enhancer

protected SAXLocationHintSupplier hints

protected ValidationKernel kernel

protected org.xml.sax.EntityResolver m_entities

protected org.xml.sax.Locator m_locator


protected SAXContentNormalizer normal

Constructor Summary
Validator()

Method Summary
void addLocationHintHandler(LocationHintHandler handler)

void characters(char[] buf, int off, int len)

void endDocument()

void endElement(java.lang.String namespaceURI,


java.lang.String localName, java.lang.String qName)

void endPrefixMapping(java.lang.String prefix)

void ignorableWhitespace(char[] buf, int off, int len)

void processingInstruction(java.lang.String name,


java.lang.String text)

void removeLocationHintHandler(LocationHintHandler handler)

org.xml.sax.InputSource resolveEntity(java.lang.String systemID,


java.lang.String publicID)

void setDocumentLocator(org.xml.sax.Locator locator)

void setEntityResolver(org.xml.sax.EntityResolver resolver)

void setSchemaModelProvider(SchemaModelProvider schemas)


void setXmlRemarkHandler(XmlRemarkHandler handler)
Allows an application to register and unregister an XmlRemarkHandler
for this supplier.
void setXmlStreamHandler(XmlStreamHandler handler)
Allows an application to register an XmlStreamHandler for this supplier.
void skippedEntity(java.lang.String name)

void startDocument()

void startElement(java.lang.String namespaceURI,


java.lang.String localName, java.lang.String qName,
org.xml.sax.Attributes atts)

void startPrefixMapping(java.lang.String prefix,


java.lang.String namespaceURI)

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait

Field Detail
normal

protected SAXContentNormalizer normal

adapter

protected SAXContent2XmlStream adapter

enhancer

protected XmlStreamEnhancer enhancer


kernel

protected ValidationKernel kernel

hints

protected SAXLocationHintSupplier hints

m_entities

protected org.xml.sax.EntityResolver m_entities

m_locator

protected org.xml.sax.Locator m_locator

Constructor Detail
Validator

public Validator()

Method Detail
setEntityResolver

public void setEntityResolver(org.xml.sax.EntityResolver resolver)


Specified by:
setEntityResolver in interface EntityConsumer

addLocationHintHandler

public void addLocationHintHandler(LocationHintHandler handler)


Specified by:
addLocationHintHandler in interface LocationHintSupplier
removeLocationHintHandler

public void removeLocationHintHandler(LocationHintHandler handler)


Specified by:
removeLocationHintHandler in interface LocationHintSupplier

setXmlRemarkHandler

public 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.

setSchemaModelProvider

public void setSchemaModelProvider(SchemaModelProvider schemas)


Specified by:
setSchemaModelProvider in interface SchemaModelConsumer

setXmlStreamHandler

public 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.
characters

public void characters(char[] buf,


int off,
int len)
throws org.xml.sax.SAXException
Specified by:
characters in interface org.xml.sax.ContentHandler

endDocument

public void endDocument()


throws org.xml.sax.SAXException
Specified by:
endDocument in interface org.xml.sax.ContentHandler

endElement

public void endElement(java.lang.String namespaceURI,


java.lang.String localName,
java.lang.String qName)
throws org.xml.sax.SAXException
Specified by:
endElement in interface org.xml.sax.ContentHandler

endPrefixMapping

public void endPrefixMapping(java.lang.String prefix)


throws org.xml.sax.SAXException
Specified by:
endPrefixMapping in interface org.xml.sax.ContentHandler

ignorableWhitespace

public void ignorableWhitespace(char[] buf,


int off,
int len)
throws org.xml.sax.SAXException
Specified by:
ignorableWhitespace in interface org.xml.sax.ContentHandler

processingInstruction

public void processingInstruction(java.lang.String name,


java.lang.String text)
throws org.xml.sax.SAXException
Specified by:
processingInstruction in interface org.xml.sax.ContentHandler

setDocumentLocator

public void setDocumentLocator(org.xml.sax.Locator locator)


Specified by:
setDocumentLocator in interface org.xml.sax.ContentHandler

skippedEntity

public void skippedEntity(java.lang.String name)


throws org.xml.sax.SAXException
Specified by:
skippedEntity in interface org.xml.sax.ContentHandler

startDocument

public void startDocument()


throws org.xml.sax.SAXException
Specified by:
startDocument in interface org.xml.sax.ContentHandler

startElement

public void startElement(java.lang.String namespaceURI,


java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
throws org.xml.sax.SAXException
Specified by:
startElement in interface org.xml.sax.ContentHandler

startPrefixMapping

public void startPrefixMapping(java.lang.String prefix,


java.lang.String namespaceURI)
throws org.xml.sax.SAXException
Specified by:
startPrefixMapping in interface org.xml.sax.ContentHandler

resolveEntity

public org.xml.sax.InputSource resolveEntity(java.lang.String systemID,


java.lang.String publicID)
throws org.xml.sax.SAXException,
java.io.IOException
Specified by:
resolveEntity in interface org.xml.sax.EntityResolver

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.validation.helpers
Class Validator_DOM_Remark_ExternalCache

java.lang.Object
|
+--com.tibco.xml.validation.helpers.Validator_DOM_Remark_ExternalCache
All Implemented Interfaces:
DOMHandler, DOMSupplier, SchemaModelConsumer, TypeURISupplier, XmlRemarkHandler,
XmlRemarkSupplier, XmlStreamSupplier

public class Validator_DOM_Remark_ExternalCache


extends java.lang.Object
implements DOMHandler, DOMSupplier, XmlRemarkHandler, XmlRemarkSupplier, XmlStreamSupplier,
TypeURISupplier, SchemaModelConsumer

A DOM validator producing XML remarks and employing an external schema cache.

Constructor Summary
Validator_DOM_Remark_ExternalCache()

Method Summary
void addDOMHandler(DOMHandler handler)

void addTypeURIHandler(TypeURIHandler handler)

void error(XmlContext context, org.xml.sax.Locator locator,


java.lang.Exception e, java.lang.String code)
Notifies the handler of an error condition.
void fatalError(XmlContext context, org.xml.sax.Locator locator,
java.lang.Exception e, java.lang.String code)
Notifies the handler of an unrecoverable error condition.
void info(XmlContext context, org.xml.sax.Locator locator,
java.lang.Exception e, java.lang.String code)
Notifies the handler of an information condition.
void process(org.w3c.dom.Document source, java.lang.String systemId)
Receive notification of an XML document.
void remark(XmlContext context, org.xml.sax.Locator locator,
java.lang.Exception e, java.lang.String code)
Notifies the handler of a remark condition.
void removeDOMHandler(DOMHandler handler)

void removeTypeURIHandler(TypeURIHandler handler)

void setSchemaModelProvider(SchemaModelProvider provider)

void setXmlRemarkHandler(XmlRemarkHandler handler)


Allows an application to register and unregister an XmlRemarkHandler for this supplier.
void setXmlStreamHandler(XmlStreamHandler handler)
Allows an application to register an XmlStreamHandler for this supplier.
void warning(XmlContext context, org.xml.sax.Locator locator,
java.lang.Exception e, java.lang.String code)
Notifies the handler of a warning condition.

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait

Constructor Detail
Validator_DOM_Remark_ExternalCache

public Validator_DOM_Remark_ExternalCache()

Method Detail
process

public 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 -

addDOMHandler

public void addDOMHandler(DOMHandler handler)


Specified by:
addDOMHandler in interface DOMSupplier

removeDOMHandler

public void removeDOMHandler(DOMHandler handler)


Specified by:
removeDOMHandler in interface DOMSupplier

setXmlRemarkHandler

public 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.

setXmlStreamHandler

public 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.

addTypeURIHandler

public void addTypeURIHandler(TypeURIHandler handler)


Specified by:
addTypeURIHandler in interface TypeURISupplier

removeTypeURIHandler

public void removeTypeURIHandler(TypeURIHandler handler)


Specified by:
removeTypeURIHandler in interface TypeURISupplier
setSchemaModelProvider

public void setSchemaModelProvider(SchemaModelProvider provider)


Specified by:
setSchemaModelProvider in interface SchemaModelConsumer

fatalError

public void fatalError(XmlContext context,


org.xml.sax.Locator locator,
java.lang.Exception e,
java.lang.String code)
throws org.xml.sax.SAXException
Description copied from interface: XmlRemarkHandler
Notifies the handler of an unrecoverable error condition. This corresponds to the definition of "fatal
error" in section 1.2 of the W3C XML 1.0 Recommendation. For example, a parser would use this
callback to report the violation of a well-formedness constraint. The application must assume that the
document is unusable after the parser has invoked this method, and should continue (if at all) only
for the sake of collecting addition error messages: in fact, SAX parsers are free to stop reporting any
other events once this method has been invoked
Specified by:
fatalError in interface XmlRemarkHandler
Following copied from interface: com.tibco.xml.channel.remark.XmlRemarkHandler
Parameters:
context - The logical location in the XMLStream at which the error remark occurred.
locator - The physical location. The caller is obliged to provide a frozen object even though
further progress might be made through the XML Stream.
e - The message.
code - A code representation of the error.
Throws:
org.xml.sax.SAXException -

error

public void error(XmlContext context,


org.xml.sax.Locator locator,
java.lang.Exception e,
java.lang.String code)
throws org.xml.sax.SAXException
Description copied from interface: XmlRemarkHandler
Notifies the handler of an error condition.
Specified by:
error in interface XmlRemarkHandler
Following copied from interface: com.tibco.xml.channel.remark.XmlRemarkHandler
Parameters:
context - The logical location in the XMLStream at which the error remark occurred.
locator - The physical location. The caller is obliged to provide a frozen object even though
further progress might be made through the XML Stream.
e - The message.
code - A code representation of the error.
Throws:
org.xml.sax.SAXException -

warning

public void warning(XmlContext context,


org.xml.sax.Locator locator,
java.lang.Exception e,
java.lang.String code)
throws org.xml.sax.SAXException
Description copied from interface: XmlRemarkHandler
Notifies the handler of a warning condition.
Specified by:
warning in interface XmlRemarkHandler
Following copied from interface: com.tibco.xml.channel.remark.XmlRemarkHandler
Parameters:
context - The logical location in the XMLStream at which the warning remark occurred.
locator - The physical location. The caller is obliged to provide a frozen object even though
further progress might be made through the XML Stream.
code - A code representation of the warning.
e - The message.
info

public void info(XmlContext context,


org.xml.sax.Locator locator,
java.lang.Exception e,
java.lang.String code)
throws org.xml.sax.SAXException
Description copied from interface: XmlRemarkHandler
Notifies the handler of an information condition.
Specified by:
info in interface XmlRemarkHandler
Following copied from interface: com.tibco.xml.channel.remark.XmlRemarkHandler
Parameters:
context - The logical location in the XMLStream at which the information remark occurred.
locator - The physical location. The caller is obliged to provide a frozen object even though
further progress might be made through the XML Stream.
code - A code representation of the information.
e - The message.

remark

public void remark(XmlContext context,


org.xml.sax.Locator locator,
java.lang.Exception e,
java.lang.String code)
throws org.xml.sax.SAXException
Description copied from interface: XmlRemarkHandler
Notifies the handler of a remark condition. A remark is made when the caller is not qualified to judge
a severity or classification otherwise of the message. The handler will typically inspect the exception
to determine the action.
Specified by:
remark in interface XmlRemarkHandler
Following copied from interface: com.tibco.xml.channel.remark.XmlRemarkHandler
Parameters:
context - The logical location in the XMLStream at which the remark occurred.
locator - The physical location. The caller is obliged to provide a frozen object even though
further progress might be made through the XML Stream.
code - A code representation of the remark.
e - The message.

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.validation.helpers
Class Validator_SAX_Error_ExternalCache

java.lang.Object
|
+--com.tibco.xml.validation.helpers.Validator_SAX_Error_ExternalCache
All Implemented Interfaces:
org.xml.sax.ContentHandler, ContentSupplier, ErrorSupplier, SchemaModelConsumer

public class Validator_SAX_Error_ExternalCache


extends java.lang.Object
implements org.xml.sax.ContentHandler, ContentSupplier, ErrorSupplier, SchemaModelConsumer

A validator with SAX interfaces but not a SAX Filter, and employing an external schema model provider.

Constructor Summary
Validator_SAX_Error_ExternalCache()

Method Summary
void characters(char[] ch, int start, int length)

void endDocument()

void endElement(java.lang.String namespaceURI,


java.lang.String localName, java.lang.String qName)

void endPrefixMapping(java.lang.String prefix)

void ignorableWhitespace(char[] ch, int start, int length)


void processingInstruction(java.lang.String target,
java.lang.String data)

void setContentHandler(org.xml.sax.ContentHandler handler)


Allows an application to register and unregister a ContentHandler for this supplier.
void setDocumentLocator(org.xml.sax.Locator locator)

void setErrorHandler(org.xml.sax.ErrorHandler handler)

void setSchemaModelProvider(SchemaModelProvider provider)

void skippedEntity(java.lang.String name)

void startDocument()

void startElement(java.lang.String namespaceURI,


java.lang.String localName, java.lang.String qName,
org.xml.sax.Attributes atts)

void startPrefixMapping(java.lang.String prefix,


java.lang.String uri)

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait

Constructor Detail
Validator_SAX_Error_ExternalCache

public Validator_SAX_Error_ExternalCache()

Method Detail
setDocumentLocator

public void setDocumentLocator(org.xml.sax.Locator locator)


Specified by:
setDocumentLocator in interface org.xml.sax.ContentHandler

startDocument

public void startDocument()


throws org.xml.sax.SAXException
Specified by:
startDocument in interface org.xml.sax.ContentHandler

endDocument

public void endDocument()


throws org.xml.sax.SAXException
Specified by:
endDocument in interface org.xml.sax.ContentHandler

startPrefixMapping

public void startPrefixMapping(java.lang.String prefix,


java.lang.String uri)
throws org.xml.sax.SAXException
Specified by:
startPrefixMapping in interface org.xml.sax.ContentHandler

endPrefixMapping

public void endPrefixMapping(java.lang.String prefix)


throws org.xml.sax.SAXException
Specified by:
endPrefixMapping in interface org.xml.sax.ContentHandler
startElement

public void startElement(java.lang.String namespaceURI,


java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
throws org.xml.sax.SAXException
Specified by:
startElement in interface org.xml.sax.ContentHandler

endElement

public void endElement(java.lang.String namespaceURI,


java.lang.String localName,
java.lang.String qName)
throws org.xml.sax.SAXException
Specified by:
endElement in interface org.xml.sax.ContentHandler

characters

public void characters(char[] ch,


int start,
int length)
throws org.xml.sax.SAXException
Specified by:
characters in interface org.xml.sax.ContentHandler

ignorableWhitespace

public void ignorableWhitespace(char[] ch,


int start,
int length)
throws org.xml.sax.SAXException
Specified by:
ignorableWhitespace in interface org.xml.sax.ContentHandler
processingInstruction

public void processingInstruction(java.lang.String target,


java.lang.String data)
throws org.xml.sax.SAXException
Specified by:
processingInstruction in interface org.xml.sax.ContentHandler

skippedEntity

public void skippedEntity(java.lang.String name)


throws org.xml.sax.SAXException
Specified by:
skippedEntity in interface org.xml.sax.ContentHandler

setContentHandler

public 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.

setErrorHandler

public void setErrorHandler(org.xml.sax.ErrorHandler handler)


Specified by:
setErrorHandler in interface ErrorSupplier
setSchemaModelProvider

public void setSchemaModelProvider(SchemaModelProvider provider)


Specified by:
setSchemaModelProvider in interface SchemaModelConsumer

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.validation.helpers
Class Validator_SAX_Error_InternalCache

java.lang.Object
|
+--com.tibco.xml.validation.helpers.Validator_SAX_Error_InternalCache
All Implemented Interfaces:
org.xml.sax.ContentHandler, ContentSupplier, EntityConsumer, org.xml.sax.EntityResolver, ErrorSupplier,
PropertyConsumer

public class Validator_SAX_Error_InternalCache


extends java.lang.Object
implements org.xml.sax.ContentHandler, ContentSupplier, ErrorSupplier, PropertyConsumer,
org.xml.sax.EntityResolver, EntityConsumer
A validator with SAX interfaces but not a SAX Filter, and with an internal schema cache.

Constructor Summary
Validator_SAX_Error_InternalCache()

Method Summary
void characters(char[] ch, int start, int length)

void endDocument()

void endElement(java.lang.String namespaceURI,


java.lang.String localName, java.lang.String qName)

void endPrefixMapping(java.lang.String prefix)

void ignorableWhitespace(char[] ch, int start, int length)


void processingInstruction(java.lang.String target,
java.lang.String data)

org.xml.sax.InputSource resolveEntity(java.lang.String publicId,


java.lang.String systemId)

void setContentHandler(org.xml.sax.ContentHandler handler)


Allows an application to register and unregister a ContentHandler for this
supplier.
void setDocumentLocator(org.xml.sax.Locator locator)

void setEntityResolver(org.xml.sax.EntityResolver resolver)

void setErrorHandler(org.xml.sax.ErrorHandler handler)

void setPropertyProvider(PropertyProvider policies)

void skippedEntity(java.lang.String name)

void startDocument()

void startElement(java.lang.String namespaceURI,


java.lang.String localName, java.lang.String qName,
org.xml.sax.Attributes atts)

void startPrefixMapping(java.lang.String prefix,


java.lang.String uri)

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait

Constructor Detail
Validator_SAX_Error_InternalCache

public Validator_SAX_Error_InternalCache()

Method Detail
setDocumentLocator

public void setDocumentLocator(org.xml.sax.Locator locator)


Specified by:
setDocumentLocator in interface org.xml.sax.ContentHandler

startDocument

public void startDocument()


throws org.xml.sax.SAXException
Specified by:
startDocument in interface org.xml.sax.ContentHandler

endDocument

public void endDocument()


throws org.xml.sax.SAXException
Specified by:
endDocument in interface org.xml.sax.ContentHandler

startPrefixMapping

public void startPrefixMapping(java.lang.String prefix,


java.lang.String uri)
throws org.xml.sax.SAXException
Specified by:
startPrefixMapping in interface org.xml.sax.ContentHandler

endPrefixMapping

public void endPrefixMapping(java.lang.String prefix)


throws org.xml.sax.SAXException
Specified by:
endPrefixMapping in interface org.xml.sax.ContentHandler

startElement

public void startElement(java.lang.String namespaceURI,


java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
throws org.xml.sax.SAXException
Specified by:
startElement in interface org.xml.sax.ContentHandler

endElement

public void endElement(java.lang.String namespaceURI,


java.lang.String localName,
java.lang.String qName)
throws org.xml.sax.SAXException
Specified by:
endElement in interface org.xml.sax.ContentHandler

characters

public void characters(char[] ch,


int start,
int length)
throws org.xml.sax.SAXException
Specified by:
characters in interface org.xml.sax.ContentHandler

ignorableWhitespace

public void ignorableWhitespace(char[] ch,


int start,
int length)
throws org.xml.sax.SAXException
Specified by:
ignorableWhitespace in interface org.xml.sax.ContentHandler
processingInstruction

public void processingInstruction(java.lang.String target,


java.lang.String data)
throws org.xml.sax.SAXException
Specified by:
processingInstruction in interface org.xml.sax.ContentHandler

skippedEntity

public void skippedEntity(java.lang.String name)


throws org.xml.sax.SAXException
Specified by:
skippedEntity in interface org.xml.sax.ContentHandler

resolveEntity

public org.xml.sax.InputSource resolveEntity(java.lang.String publicId,


java.lang.String systemId)
throws java.io.IOException,
org.xml.sax.SAXException
Specified by:
resolveEntity in interface org.xml.sax.EntityResolver

setContentHandler

public 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.
setErrorHandler

public void setErrorHandler(org.xml.sax.ErrorHandler handler)


Specified by:
setErrorHandler in interface ErrorSupplier

setEntityResolver

public void setEntityResolver(org.xml.sax.EntityResolver resolver)


Specified by:
setEntityResolver in interface EntityConsumer

setPropertyProvider

public void setPropertyProvider(PropertyProvider policies)


Specified by:
setPropertyProvider in interface PropertyConsumer

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.validation.helpers
Class Validator_SAX_Remark_ExternalCache

java.lang.Object
|
+--com.tibco.xml.validation.helpers.Validator_SAX_Remark_ExternalCache
All Implemented Interfaces:
ContentFilter, org.xml.sax.ContentHandler, ContentSupplier, DocumentBoundarySupplier,
SchemaModelConsumer, XmlRemarkFilter, XmlRemarkHandler, XmlRemarkSupplier,
XmlStreamSupplier

public class Validator_SAX_Remark_ExternalCache


extends java.lang.Object
implements ContentFilter, SchemaModelConsumer, XmlRemarkFilter, XmlStreamSupplier,
DocumentBoundarySupplier
A validator that accepts SAX Content, generates XML remarks, with an external schema cache. This validator
also provides a consolidation point for XML remarks from other systems and generates notifications of the
boundaries of the XML information set being processed.

Constructor Summary
Validator_SAX_Remark_ExternalCache()

Method Summary
void addDocumentBoundaryHandler(DocumentBoundaryHandler handler)

void characters(char[] ch, int start, int length)

void endDocument()
void endElement(java.lang.String namespaceURI,
java.lang.String localName, java.lang.String qName)

void endPrefixMapping(java.lang.String prefix)

void error(XmlContext context, org.xml.sax.Locator locator,


java.lang.Exception e, java.lang.String code)
Notifies the handler of an error condition.
void fatalError(XmlContext context, org.xml.sax.Locator locator,
java.lang.Exception e, java.lang.String code)
Notifies the handler of an unrecoverable error condition.
void ignorableWhitespace(char[] ch, int start, int length)

void info(XmlContext context, org.xml.sax.Locator locator,


java.lang.Exception e, java.lang.String code)
Notifies the handler of an information condition.
void processingInstruction(java.lang.String target,
java.lang.String data)

void remark(XmlContext context, org.xml.sax.Locator locator,


java.lang.Exception e, java.lang.String code)
Notifies the handler of a remark condition.
void removeDocumentBoundaryHandler(DocumentBoundaryHandler handler)

void setContentHandler(org.xml.sax.ContentHandler handler)


Allows an application to register and unregister a ContentHandler for this supplier.
void setDocumentLocator(org.xml.sax.Locator locator)

void setSchemaModelProvider(SchemaModelProvider provider)

void setXmlRemarkHandler(XmlRemarkHandler handler)


Allows an application to register and unregister an XmlRemarkHandler for this supplier.
void setXmlStreamHandler(XmlStreamHandler handler)
Allows an application to register an XmlStreamHandler for this supplier.
void skippedEntity(java.lang.String name)

void startDocument()
void startElement(java.lang.String namespaceURI,
java.lang.String localName, java.lang.String qName,
org.xml.sax.Attributes atts)

void startPrefixMapping(java.lang.String prefix,


java.lang.String uri)

void warning(XmlContext context, org.xml.sax.Locator locator,


java.lang.Exception e, java.lang.String code)
Notifies the handler of a warning condition.

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait

Constructor Detail
Validator_SAX_Remark_ExternalCache

public Validator_SAX_Remark_ExternalCache()

Method Detail
setDocumentLocator

public void setDocumentLocator(org.xml.sax.Locator locator)


Specified by:
setDocumentLocator in interface org.xml.sax.ContentHandler

startDocument

public void startDocument()


throws org.xml.sax.SAXException
Specified by:
startDocument in interface org.xml.sax.ContentHandler
endDocument

public void endDocument()


throws org.xml.sax.SAXException
Specified by:
endDocument in interface org.xml.sax.ContentHandler

startPrefixMapping

public void startPrefixMapping(java.lang.String prefix,


java.lang.String uri)
throws org.xml.sax.SAXException
Specified by:
startPrefixMapping in interface org.xml.sax.ContentHandler

endPrefixMapping

public void endPrefixMapping(java.lang.String prefix)


throws org.xml.sax.SAXException
Specified by:
endPrefixMapping in interface org.xml.sax.ContentHandler

startElement

public void startElement(java.lang.String namespaceURI,


java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
throws org.xml.sax.SAXException
Specified by:
startElement in interface org.xml.sax.ContentHandler

endElement

public void endElement(java.lang.String namespaceURI,


java.lang.String localName,
java.lang.String qName)
throws org.xml.sax.SAXException
Specified by:
endElement in interface org.xml.sax.ContentHandler

characters

public void characters(char[] ch,


int start,
int length)
throws org.xml.sax.SAXException
Specified by:
characters in interface org.xml.sax.ContentHandler

ignorableWhitespace

public void ignorableWhitespace(char[] ch,


int start,
int length)
throws org.xml.sax.SAXException
Specified by:
ignorableWhitespace in interface org.xml.sax.ContentHandler

processingInstruction

public void processingInstruction(java.lang.String target,


java.lang.String data)
throws org.xml.sax.SAXException
Specified by:
processingInstruction in interface org.xml.sax.ContentHandler

skippedEntity

public void skippedEntity(java.lang.String name)


throws org.xml.sax.SAXException
Specified by:
skippedEntity in interface org.xml.sax.ContentHandler
setXmlRemarkHandler

public 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.

setXmlStreamHandler

public 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.

setContentHandler

public 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.
setSchemaModelProvider

public void setSchemaModelProvider(SchemaModelProvider provider)


Specified by:
setSchemaModelProvider in interface SchemaModelConsumer

addDocumentBoundaryHandler

public void addDocumentBoundaryHandler(DocumentBoundaryHandler handler)


Specified by:
addDocumentBoundaryHandler in interface DocumentBoundarySupplier

removeDocumentBoundaryHandler

public void removeDocumentBoundaryHandler(DocumentBoundaryHandler handler)


Specified by:
removeDocumentBoundaryHandler in interface DocumentBoundarySupplier

fatalError

public void fatalError(XmlContext context,


org.xml.sax.Locator locator,
java.lang.Exception e,
java.lang.String code)
throws org.xml.sax.SAXException
Description copied from interface: XmlRemarkHandler
Notifies the handler of an unrecoverable error condition. This corresponds to the definition of "fatal
error" in section 1.2 of the W3C XML 1.0 Recommendation. For example, a parser would use this
callback to report the violation of a well-formedness constraint. The application must assume that the
document is unusable after the parser has invoked this method, and should continue (if at all) only for
the sake of collecting addition error messages: in fact, SAX parsers are free to stop reporting any other
events once this method has been invoked
Specified by:
fatalError in interface XmlRemarkHandler
Following copied from interface: com.tibco.xml.channel.remark.XmlRemarkHandler
Parameters:
context - The logical location in the XMLStream at which the error remark occurred.
locator - The physical location. The caller is obliged to provide a frozen object even though
further progress might be made through the XML Stream.
e - The message.
code - A code representation of the error.
Throws:
org.xml.sax.SAXException -

error

public void error(XmlContext context,


org.xml.sax.Locator locator,
java.lang.Exception e,
java.lang.String code)
throws org.xml.sax.SAXException
Description copied from interface: XmlRemarkHandler
Notifies the handler of an error condition.
Specified by:
error in interface XmlRemarkHandler
Following copied from interface: com.tibco.xml.channel.remark.XmlRemarkHandler
Parameters:
context - The logical location in the XMLStream at which the error remark occurred.
locator - The physical location. The caller is obliged to provide a frozen object even though
further progress might be made through the XML Stream.
e - The message.
code - A code representation of the error.
Throws:
org.xml.sax.SAXException -

warning

public void warning(XmlContext context,


org.xml.sax.Locator locator,
java.lang.Exception e,
java.lang.String code)
throws org.xml.sax.SAXException
Description copied from interface: XmlRemarkHandler
Notifies the handler of a warning condition.
Specified by:
warning in interface XmlRemarkHandler
Following copied from interface: com.tibco.xml.channel.remark.XmlRemarkHandler
Parameters:
context - The logical location in the XMLStream at which the warning remark occurred.
locator - The physical location. The caller is obliged to provide a frozen object even though
further progress might be made through the XML Stream.
code - A code representation of the warning.
e - The message.

info

public void info(XmlContext context,


org.xml.sax.Locator locator,
java.lang.Exception e,
java.lang.String code)
throws org.xml.sax.SAXException
Description copied from interface: XmlRemarkHandler
Notifies the handler of an information condition.
Specified by:
info in interface XmlRemarkHandler
Following copied from interface: com.tibco.xml.channel.remark.XmlRemarkHandler
Parameters:
context - The logical location in the XMLStream at which the information remark occurred.
locator - The physical location. The caller is obliged to provide a frozen object even though
further progress might be made through the XML Stream.
code - A code representation of the information.
e - The message.

remark

public void remark(XmlContext context,


org.xml.sax.Locator locator,
java.lang.Exception e,
java.lang.String code)
throws org.xml.sax.SAXException
Description copied from interface: XmlRemarkHandler
Notifies the handler of a remark condition. A remark is made when the caller is not qualified to judge a
severity or classification otherwise of the message. The handler will typically inspect the exception to
determine the action.
Specified by:
remark in interface XmlRemarkHandler
Following copied from interface: com.tibco.xml.channel.remark.XmlRemarkHandler
Parameters:
context - The logical location in the XMLStream at which the remark occurred.
locator - The physical location. The caller is obliged to provide a frozen object even though
further progress might be made through the XML Stream.
code - A code representation of the remark.
e - The message.

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.validation.helpers
Class Validator_SAX_Remark_InternalCache

java.lang.Object
|
+--com.tibco.xml.validation.helpers.Validator_SAX_Remark_InternalCache
All Implemented Interfaces:
org.xml.sax.ContentHandler, ContentSupplier, EntityConsumer, org.xml.sax.EntityResolver,
PropertyConsumer, XmlRemarkFilter, XmlRemarkHandler, XmlRemarkSupplier, XmlStreamSupplier

public class Validator_SAX_Remark_InternalCache


extends java.lang.Object
implements org.xml.sax.ContentHandler, ContentSupplier, XmlRemarkFilter, XmlStreamSupplier,
PropertyConsumer, org.xml.sax.EntityResolver, EntityConsumer
A validator with SAX interfaces but not a SAX Filter, emits XML remarks, and with an internal schema cache.

Constructor Summary
Validator_SAX_Remark_InternalCache()

Method Summary
void characters(char[] ch, int start, int length)

void endDocument()

void endElement(java.lang.String namespaceURI,


java.lang.String localName, java.lang.String qName)

void endPrefixMapping(java.lang.String prefix)

void error(XmlContext context, org.xml.sax.Locator locator,


java.lang.Exception e, java.lang.String code)
Notifies the handler of an error condition.
void fatalError(XmlContext context,
org.xml.sax.Locator locator, java.lang.Exception e,
java.lang.String code)
Notifies the handler of an unrecoverable error condition.
void ignorableWhitespace(char[] ch, int start, int length)

void info(XmlContext context, org.xml.sax.Locator locator,


java.lang.Exception e, java.lang.String code)
Notifies the handler of an information condition.
void processingInstruction(java.lang.String target,
java.lang.String data)

void remark(XmlContext context,


org.xml.sax.Locator locator, java.lang.Exception e,
java.lang.String code)
Notifies the handler of a remark condition.
org.xml.sax.InputSource resolveEntity(java.lang.String publicId,
java.lang.String systemId)

void setContentHandler(org.xml.sax.ContentHandler handler)


Allows an application to register and unregister a ContentHandler for this
supplier.
void setDocumentLocator(org.xml.sax.Locator locator)

void setEntityResolver(org.xml.sax.EntityResolver resolver)

void setPropertyProvider(PropertyProvider policies)

void setXmlRemarkHandler(XmlRemarkHandler handler)


Allows an application to register and unregister an XmlRemarkHandler
for this supplier.
void setXmlStreamHandler(XmlStreamHandler handler)
Allows an application to register an XmlStreamHandler for this supplier.
void skippedEntity(java.lang.String name)

void startDocument()

void startElement(java.lang.String namespaceURI,


java.lang.String localName, java.lang.String qName,
org.xml.sax.Attributes atts)
void startPrefixMapping(java.lang.String prefix,
java.lang.String uri)

void warning(XmlContext context,


org.xml.sax.Locator locator, java.lang.Exception e,
java.lang.String code)
Notifies the handler of a warning condition.

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait

Constructor Detail
Validator_SAX_Remark_InternalCache

public Validator_SAX_Remark_InternalCache()

Method Detail
setDocumentLocator

public void setDocumentLocator(org.xml.sax.Locator locator)


Specified by:
setDocumentLocator in interface org.xml.sax.ContentHandler

startDocument

public void startDocument()


throws org.xml.sax.SAXException
Specified by:
startDocument in interface org.xml.sax.ContentHandler

endDocument

public void endDocument()


throws org.xml.sax.SAXException
Specified by:
endDocument in interface org.xml.sax.ContentHandler

startPrefixMapping

public void startPrefixMapping(java.lang.String prefix,


java.lang.String uri)
throws org.xml.sax.SAXException
Specified by:
startPrefixMapping in interface org.xml.sax.ContentHandler

endPrefixMapping

public void endPrefixMapping(java.lang.String prefix)


throws org.xml.sax.SAXException
Specified by:
endPrefixMapping in interface org.xml.sax.ContentHandler

startElement

public void startElement(java.lang.String namespaceURI,


java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
throws org.xml.sax.SAXException
Specified by:
startElement in interface org.xml.sax.ContentHandler

endElement

public void endElement(java.lang.String namespaceURI,


java.lang.String localName,
java.lang.String qName)
throws org.xml.sax.SAXException
Specified by:
endElement in interface org.xml.sax.ContentHandler
characters

public void characters(char[] ch,


int start,
int length)
throws org.xml.sax.SAXException
Specified by:
characters in interface org.xml.sax.ContentHandler

ignorableWhitespace

public void ignorableWhitespace(char[] ch,


int start,
int length)
throws org.xml.sax.SAXException
Specified by:
ignorableWhitespace in interface org.xml.sax.ContentHandler

processingInstruction

public void processingInstruction(java.lang.String target,


java.lang.String data)
throws org.xml.sax.SAXException
Specified by:
processingInstruction in interface org.xml.sax.ContentHandler

skippedEntity

public void skippedEntity(java.lang.String name)


throws org.xml.sax.SAXException
Specified by:
skippedEntity in interface org.xml.sax.ContentHandler

resolveEntity

public org.xml.sax.InputSource resolveEntity(java.lang.String publicId,


java.lang.String systemId)
throws java.io.IOException,
org.xml.sax.SAXException
Specified by:
resolveEntity in interface org.xml.sax.EntityResolver

setContentHandler

public 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.

setXmlStreamHandler

public 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.

setXmlRemarkHandler

public 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.
setEntityResolver

public void setEntityResolver(org.xml.sax.EntityResolver resolver)


Specified by:
setEntityResolver in interface EntityConsumer

fatalError

public void fatalError(XmlContext context,


org.xml.sax.Locator locator,
java.lang.Exception e,
java.lang.String code)
throws org.xml.sax.SAXException
Description copied from interface: XmlRemarkHandler
Notifies the handler of an unrecoverable error condition. This corresponds to the definition of "fatal error"
in section 1.2 of the W3C XML 1.0 Recommendation. For example, a parser would use this callback to
report the violation of a well-formedness constraint. The application must assume that the document is
unusable after the parser has invoked this method, and should continue (if at all) only for the sake of
collecting addition error messages: in fact, SAX parsers are free to stop reporting any other events once this
method has been invoked
Specified by:
fatalError in interface XmlRemarkHandler
Following copied from interface: com.tibco.xml.channel.remark.XmlRemarkHandler
Parameters:
context - The logical location in the XMLStream at which the error remark occurred.
locator - The physical location. The caller is obliged to provide a frozen object even though
further progress might be made through the XML Stream.
e - The message.
code - A code representation of the error.
Throws:
org.xml.sax.SAXException -

error

public void error(XmlContext context,


org.xml.sax.Locator locator,
java.lang.Exception e,
java.lang.String code)
throws org.xml.sax.SAXException
Description copied from interface: XmlRemarkHandler
Notifies the handler of an error condition.
Specified by:
error in interface XmlRemarkHandler
Following copied from interface: com.tibco.xml.channel.remark.XmlRemarkHandler
Parameters:
context - The logical location in the XMLStream at which the error remark occurred.
locator - The physical location. The caller is obliged to provide a frozen object even though
further progress might be made through the XML Stream.
e - The message.
code - A code representation of the error.
Throws:
org.xml.sax.SAXException -

warning

public void warning(XmlContext context,


org.xml.sax.Locator locator,
java.lang.Exception e,
java.lang.String code)
throws org.xml.sax.SAXException
Description copied from interface: XmlRemarkHandler
Notifies the handler of a warning condition.
Specified by:
warning in interface XmlRemarkHandler
Following copied from interface: com.tibco.xml.channel.remark.XmlRemarkHandler
Parameters:
context - The logical location in the XMLStream at which the warning remark occurred.
locator - The physical location. The caller is obliged to provide a frozen object even though
further progress might be made through the XML Stream.
code - A code representation of the warning.
e - The message.

info

public void info(XmlContext context,


org.xml.sax.Locator locator,
java.lang.Exception e,
java.lang.String code)
throws org.xml.sax.SAXException
Description copied from interface: XmlRemarkHandler
Notifies the handler of an information condition.
Specified by:
info in interface XmlRemarkHandler
Following copied from interface: com.tibco.xml.channel.remark.XmlRemarkHandler
Parameters:
context - The logical location in the XMLStream at which the information remark occurred.
locator - The physical location. The caller is obliged to provide a frozen object even though
further progress might be made through the XML Stream.
code - A code representation of the information.
e - The message.

remark

public void remark(XmlContext context,


org.xml.sax.Locator locator,
java.lang.Exception e,
java.lang.String code)
throws org.xml.sax.SAXException
Description copied from interface: XmlRemarkHandler
Notifies the handler of a remark condition. A remark is made when the caller is not qualified to judge a
severity or classification otherwise of the message. The handler will typically inspect the exception to
determine the action.
Specified by:
remark in interface XmlRemarkHandler
Following copied from interface: com.tibco.xml.channel.remark.XmlRemarkHandler
Parameters:
context - The logical location in the XMLStream at which the remark occurred.
locator - The physical location. The caller is obliged to provide a frozen object even though
further progress might be made through the XML Stream.
code - A code representation of the remark.
e - The message.

setPropertyProvider

public void setPropertyProvider(PropertyProvider policies)


Specified by:
setPropertyProvider in interface PropertyConsumer

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.validation
Class Version

java.lang.Object
|
+--com.tibco.xml.validation.Version

public final class Version


extends java.lang.Object
Shows the current version number and build date. Provides a "main()" method to output this information
to System.out.

Method Summary
static java.lang.String id()

static void main(java.lang.String[] args)


Print the version string to System.out.

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait

Method Detail
id

public static java.lang.String id()


Returns:
the version string
main

public static void main(java.lang.String[] args)


Print the version string to System.out.

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.data.context
Interface XmlContext
All Superinterfaces:
NamespaceResolver, NamespaceToPrefixResolver, PrefixToNamespaceResolver, XmlNode, XmlProps,
XmlTypes
All Known Implementing Classes:
XmlContextOnXmlCursor

public interface XmlContext


extends XmlNode

Provides access to data and type information for an attribute or element within an information set.

Inner classes inherited from class com.tibco.xml.data.primitive.NamespaceToPrefixResolver


NamespaceToPrefixResolver.NamespaceNotFoundException

Inner classes inherited from class com.tibco.xml.data.primitive.PrefixToNamespaceResolver


PrefixToNamespaceResolver.PrefixNotFoundException

Fields inherited from interface com.tibco.xml.data.node.XmlNode


POSITION_UNIQUE, POSITION_UNKNOWN

Fields inherited from interface com.tibco.xml.data.node.XmlTypes


ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE,
DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE,
ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NAME_ATTRIBUTE,
NAME_CDATA_SECTION, NAME_COMMENT, NAME_DOCUMENT,
NAME_DOCUMENT_FRAGMENT, NAME_DOCUMENT_TYPE, NAME_ELEMENT,
NAME_ENTITY, NAME_ENTITY_REFERENCE, NAME_NAMESPACE, NAME_NOTATION,
NAME_PROCESSING_INSTRUCTION, NAME_TEXT, NAMESPACE_NODE,
NOTATION_NODE, NULL_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE,
XML_TYPE_MAXIMUM, XML_TYPE_MINIMUM

Fields inherited from interface com.tibco.xml.data.node.XmlProps


PROP_ATTRIBUTES, PROP_BASE_URI, PROP_CHILDREN, PROP_CONTENT,
PROP_DECLARATION, PROP_NAME, PROP_NAMESPACES, PROP_PREFIX,
PROP_SCHEMA, PROP_TYPE, PROP_VALUE, PROP_XSI_NIL, PROP_XSI_TYPE

Method Summary
XmlContext getAttribute(ExpandedName name)
Return the attribute with the specified name.
XmlContext getFirstAttribute()
Return the first attribute context of this context.
XmlContext getFirstChild()
Return the first child context of this context.
XmlContext getFirstNamespace()
Return the first namespace context of this context.
XmlContext getFollowingSibling()
Return the context immediately following this context.
XmlContext getLastChild()
Return the last child context of this context.
XmlContext getNamespace(java.lang.String prefix)
Return the namespace with the specified prefix.
XmlContext getNextAttribute()
Return the next sibling attribute context of this attribute.
XmlContext getNextNamespace()
Return the next namespace context of this namespace.
XmlContext getParent()
Return the parent context of this context.
XmlContext getPrecedingSibling()
Return the context immediately preceeding this context.
XmlContext getRoot()
Return the document node context.

Methods inherited from interface com.tibco.xml.data.node.XmlNode


getAttributeValue, getBaseURI, getDeclaration, getName, getNodeType,
getPosition, getPrefix, getSchema, getType, getValue, getXsiNil,
getXsiType, hasAttributes, hasChildren, setDeclaration, setSchema,
setType, setValue

Methods inherited from interface com.tibco.xml.data.primitive.NamespaceToPrefixResolver


getPrefixForNamespaceURI
Methods inherited from interface com.tibco.xml.data.primitive.PrefixToNamespaceResolver
getNamespaceURIForPrefix

Method Detail
getFirstChild

public XmlContext getFirstChild()


throws UnsupportedAxisException
Return the first child context of this context.
Returns:
The first child context. May return null if this context has no children.
Throws:
UnsupportedAxisException - If the operation is not supported by the information set paradigm.

getFollowingSibling

public XmlContext getFollowingSibling()


throws UnsupportedAxisException
Return the context immediately following this context.
Returns:
The next context. May return null if this the last context.
Throws:
UnsupportedAxisException - If the operation is not supported by the information set paradigm.

getLastChild

public XmlContext getLastChild()


throws UnsupportedAxisException
Return the last child context of this context.
Returns:
The last child context. May return null if this context has no children.
Throws:
UnsupportedAxisException - If the operation is not supported by the information set paradigm.
getPrecedingSibling

public XmlContext getPrecedingSibling()


throws UnsupportedAxisException
Return the context immediately preceeding this context.
Returns:
The next context. May return null if this the first context.
Throws:
UnsupportedAxisException - If the operation is not supported by the information set paradigm.

getParent

public XmlContext getParent()


Return the parent context of this context. Returns null on the root of a document.
Returns:
The parent context. May return null if this context is the root.

getRoot

public XmlContext getRoot()


Return the document node context.
Returns:
The document node context.

getAttribute

public XmlContext getAttribute(ExpandedName name)


Return the attribute with the specified name.
Parameters:
name - The name of the attribute.
Returns:
The attribute context. May return null if this context has no attributes.

getFirstAttribute

public XmlContext getFirstAttribute()


Return the first attribute context of this context.
Returns:
The first attribute context. May return null if this context has no attributes.

getNextAttribute

public XmlContext getNextAttribute()


Return the next sibling attribute context of this attribute.
Returns:
The next attribute context. Returns null at the end of the attributes.

getNamespace

public XmlContext getNamespace(java.lang.String prefix)


throws com.tibco.xml.data.context.PrefixNotFoundException
Return the namespace with the specified prefix.
Parameters:
prefix - The prefix for the namespace.
Returns:
The attribute context. May return null if this context has no namespace.
Throws:
com.tibco.xml.data.context.PrefixNotFoundException - If there is no such prefix.

getFirstNamespace

public XmlContext getFirstNamespace()


Return the first namespace context of this context. Only namespaces declared in this very context are returned
Returns:
The first namespace context. May return null if this context declares no namespaces of its own.

getNextNamespace

public XmlContext getNextNamespace()


Return the next namespace context of this namespace.
Returns:
The next namespace context. Returns null at the end of the namespaces.

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.channel.context
Interface XmlContextConsumer
public interface XmlContextConsumer
Implemented by components that require an XML Context from an XmlContextProvider to operate.

Method Summary
void setXmlContextProvider(XmlContextProvider provider)

Method Detail
setXmlContextProvider

public void setXmlContextProvider(XmlContextProvider provider)

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.data.context.helpers
Class XmlContextOnXmlCursor

java.lang.Object
|
+--com.tibco.xml.data.context.helpers.XmlContextOnXmlCursor
All Implemented Interfaces:
NamespaceResolver, NamespaceToPrefixResolver, PrefixToNamespaceResolver, XmlContext, XmlNode,
XmlProps, XmlTypes

public class XmlContextOnXmlCursor


extends java.lang.Object
implements XmlContext

Inner classes inherited from class com.tibco.xml.data.primitive.NamespaceToPrefixResolver


NamespaceToPrefixResolver.NamespaceNotFoundException

Inner classes inherited from class com.tibco.xml.data.primitive.PrefixToNamespaceResolver


PrefixToNamespaceResolver.PrefixNotFoundException

Fields inherited from interface com.tibco.xml.data.node.XmlNode


POSITION_UNIQUE, POSITION_UNKNOWN

Fields inherited from interface com.tibco.xml.data.node.XmlTypes


ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE,
DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE,
ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NAME_ATTRIBUTE,
NAME_CDATA_SECTION, NAME_COMMENT, NAME_DOCUMENT,
NAME_DOCUMENT_FRAGMENT, NAME_DOCUMENT_TYPE, NAME_ELEMENT,
NAME_ENTITY, NAME_ENTITY_REFERENCE, NAME_NAMESPACE, NAME_NOTATION,
NAME_PROCESSING_INSTRUCTION, NAME_TEXT, NAMESPACE_NODE,
NOTATION_NODE, NULL_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE,
XML_TYPE_MAXIMUM, XML_TYPE_MINIMUM
Fields inherited from interface com.tibco.xml.data.node.XmlProps
PROP_ATTRIBUTES, PROP_BASE_URI, PROP_CHILDREN, PROP_CONTENT,
PROP_DECLARATION, PROP_NAME, PROP_NAMESPACES, PROP_PREFIX,
PROP_SCHEMA, PROP_TYPE, PROP_VALUE, PROP_XSI_NIL, PROP_XSI_TYPE

Constructor Summary
XmlContextOnXmlCursor(XmlCursor cursor)

Method Summary
XmlContext getAttribute(ExpandedName name)
Return the attribute with the specified name.
java.lang.String getAttributeValue(ExpandedName name)
Returns the value of the attribute with the specified name.
java.lang.String getBaseURI()
Return the value of the xml:base attribute, if defined or null.
SmDataComponent getDeclaration()
Returns the declaration for this context.
XmlContext getFirstAttribute()
Return the first attribute context of this context.
XmlContext getFirstChild()
Return the first child context of this context.
XmlContext getFirstNamespace()
Return the first namespace context of this context.
XmlContext getFollowingSibling()
Return the context immediately following this context.
XmlContext getLastChild()
Return the last child context of this context.
ExpandedName getName()
Return the expanded name of this node, depending upon the type.
XmlContext getNamespace(java.lang.String prefix)
Return the namespace with the specified prefix.
java.lang.String getNamespaceURIForPrefix(java.lang.String prefix)
Given a prefix, get the corresponding namespace URI.
XmlContext getNextAttribute()
Return the next sibling attribute context of this attribute.
XmlContext getNextNamespace()
Return the next namespace context of this namespace.
short getNodeType()
A code corresponding to the underlying node type.
XmlContext getParent()
Return the parent context of this context.
int getPosition()
Return the position of this context in the set of siblings that contains this
context and that have the same name.
XmlContext getPrecedingSibling()
Return the context immediately preceeding this context.
java.lang.String getPrefix()
Return the prefix of this node, depending upon the type.
java.lang.String getPrefixForNamespaceURI(java.lang.String namespaceURI)
Given a namespace, get the corrisponding prefix.
XmlContext getRoot()
Return the document node context.
SmSchema getSchema()
Returns the schema for this context.
SmType getType()
Returns the type for this context.
XmlValue getValue()
Return the value of this node.
boolean getXsiNil()
Return the value of the xsi:nil attribute.
QName getXsiType()
Return the value of the xsi:type attribute if defined, or null.
boolean hasAttributes()
Determines whether the current information item has any attributes.
boolean hasChildren()
Determines whether the current information item has any attributes.
void setDeclaration(SmDataComponent decl)
Sets the declaration for this context.
void setSchema(SmSchema schema)
Sets the schema model for this context.
void setType(SmType type)
Sets the type for this context.
void setValue(XmlValue value)
Sets the value of this node.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait

Constructor Detail
XmlContextOnXmlCursor

public XmlContextOnXmlCursor(XmlCursor cursor)

Method Detail
getName

public ExpandedName getName()


Description copied from interface: XmlNode
Return the expanded name of this node, depending upon the type.
Specified by:
getName in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
The name of this node.

getPrefix

public java.lang.String getPrefix()


Description copied from interface: XmlNode
Return the prefix of this node, depending upon the type.
Specified by:
getPrefix in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
The prefix of this node.
getNodeType

public short getNodeType()


Description copied from interface: XmlNode
A code corresponding to the underlying node type.
Specified by:
getNodeType in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
The type of this node.

getBaseURI

public java.lang.String getBaseURI()


Description copied from interface: XmlNode
Return the value of the xml:base attribute, if defined or null.
Specified by:
getBaseURI in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
The value of the xml:base attribute.

getXsiType

public QName getXsiType()


Description copied from interface: XmlNode
Return the value of the xsi:type attribute if defined, or null. This method only applies to element nodes.
Specified by:
getXsiType in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
The value of the xsi:type attribute.

getXsiNil

public boolean getXsiNil()


Description copied from interface: XmlNode
Return the value of the xsi:nil attribute. This method only applies to element nodes.
Specified by:
getXsiNil in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
The value of the xsi:nil attribute.

getValue

public XmlValue getValue()


Description copied from interface: XmlNode
Return the value of this node.
Specified by:
getValue in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
The value of this node.

setValue

public void setValue(XmlValue value)


Description copied from interface: XmlNode
Sets the value of this node.
Specified by:
setValue in interface XmlNode

getSchema

public SmSchema getSchema()


Description copied from interface: XmlNode
Returns the schema for this context.
Specified by:
getSchema in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
The schema for this context. May be null if the schema does not exist or was not resolved.
setSchema

public void setSchema(SmSchema schema)


Description copied from interface: XmlNode
Sets the schema model for this context.
Specified by:
setSchema in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Parameters:
schema - The schema model.

getDeclaration

public SmDataComponent getDeclaration()


Description copied from interface: XmlNode
Returns the declaration for this context. May return null if there is no declaration for this context.
Specified by:
getDeclaration in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
The declaration for this context.

setDeclaration

public void setDeclaration(SmDataComponent decl)


Description copied from interface: XmlNode
Sets the declaration for this context.
Specified by:
setDeclaration in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Parameters:
declaration - The declaration.

getType

public SmType getType()


Description copied from interface: XmlNode
Returns the type for this context. May return null if there is no declaration for this context.
Specified by:
getType in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
The type for this context.

setType

public void setType(SmType type)


Description copied from interface: XmlNode
Sets the type for this context.
Specified by:
setType in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Parameters:
type - The type.

getPosition

public int getPosition()


Description copied from interface: XmlNode
Return the position of this context in the set of siblings that contains this context and that have the same name.
That is, if this context has the name "foo", return "n" such that "foo[n]" evaluated on the parent context returns
this context. May return UNKNOWN_POSITION, if the implementation does not have position information.
Result is undefined when isAttribute() is true.
Specified by:
getPosition in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
The position of this context in the set of siblings with the same name as this context.

hasAttributes

public boolean hasAttributes()


Description copied from interface: XmlNode
Determines whether the current information item has any attributes.
Specified by:
hasAttributes in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
true if the current information item has attributes, otherwise false.

hasChildren

public boolean hasChildren()


Description copied from interface: XmlNode
Determines whether the current information item has any attributes.
Specified by:
hasChildren in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
true if the current information item has attributes, otherwise false.

getAttributeValue

public java.lang.String getAttributeValue(ExpandedName name)


Description copied from interface: XmlNode
Returns the value of the attribute with the specified name. Returns null if the attribute does not exist.
Specified by:
getAttributeValue in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Parameters:
name - The name of the attribute.
Returns:
The value of the attribute, or null if it does not exist.

getFirstChild

public XmlContext getFirstChild()


throws UnsupportedAxisException
Description copied from interface: XmlContext
Return the first child context of this context.
Specified by:
getFirstChild in interface XmlContext
Following copied from interface: com.tibco.xml.data.context.XmlContext
Returns:
The first child context. May return null if this context has no children.
Throws:
UnsupportedAxisException - If the operation is not supported by the information set paradigm.

getFollowingSibling

public XmlContext getFollowingSibling()


throws UnsupportedAxisException
Description copied from interface: XmlContext
Return the context immediately following this context.
Specified by:
getFollowingSibling in interface XmlContext
Following copied from interface: com.tibco.xml.data.context.XmlContext
Returns:
The next context. May return null if this the last context.
Throws:
UnsupportedAxisException - If the operation is not supported by the information set paradigm.

getLastChild

public XmlContext getLastChild()


throws UnsupportedAxisException
Description copied from interface: XmlContext
Return the last child context of this context.
Specified by:
getLastChild in interface XmlContext
Following copied from interface: com.tibco.xml.data.context.XmlContext
Returns:
The last child context. May return null if this context has no children.
Throws:
UnsupportedAxisException - If the operation is not supported by the information set paradigm.

getPrecedingSibling

public XmlContext getPrecedingSibling()


throws UnsupportedAxisException
Description copied from interface: XmlContext
Return the context immediately preceeding this context.
Specified by:
getPrecedingSibling in interface XmlContext
Following copied from interface: com.tibco.xml.data.context.XmlContext
Returns:
The next context. May return null if this the first context.
Throws:
UnsupportedAxisException - If the operation is not supported by the information set paradigm.

getParent

public XmlContext getParent()


Description copied from interface: XmlContext
Return the parent context of this context. Returns null on the root of a document.
Specified by:
getParent in interface XmlContext
Following copied from interface: com.tibco.xml.data.context.XmlContext
Returns:
The parent context. May return null if this context is the root.

getRoot

public XmlContext getRoot()


Description copied from interface: XmlContext
Return the document node context.
Specified by:
getRoot in interface XmlContext
Following copied from interface: com.tibco.xml.data.context.XmlContext
Returns:
The document node context.

getAttribute

public XmlContext getAttribute(ExpandedName name)


Description copied from interface: XmlContext
Return the attribute with the specified name.
Specified by:
getAttribute in interface XmlContext
Following copied from interface: com.tibco.xml.data.context.XmlContext
Parameters:
name - The name of the attribute.
Returns:
The attribute context. May return null if this context has no attributes.

getFirstAttribute

public XmlContext getFirstAttribute()


Description copied from interface: XmlContext
Return the first attribute context of this context.
Specified by:
getFirstAttribute in interface XmlContext
Following copied from interface: com.tibco.xml.data.context.XmlContext
Returns:
The first attribute context. May return null if this context has no attributes.

getNextAttribute

public XmlContext getNextAttribute()


Description copied from interface: XmlContext
Return the next sibling attribute context of this attribute.
Specified by:
getNextAttribute in interface XmlContext
Following copied from interface: com.tibco.xml.data.context.XmlContext
Returns:
The next attribute context. Returns null at the end of the attributes.

getNamespace

public XmlContext getNamespace(java.lang.String prefix)


throws
com.tibco.xml.data.context.helpers.PrefixNotFoundException
Description copied from interface: XmlContext
Return the namespace with the specified prefix.
Specified by:
getNamespace in interface XmlContext
Following copied from interface: com.tibco.xml.data.context.XmlContext
Parameters:
prefix - The prefix for the namespace.
Returns:
The attribute context. May return null if this context has no namespace.
Throws:
com.tibco.xml.data.context.PrefixNotFoundException - If there is no such prefix.

getFirstNamespace

public XmlContext getFirstNamespace()


Description copied from interface: XmlContext
Return the first namespace context of this context. Only namespaces declared in this very context are returned
Specified by:
getFirstNamespace in interface XmlContext
Following copied from interface: com.tibco.xml.data.context.XmlContext
Returns:
The first namespace context. May return null if this context declares no namespaces of its own.

getNextNamespace

public XmlContext getNextNamespace()


Description copied from interface: XmlContext
Return the next namespace context of this namespace.
Specified by:
getNextNamespace in interface XmlContext
Following copied from interface: com.tibco.xml.data.context.XmlContext
Returns:
The next namespace context. Returns null at the end of the namespaces.

getNamespaceURIForPrefix

public java.lang.String getNamespaceURIForPrefix(java.lang.String prefix)


throws
com.tibco.xml.data.context.helpers.PrefixNotFoundException
Description copied from interface: PrefixToNamespaceResolver
Given a prefix, get the corresponding namespace URI. This API can also be used to determine if an xmlns
attribute exists with the specified prefix.
Specified by:
getNamespaceURIForPrefix in interface PrefixToNamespaceResolver
Following copied from interface:
com.tibco.xml.data.primitive.PrefixToNamespaceResolver
Parameters:
prefix - The prefix to look up. The prefix cannot be null, which is considered to be an unitialized
value and will cause an IllegalArgumentException. A prefix that corresponds to the default namespace is
signified by a zero-length string.
Returns:
The associated namespace URI. Returns null if no xmlns specification exists.
Throws:
PrefixToNamespaceResolver.PrefixNotFoundException - If the prefix cannot be found.

getPrefixForNamespaceURI

public java.lang.String getPrefixForNamespaceURI(java.lang.String namespaceURI)


throws
com.tibco.xml.data.context.helpers.NamespaceNotFoundException
Description copied from interface: NamespaceToPrefixResolver
Given a namespace, get the corrisponding prefix.
Specified by:
getPrefixForNamespaceURI in interface NamespaceToPrefixResolver
Following copied from interface:
com.tibco.xml.data.primitive.NamespaceToPrefixResolver
Parameters:
namespaceURI - The namespace URI to look up.
Returns:
The associated prefix.
Throws:
NamespaceToPrefixResolver.NamespaceNotFoundException - If the namespace cannot
be found by the NamespaceToPrefixResolver.

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.channel.context
Interface XmlContextProvider
public interface XmlContextProvider
Implemented by components that can provide an XML Context through a pull mechanism to an
XmlContextConsumer.

Method Summary
XmlContext getDocumentXmlContext()

Method Detail
getDocumentXmlContext

public XmlContext getDocumentXmlContext()

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.data.cursor
Interface XmlCursor
All Superinterfaces:
NamespaceResolver, NamespaceToPrefixResolver, PrefixToNamespaceResolver,
com.tibco.xml.data.cursor.XmlAttributeCursor, com.tibco.xml.data.cursor.XmlNamespaceCursor, XmlNode,
XmlProps, XmlTypes
All Known Implementing Classes:
XmlCursorNoNavigation, XmlCursor4DOM, XmlCursorOnXmlContext

public interface XmlCursor


extends XmlNode, com.tibco.xml.data.cursor.XmlAttributeCursor, com.tibco.xml.data.cursor.XmlNamespaceCursor
Provides access to data and type information for an XML information set item. The XmlCursor design enables a state
machine to be built over arbitrary Java objects so that they may be inspected as XML information sets. In particular,
they may be streamed, validated, and queried using XPath.

Inner classes inherited from class com.tibco.xml.data.primitive.NamespaceToPrefixResolver


NamespaceToPrefixResolver.NamespaceNotFoundException

Inner classes inherited from class com.tibco.xml.data.primitive.PrefixToNamespaceResolver


PrefixToNamespaceResolver.PrefixNotFoundException

Fields inherited from interface com.tibco.xml.data.node.XmlNode


POSITION_UNIQUE, POSITION_UNKNOWN

Fields inherited from interface com.tibco.xml.data.node.XmlTypes


ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE,
DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE,
ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NAME_ATTRIBUTE,
NAME_CDATA_SECTION, NAME_COMMENT, NAME_DOCUMENT,
NAME_DOCUMENT_FRAGMENT, NAME_DOCUMENT_TYPE, NAME_ELEMENT,
NAME_ENTITY, NAME_ENTITY_REFERENCE, NAME_NAMESPACE, NAME_NOTATION,
NAME_PROCESSING_INSTRUCTION, NAME_TEXT, NAMESPACE_NODE,
NOTATION_NODE, NULL_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE,
XML_TYPE_MAXIMUM, XML_TYPE_MINIMUM
Fields inherited from interface com.tibco.xml.data.node.XmlProps
PROP_ATTRIBUTES, PROP_BASE_URI, PROP_CHILDREN, PROP_CONTENT,
PROP_DECLARATION, PROP_NAME, PROP_NAMESPACES, PROP_PREFIX,
PROP_SCHEMA, PROP_TYPE, PROP_VALUE, PROP_XSI_NIL, PROP_XSI_TYPE

Method Summary
java.lang.Object clone()
Makes a copy of the cursor.
boolean moveToAttribute(ExpandedName name)
Moves the cursor to the attribute specified by name.
boolean moveToFirstAttribute()
Moves the cursor to the current information item's first attribute.
boolean moveToFirstChild()
Moves the cursor to the current information item's first child information
item.
boolean moveToFirstNamespace()
Moves the cursor to the current information item's first namespace.
boolean moveToFollowingSibling()
Moves the cursor to the current information item's next sibling
information item.
boolean moveToLastChild()
Moves the cursor to the current information item's last child information
item.
boolean moveToNamespace(java.lang.String prefix)
Moves the cursor to the namespace specified by prefix.
boolean moveToNextAttribute()
Moves the attribute to the next sibling attribute.
boolean moveToNextNamespace()
Moves the namespace to the next sibling namespace.
boolean moveToParent()
Moves the cursor up to the current information item's parent information
item.
boolean moveToPrecedingSibling()
Moves the cursor to the current information item's previous sibling
information item.
void moveToRoot()
Moves the cursor back to the document information item.
Methods inherited from interface com.tibco.xml.data.node.XmlNode
getAttributeValue, getBaseURI, getDeclaration, getName, getNodeType,
getPosition, getPrefix, getSchema, getType, getValue, getXsiNil,
getXsiType, hasAttributes, hasChildren, setDeclaration, setSchema,
setType, setValue

Methods inherited from interface com.tibco.xml.data.primitive.NamespaceToPrefixResolver


getPrefixForNamespaceURI

Methods inherited from interface com.tibco.xml.data.primitive.PrefixToNamespaceResolver


getNamespaceURIForPrefix

Method Detail
moveToFirstChild

public boolean moveToFirstChild()


throws UnsupportedAxisException
Moves the cursor to the current information item's first child information item.
Returns:
Returns true if the cursor can be moved, otherwise false.
Throws:
UnsupportedAxisException - If the operation is not supported by the information set paradigm.

moveToFollowingSibling

public boolean moveToFollowingSibling()


throws UnsupportedAxisException
Moves the cursor to the current information item's next sibling information item.
Returns:
Returns true if the cursor can be moved, otherwise false.
Throws:
UnsupportedAxisException - If the operation is not supported by the information set paradigm.
moveToLastChild

public boolean moveToLastChild()


throws UnsupportedAxisException
Moves the cursor to the current information item's last child information item.
Returns:
Returns true if the cursor can be moved, otherwise false.
Throws:
UnsupportedAxisException - If the operation is not supported by the information set paradigm.

moveToPrecedingSibling

public boolean moveToPrecedingSibling()


throws UnsupportedAxisException
Moves the cursor to the current information item's previous sibling information item.
Returns:
Returns true if the cursor can be moved, otherwise false.
Throws:
UnsupportedAxisException - If the operation is not supported by the information set paradigm.

moveToParent

public boolean moveToParent()


Moves the cursor up to the current information item's parent information item.
Returns:
Returns true if the cursor can be moved, otherwise false.

moveToRoot

public void moveToRoot()


Moves the cursor back to the document information item.

clone

public java.lang.Object clone()


Makes a copy of the cursor. A copy should return the same values when the cursor upon which it was based is
moved.
Overrides:
clone in class java.lang.Object
Returns:
An Object that may be cast to an XmlCursor.

moveToAttribute

public boolean moveToAttribute(ExpandedName name)


Moves the cursor to the attribute specified by name.
Parameters:
name - The name of the attribute.
Returns:
Returns true if the cursor can be moved, otherwise false.

moveToFirstAttribute

public boolean moveToFirstAttribute()


Moves the cursor to the current information item's first attribute.
Returns:
Returns true if the cursor can be moved, otherwise false.

moveToNextAttribute

public boolean moveToNextAttribute()


Moves the attribute to the next sibling attribute.
Returns:
Returns true if the cursor can be moved, otherwise false.

moveToNamespace

public boolean moveToNamespace(java.lang.String prefix)


throws PrefixToNamespaceResolver.PrefixNotFoundException
Moves the cursor to the namespace specified by prefix.
Parameters:
prefix - The prefix of the namespace.
Returns:
Returns true if the cursor can be moved, otherwise false.
Throws:
PrefixNotFoundException - If the prefix does not exist.
moveToFirstNamespace

public boolean moveToFirstNamespace()


Moves the cursor to the current information item's first namespace.
Returns:
Returns true if the cursor can be moved, otherwise false.

moveToNextNamespace

public boolean moveToNextNamespace()


Moves the namespace to the next sibling namespace.
Returns:
Returns true if the cursor can be moved, otherwise false.

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.data.cursor.helpers
Class XmlCursor4DOM

java.lang.Object
|
+--com.tibco.xml.data.cursor.helpers.XmlCursor4DOM
All Implemented Interfaces:
NamespaceResolver, NamespaceToPrefixResolver, PrefixToNamespaceResolver,
com.tibco.xml.data.cursor.XmlAttributeCursor, XmlCursor, com.tibco.xml.data.cursor.XmlNamespaceCursor,
XmlNode, XmlProps, XmlTypes

public class XmlCursor4DOM


extends java.lang.Object
implements XmlCursor

Inner classes inherited from class com.tibco.xml.data.primitive.NamespaceToPrefixResolver


NamespaceToPrefixResolver.NamespaceNotFoundException

Inner classes inherited from class com.tibco.xml.data.primitive.PrefixToNamespaceResolver


PrefixToNamespaceResolver.PrefixNotFoundException

Fields inherited from interface com.tibco.xml.data.node.XmlNode


POSITION_UNIQUE, POSITION_UNKNOWN

Fields inherited from interface com.tibco.xml.data.node.XmlTypes


ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE,
DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE,
ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NAME_ATTRIBUTE,
NAME_CDATA_SECTION, NAME_COMMENT, NAME_DOCUMENT,
NAME_DOCUMENT_FRAGMENT, NAME_DOCUMENT_TYPE, NAME_ELEMENT,
NAME_ENTITY, NAME_ENTITY_REFERENCE, NAME_NAMESPACE, NAME_NOTATION,
NAME_PROCESSING_INSTRUCTION, NAME_TEXT, NAMESPACE_NODE,
NOTATION_NODE, NULL_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE,
XML_TYPE_MAXIMUM, XML_TYPE_MINIMUM
Fields inherited from interface com.tibco.xml.data.node.XmlProps
PROP_ATTRIBUTES, PROP_BASE_URI, PROP_CHILDREN, PROP_CONTENT,
PROP_DECLARATION, PROP_NAME, PROP_NAMESPACES, PROP_PREFIX,
PROP_SCHEMA, PROP_TYPE, PROP_VALUE, PROP_XSI_NIL, PROP_XSI_TYPE

Constructor Summary
XmlCursor4DOM(org.w3c.dom.Node currentNode)

Method Summary
java.lang.Object clone()
Makes a copy of the cursor.
java.lang.String getAttributeValue(ExpandedName name)
Returns the value of the attribute with the specified name.
java.lang.String getBaseURI()
Return the value of the xml:base attribute, if defined or null.
static java.lang.String getBaseURI(org.w3c.dom.Element element)
The value of the xml:base attribute on an element.
org.w3c.dom.Node getCurrentNode()

SmDataComponent getDeclaration()
Returns the declaration for this context.
ExpandedName getName()
Return the expanded name of this node, depending upon the type.
java.lang.String getNamespaceURIForPrefix(java.lang.String prefix)
Given a prefix, get the corresponding namespace URI.
short getNodeType()
A code corresponding to the underlying node type.
int getPosition()
Return the position of this context in the set of siblings that contains this
context and that have the same name.
java.lang.String getPrefix()
Return the prefix of this node, depending upon the type.
java.lang.String getPrefixForNamespaceURI(java.lang.String namespaceURI)
Given a namespace, get the corrisponding prefix.
SmSchema getSchema()
Returns the schema for this context.
static void getStringValue(org.w3c.dom.Node node,
java.lang.StringBuffer buffer)

SmType getType()
Returns the type for this context.
XmlValue getValue()
Return the value of this node.
boolean getXsiNil()
Return the value of the xsi:nil attribute.
static boolean getXsiNil(org.w3c.dom.Element element)
The value of the xsi:nil or xsi:null attribute on an element.
QName getXsiType()
Return the value of the xsi:type attribute if defined, or null.
static QName getXsiType(org.w3c.dom.Element element)
The value of the xsi:type attribute on an element.
boolean hasAttributes()
Determines whether the current information item has any attributes.
boolean hasChildren()
Determines whether the current information item has any attributes.
boolean moveToAttribute(ExpandedName name)
Moves the cursor to the attribute specified by name.
boolean moveToFirstAttribute()
Moves the cursor to the current information item's first attribute.
boolean moveToFirstChild()
Moves the cursor to the current information item's first child information
item.
boolean moveToFirstNamespace()
Moves the cursor to the current information item's first namespace.
boolean moveToFollowingSibling()
Moves the cursor to the current information item's next sibling information
item.
boolean moveToLastChild()
Moves the cursor to the current information item's last child information
item.
boolean moveToNamespace(java.lang.String prefix)
Moves the cursor to the namespace specified by prefix.
boolean moveToNextAttribute()
Moves the attribute to the next sibling attribute.
boolean moveToNextNamespace()
Moves the namespace to the next sibling namespace.
boolean moveToParent()
Moves the cursor up to the current information item's parent information
item.
boolean moveToPrecedingSibling()
Moves the cursor to the current information item's previous sibling
information item.
void moveToRoot()
Moves the cursor back to the document information item.
void setCurrentNode(org.w3c.dom.Node currentNode)

void setDeclaration(SmDataComponent declaration)


Sets the declaration for this context.
void setSchema(SmSchema schema)
Sets the schema model for this context.
void setType(SmType type)
Sets the type for this context.
void setValue(XmlValue value)
Sets the value of this node.

Methods inherited from class java.lang.Object


equals, finalize, getClass, hashCode, notify, notifyAll, toString,
wait, wait, wait

Constructor Detail
XmlCursor4DOM

public XmlCursor4DOM(org.w3c.dom.Node currentNode)

Method Detail
setCurrentNode

public void setCurrentNode(org.w3c.dom.Node currentNode)


getCurrentNode

public org.w3c.dom.Node getCurrentNode()

getName

public ExpandedName getName()


Description copied from interface: XmlNode
Return the expanded name of this node, depending upon the type.
Specified by:
getName in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
The name of this node.

getPrefix

public java.lang.String getPrefix()


Description copied from interface: XmlNode
Return the prefix of this node, depending upon the type.
Specified by:
getPrefix in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
The prefix of this node.

getNodeType

public short getNodeType()


Description copied from interface: XmlNode
A code corresponding to the underlying node type.
Specified by:
getNodeType in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
The type of this node.
getValue

public XmlValue getValue()


Description copied from interface: XmlNode
Return the value of this node.
Specified by:
getValue in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
The value of this node.

setValue

public void setValue(XmlValue value)


Description copied from interface: XmlNode
Sets the value of this node.
Specified by:
setValue in interface XmlNode

getBaseURI

public java.lang.String getBaseURI()


Description copied from interface: XmlNode
Return the value of the xml:base attribute, if defined or null.
Specified by:
getBaseURI in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
The value of the xml:base attribute.

getXsiType

public QName getXsiType()


Description copied from interface: XmlNode
Return the value of the xsi:type attribute if defined, or null. This method only applies to element nodes.
Specified by:
getXsiType in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
The value of the xsi:type attribute.

getXsiNil

public boolean getXsiNil()


Description copied from interface: XmlNode
Return the value of the xsi:nil attribute. This method only applies to element nodes.
Specified by:
getXsiNil in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
The value of the xsi:nil attribute.

getSchema

public SmSchema getSchema()


Description copied from interface: XmlNode
Returns the schema for this context.
Specified by:
getSchema in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
The schema for this context. May be null if the schema does not exist or was not resolved.

setSchema

public void setSchema(SmSchema schema)


Description copied from interface: XmlNode
Sets the schema model for this context.
Specified by:
setSchema in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Parameters:
schema - The schema model.
getDeclaration

public SmDataComponent getDeclaration()


Description copied from interface: XmlNode
Returns the declaration for this context. May return null if there is no declaration for this context.
Specified by:
getDeclaration in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
The declaration for this context.

setDeclaration

public void setDeclaration(SmDataComponent declaration)


Description copied from interface: XmlNode
Sets the declaration for this context.
Specified by:
setDeclaration in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Parameters:
declaration - The declaration.

getType

public SmType getType()


Description copied from interface: XmlNode
Returns the type for this context. May return null if there is no declaration for this context.
Specified by:
getType in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
The type for this context.

setType

public void setType(SmType type)


Description copied from interface: XmlNode
Sets the type for this context.
Specified by:
setType in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Parameters:
type - The type.

getPosition

public int getPosition()


Description copied from interface: XmlNode
Return the position of this context in the set of siblings that contains this context and that have the same name.
That is, if this context has the name "foo", return "n" such that "foo[n]" evaluated on the parent context returns
this context. May return UNKNOWN_POSITION, if the implementation does not have position information.
Result is undefined when isAttribute() is true.
Specified by:
getPosition in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
The position of this context in the set of siblings with the same name as this context.

getNamespaceURIForPrefix

public java.lang.String getNamespaceURIForPrefix(java.lang.String prefix)


throws
com.tibco.xml.data.cursor.helpers.PrefixNotFoundException
Description copied from interface: PrefixToNamespaceResolver
Given a prefix, get the corresponding namespace URI. This API can also be used to determine if an xmlns
attribute exists with the specified prefix.
Specified by:
getNamespaceURIForPrefix in interface PrefixToNamespaceResolver
Following copied from interface:
com.tibco.xml.data.primitive.PrefixToNamespaceResolver
Parameters:
prefix - The prefix to look up. The prefix cannot be null, which is considered to be an unitialized
value and will cause an IllegalArgumentException. A prefix that corresponds to the default namespace is
signified by a zero-length string.
Returns:
The associated namespace URI. Returns null if no xmlns specification exists.
Throws:
PrefixToNamespaceResolver.PrefixNotFoundException - If the prefix cannot be found.
getPrefixForNamespaceURI

public java.lang.String getPrefixForNamespaceURI(java.lang.String namespaceURI)


throws
com.tibco.xml.data.cursor.helpers.NamespaceNotFoundException
Description copied from interface: NamespaceToPrefixResolver
Given a namespace, get the corrisponding prefix.
Specified by:
getPrefixForNamespaceURI in interface NamespaceToPrefixResolver
Following copied from interface:
com.tibco.xml.data.primitive.NamespaceToPrefixResolver
Parameters:
namespaceURI - The namespace URI to look up.
Returns:
The associated prefix.
Throws:
NamespaceToPrefixResolver.NamespaceNotFoundException - If the namespace cannot
be found by the NamespaceToPrefixResolver.

clone

public java.lang.Object clone()


Description copied from interface: XmlCursor
Makes a copy of the cursor. A copy should return the same values when the cursor upon which it was based is
moved.
Specified by:
clone in interface XmlCursor
Overrides:
clone in class java.lang.Object
Following copied from interface: com.tibco.xml.data.cursor.XmlCursor
Returns:
An Object that may be cast to an XmlCursor.

hasAttributes

public boolean hasAttributes()


Description copied from interface: XmlNode
Determines whether the current information item has any attributes.
Specified by:
hasAttributes in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
true if the current information item has attributes, otherwise false.

hasChildren

public boolean hasChildren()


Description copied from interface: XmlNode
Determines whether the current information item has any attributes.
Specified by:
hasChildren in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
true if the current information item has attributes, otherwise false.

getAttributeValue

public java.lang.String getAttributeValue(ExpandedName name)


Description copied from interface: XmlNode
Returns the value of the attribute with the specified name. Returns null if the attribute does not exist.
Specified by:
getAttributeValue in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Parameters:
name - The name of the attribute.
Returns:
The value of the attribute, or null if it does not exist.

moveToFirstChild

public boolean moveToFirstChild()


Description copied from interface: XmlCursor
Moves the cursor to the current information item's first child information item.
Specified by:
moveToFirstChild in interface XmlCursor
Following copied from interface: com.tibco.xml.data.cursor.XmlCursor
Returns:
Returns true if the cursor can be moved, otherwise false.
Throws:
UnsupportedAxisException - If the operation is not supported by the information set paradigm.

moveToFollowingSibling

public boolean moveToFollowingSibling()


Description copied from interface: XmlCursor
Moves the cursor to the current information item's next sibling information item.
Specified by:
moveToFollowingSibling in interface XmlCursor
Following copied from interface: com.tibco.xml.data.cursor.XmlCursor
Returns:
Returns true if the cursor can be moved, otherwise false.
Throws:
UnsupportedAxisException - If the operation is not supported by the information set paradigm.

moveToLastChild

public boolean moveToLastChild()


Description copied from interface: XmlCursor
Moves the cursor to the current information item's last child information item.
Specified by:
moveToLastChild in interface XmlCursor
Following copied from interface: com.tibco.xml.data.cursor.XmlCursor
Returns:
Returns true if the cursor can be moved, otherwise false.
Throws:
UnsupportedAxisException - If the operation is not supported by the information set paradigm.

moveToPrecedingSibling

public boolean moveToPrecedingSibling()


Description copied from interface: XmlCursor
Moves the cursor to the current information item's previous sibling information item.
Specified by:
moveToPrecedingSibling in interface XmlCursor
Following copied from interface: com.tibco.xml.data.cursor.XmlCursor
Returns:
Returns true if the cursor can be moved, otherwise false.
Throws:
UnsupportedAxisException - If the operation is not supported by the information set paradigm.

moveToParent

public boolean moveToParent()


Description copied from interface: XmlCursor
Moves the cursor up to the current information item's parent information item.
Specified by:
moveToParent in interface XmlCursor
Following copied from interface: com.tibco.xml.data.cursor.XmlCursor
Returns:
Returns true if the cursor can be moved, otherwise false.

moveToRoot

public void moveToRoot()


Description copied from interface: XmlCursor
Moves the cursor back to the document information item.
Specified by:
moveToRoot in interface XmlCursor

moveToAttribute

public boolean moveToAttribute(ExpandedName name)


Description copied from interface: com.tibco.xml.data.cursor.XmlAttributeCursor
Moves the cursor to the attribute specified by name.
Specified by:
moveToAttribute in interface com.tibco.xml.data.cursor.XmlAttributeCursor
Following copied from interface: com.tibco.xml.data.cursor.XmlAttributeCursor
Parameters:
name - The name of the attribute.
Returns:
Returns true if the cursor can be moved, otherwise false.
moveToFirstAttribute

public boolean moveToFirstAttribute()


Description copied from interface: com.tibco.xml.data.cursor.XmlAttributeCursor
Moves the cursor to the current information item's first attribute.
Specified by:
moveToFirstAttribute in interface
com.tibco.xml.data.cursor.XmlAttributeCursor
Following copied from interface: com.tibco.xml.data.cursor.XmlAttributeCursor
Returns:
Returns true if the cursor can be moved, otherwise false.

moveToNextAttribute

public boolean moveToNextAttribute()


Description copied from interface: com.tibco.xml.data.cursor.XmlAttributeCursor
Moves the attribute to the next sibling attribute.
Specified by:
moveToNextAttribute in interface
com.tibco.xml.data.cursor.XmlAttributeCursor
Following copied from interface: com.tibco.xml.data.cursor.XmlAttributeCursor
Returns:
Returns true if the cursor can be moved, otherwise false.

moveToNamespace

public boolean moveToNamespace(java.lang.String prefix)


Description copied from interface: com.tibco.xml.data.cursor.XmlNamespaceCursor
Moves the cursor to the namespace specified by prefix.
Specified by:
moveToNamespace in interface com.tibco.xml.data.cursor.XmlNamespaceCursor
Following copied from interface: com.tibco.xml.data.cursor.XmlNamespaceCursor
Parameters:
prefix - The prefix of the namespace.
Returns:
Returns true if the cursor can be moved, otherwise false.
Throws:
PrefixNotFoundException - If the prefix does not exist.
moveToFirstNamespace

public boolean moveToFirstNamespace()


Description copied from interface: com.tibco.xml.data.cursor.XmlNamespaceCursor
Moves the cursor to the current information item's first namespace.
Specified by:
moveToFirstNamespace in interface
com.tibco.xml.data.cursor.XmlNamespaceCursor
Following copied from interface: com.tibco.xml.data.cursor.XmlNamespaceCursor
Returns:
Returns true if the cursor can be moved, otherwise false.

moveToNextNamespace

public boolean moveToNextNamespace()


Description copied from interface: com.tibco.xml.data.cursor.XmlNamespaceCursor
Moves the namespace to the next sibling namespace.
Specified by:
moveToNextNamespace in interface
com.tibco.xml.data.cursor.XmlNamespaceCursor
Following copied from interface: com.tibco.xml.data.cursor.XmlNamespaceCursor
Returns:
Returns true if the cursor can be moved, otherwise false.

getBaseURI

public static java.lang.String getBaseURI(org.w3c.dom.Element element)


The value of the xml:base attribute on an element. Returns null if the attribute does not exist.
Parameters:
element - The element on which to look for the attribute.
Returns:
The value of the xml:base attribute on the element.

getXsiNil

public static boolean getXsiNil(org.w3c.dom.Element element)


The value of the xsi:nil or xsi:null attribute on an element. Returns false if the attribute does not exist.
Parameters:
element - The element on which to look for the attribute.
Returns:
The value of the xsi:nil or xsi:null attribute on the element.

getXsiType

public static QName getXsiType(org.w3c.dom.Element element)


The value of the xsi:type attribute on an element. Returns null if the attribute does not exist.
Parameters:
element - The element on which to look for the attribute.
Returns:
The value of the xsi:type attribute on the element.

getStringValue

public static void getStringValue(org.w3c.dom.Node node,


java.lang.StringBuffer buffer)

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.data.cursor.helpers
Class XmlCursorNoNavigation

java.lang.Object
|
+--com.tibco.xml.data.cursor.helpers.XmlCursorNoNavigation
All Implemented Interfaces:
NamespaceResolver, NamespaceToPrefixResolver, PrefixToNamespaceResolver,
com.tibco.xml.data.cursor.XmlAttributeCursor, XmlCursor,
com.tibco.xml.data.cursor.XmlNamespaceCursor, XmlNode, XmlProps, XmlTypes

public abstract class XmlCursorNoNavigation


extends java.lang.Object
implements XmlCursor

A simple XmlCursor helper needed for stream operations. It throws UnsupportedAxisException


for all move operations since you have to 'swim' with the stream.
Since:
Build 0020

Inner classes inherited from class com.tibco.xml.data.primitive.NamespaceToPrefixResolver


NamespaceToPrefixResolver.NamespaceNotFoundException

Inner classes inherited from class com.tibco.xml.data.primitive.PrefixToNamespaceResolver


PrefixToNamespaceResolver.PrefixNotFoundException

Fields inherited from interface com.tibco.xml.data.node.XmlNode


POSITION_UNIQUE, POSITION_UNKNOWN

Fields inherited from interface com.tibco.xml.data.node.XmlTypes


ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE,
DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE,
ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NAME_ATTRIBUTE,
NAME_CDATA_SECTION, NAME_COMMENT, NAME_DOCUMENT,
NAME_DOCUMENT_FRAGMENT, NAME_DOCUMENT_TYPE, NAME_ELEMENT,
NAME_ENTITY, NAME_ENTITY_REFERENCE, NAME_NAMESPACE, NAME_NOTATION,
NAME_PROCESSING_INSTRUCTION, NAME_TEXT, NAMESPACE_NODE,
NOTATION_NODE, NULL_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE,
XML_TYPE_MAXIMUM, XML_TYPE_MINIMUM

Fields inherited from interface com.tibco.xml.data.node.XmlProps


PROP_ATTRIBUTES, PROP_BASE_URI, PROP_CHILDREN, PROP_CONTENT,
PROP_DECLARATION, PROP_NAME, PROP_NAMESPACES, PROP_PREFIX,
PROP_SCHEMA, PROP_TYPE, PROP_VALUE, PROP_XSI_NIL, PROP_XSI_TYPE

Constructor Summary
XmlCursorNoNavigation()

Method Summary
java.lang.Object clone()
Descendants should override.
int getPosition()
Return the position of this context in the set of siblings that contains this
context and that have the same name.
boolean hasAttributes()
Determines whether the current information item has any attributes.
boolean hasChildren()
Determines whether the current information item has any attributes.
boolean moveToAttribute(ExpandedName name)
Moves the cursor to the attribute specified by name.
boolean moveToFirstAttribute()
Moves the cursor to the current information item's first attribute.
boolean moveToFirstChild()
Moves the cursor to the current information item's first child information
item.
boolean moveToFirstNamespace()
Moves the cursor to the current information item's first namespace.
boolean moveToFollowingSibling()
Moves the cursor to the current information item's next sibling
information item.
boolean moveToLastChild()
Moves the cursor to the current information item's last child information
item.
boolean moveToNamespace(java.lang.String prefix)
Moves the cursor to the namespace specified by prefix.
boolean moveToNextAttribute()
Moves the attribute to the next sibling attribute.
boolean moveToNextNamespace()
Moves the namespace to the next sibling namespace.
boolean moveToPrecedingSibling()
Moves the cursor to the current information item's previous sibling
information item.

Methods inherited from class java.lang.Object


equals, finalize, getClass, hashCode, notify, notifyAll, toString,
wait, wait, wait

Methods inherited from interface com.tibco.xml.data.cursor.XmlCursor


moveToParent, moveToRoot

Methods inherited from interface com.tibco.xml.data.node.XmlNode


getAttributeValue, getBaseURI, getDeclaration, getName, getNodeType,
getPrefix, getSchema, getType, getValue, getXsiNil, getXsiType,
setDeclaration, setSchema, setType, setValue
Methods inherited from interface com.tibco.xml.data.primitive.NamespaceToPrefixResolver
getPrefixForNamespaceURI

Methods inherited from interface com.tibco.xml.data.primitive.PrefixToNamespaceResolver


getNamespaceURIForPrefix

Constructor Detail
XmlCursorNoNavigation

public XmlCursorNoNavigation()

Method Detail
moveToFirstChild

public boolean moveToFirstChild()


throws UnsupportedAxisException
Description copied from interface: XmlCursor
Moves the cursor to the current information item's first child information item.
Specified by:
moveToFirstChild in interface XmlCursor
Following copied from interface: com.tibco.xml.data.cursor.XmlCursor
Returns:
Returns true if the cursor can be moved, otherwise false.
Throws:
UnsupportedAxisException - If the operation is not supported by the information set
paradigm.

moveToFollowingSibling

public boolean moveToFollowingSibling()


throws UnsupportedAxisException
Description copied from interface: XmlCursor
Moves the cursor to the current information item's next sibling information item.
Specified by:
moveToFollowingSibling in interface XmlCursor
Following copied from interface: com.tibco.xml.data.cursor.XmlCursor
Returns:
Returns true if the cursor can be moved, otherwise false.
Throws:
UnsupportedAxisException - If the operation is not supported by the information set
paradigm.

moveToLastChild

public boolean moveToLastChild()


throws UnsupportedAxisException
Description copied from interface: XmlCursor
Moves the cursor to the current information item's last child information item.
Specified by:
moveToLastChild in interface XmlCursor
Following copied from interface: com.tibco.xml.data.cursor.XmlCursor
Returns:
Returns true if the cursor can be moved, otherwise false.
Throws:
UnsupportedAxisException - If the operation is not supported by the information set
paradigm.

moveToPrecedingSibling

public boolean moveToPrecedingSibling()


throws UnsupportedAxisException
Description copied from interface: XmlCursor
Moves the cursor to the current information item's previous sibling information item.
Specified by:
moveToPrecedingSibling in interface XmlCursor
Following copied from interface: com.tibco.xml.data.cursor.XmlCursor
Returns:
Returns true if the cursor can be moved, otherwise false.
Throws:
UnsupportedAxisException - If the operation is not supported by the information set
paradigm.

moveToAttribute

public boolean moveToAttribute(ExpandedName name)


Description copied from interface:
com.tibco.xml.data.cursor.XmlAttributeCursor
Moves the cursor to the attribute specified by name.
Specified by:
moveToAttribute in interface
com.tibco.xml.data.cursor.XmlAttributeCursor
Following copied from interface:
com.tibco.xml.data.cursor.XmlAttributeCursor
Parameters:
name - The name of the attribute.
Returns:
Returns true if the cursor can be moved, otherwise false.

moveToFirstAttribute

public boolean moveToFirstAttribute()


Description copied from interface:
com.tibco.xml.data.cursor.XmlAttributeCursor
Moves the cursor to the current information item's first attribute.
Specified by:
moveToFirstAttribute in interface
com.tibco.xml.data.cursor.XmlAttributeCursor
Following copied from interface:
com.tibco.xml.data.cursor.XmlAttributeCursor
Returns:
Returns true if the cursor can be moved, otherwise false.
moveToNextAttribute

public boolean moveToNextAttribute()


Description copied from interface:
com.tibco.xml.data.cursor.XmlAttributeCursor
Moves the attribute to the next sibling attribute.
Specified by:
moveToNextAttribute in interface
com.tibco.xml.data.cursor.XmlAttributeCursor
Following copied from interface:
com.tibco.xml.data.cursor.XmlAttributeCursor
Returns:
Returns true if the cursor can be moved, otherwise false.

hasAttributes

public boolean hasAttributes()


Description copied from interface: XmlNode
Determines whether the current information item has any attributes.
Specified by:
hasAttributes in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
true if the current information item has attributes, otherwise false.

hasChildren

public boolean hasChildren()


Description copied from interface: XmlNode
Determines whether the current information item has any attributes.
Specified by:
hasChildren in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
true if the current information item has attributes, otherwise false.
getPosition

public int getPosition()


Description copied from interface: XmlNode
Return the position of this context in the set of siblings that contains this context and that have the
same name. That is, if this context has the name "foo", return "n" such that "foo[n]" evaluated on
the parent context returns this context. May return UNKNOWN_POSITION, if the
implementation does not have position information. Result is undefined when isAttribute() is true.
Specified by:
getPosition in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
The position of this context in the set of siblings with the same name as this context.

moveToNamespace

public boolean moveToNamespace(java.lang.String prefix)


Description copied from interface:
com.tibco.xml.data.cursor.XmlNamespaceCursor
Moves the cursor to the namespace specified by prefix.
Specified by:
moveToNamespace in interface
com.tibco.xml.data.cursor.XmlNamespaceCursor
Following copied from interface:
com.tibco.xml.data.cursor.XmlNamespaceCursor
Parameters:
prefix - The prefix of the namespace.
Returns:
Returns true if the cursor can be moved, otherwise false.
Throws:
PrefixNotFoundException - If the prefix does not exist.
moveToFirstNamespace

public boolean moveToFirstNamespace()


Description copied from interface:
com.tibco.xml.data.cursor.XmlNamespaceCursor
Moves the cursor to the current information item's first namespace.
Specified by:
moveToFirstNamespace in interface
com.tibco.xml.data.cursor.XmlNamespaceCursor
Following copied from interface:
com.tibco.xml.data.cursor.XmlNamespaceCursor
Returns:
Returns true if the cursor can be moved, otherwise false.

moveToNextNamespace

public boolean moveToNextNamespace()


Description copied from interface:
com.tibco.xml.data.cursor.XmlNamespaceCursor
Moves the namespace to the next sibling namespace.
Specified by:
moveToNextNamespace in interface
com.tibco.xml.data.cursor.XmlNamespaceCursor
Following copied from interface:
com.tibco.xml.data.cursor.XmlNamespaceCursor
Returns:
Returns true if the cursor can be moved, otherwise false.

clone

public java.lang.Object clone()


Descendants should override. Declared because of changed access to public
Specified by:
clone in interface XmlCursor
Overrides:
clone in class java.lang.Object
Returns:
null

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.data.cursor.helpers
Class XmlCursorOnXmlContext

java.lang.Object
|
+--com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext
All Implemented Interfaces:
NamespaceResolver, NamespaceToPrefixResolver, PrefixToNamespaceResolver,
com.tibco.xml.data.cursor.XmlAttributeCursor, XmlCursor, com.tibco.xml.data.cursor.XmlNamespaceCursor,
XmlNode, XmlProps, XmlTypes

public class XmlCursorOnXmlContext


extends java.lang.Object
implements XmlCursor

Inner classes inherited from class com.tibco.xml.data.primitive.NamespaceToPrefixResolver


NamespaceToPrefixResolver.NamespaceNotFoundException

Inner classes inherited from class com.tibco.xml.data.primitive.PrefixToNamespaceResolver


PrefixToNamespaceResolver.PrefixNotFoundException

Fields inherited from interface com.tibco.xml.data.node.XmlNode


POSITION_UNIQUE, POSITION_UNKNOWN

Fields inherited from interface com.tibco.xml.data.node.XmlTypes


ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE,
DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE,
ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NAME_ATTRIBUTE,
NAME_CDATA_SECTION, NAME_COMMENT, NAME_DOCUMENT,
NAME_DOCUMENT_FRAGMENT, NAME_DOCUMENT_TYPE, NAME_ELEMENT,
NAME_ENTITY, NAME_ENTITY_REFERENCE, NAME_NAMESPACE, NAME_NOTATION,
NAME_PROCESSING_INSTRUCTION, NAME_TEXT, NAMESPACE_NODE,
NOTATION_NODE, NULL_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE,
XML_TYPE_MAXIMUM, XML_TYPE_MINIMUM
Fields inherited from interface com.tibco.xml.data.node.XmlProps
PROP_ATTRIBUTES, PROP_BASE_URI, PROP_CHILDREN, PROP_CONTENT,
PROP_DECLARATION, PROP_NAME, PROP_NAMESPACES, PROP_PREFIX,
PROP_SCHEMA, PROP_TYPE, PROP_VALUE, PROP_XSI_NIL, PROP_XSI_TYPE

Constructor Summary
XmlCursorOnXmlContext()

Method Summary
java.lang.Object clone()
Makes a copy of the cursor.
java.lang.String getAttributeValue(ExpandedName name)
Returns the value of the attribute with the specified name.
java.lang.String getBaseURI()
Return the value of the xml:base attribute, if defined or null.
SmDataComponent getDeclaration()
Returns the declaration for this context.
ExpandedName getName()
Return the expanded name of this node, depending upon the type.
java.lang.String getNamespaceURIForPrefix(java.lang.String prefix)
Given a prefix, get the corresponding namespace URI.
short getNodeType()
A code corresponding to the underlying node type.
int getPosition()
Return the position of this context in the set of siblings that contains this
context and that have the same name.
java.lang.String getPrefix()
Return the prefix of this node, depending upon the type.
java.lang.String getPrefixForNamespaceURI(java.lang.String namespaceURI)
Given a namespace, get the corrisponding prefix.
SmSchema getSchema()
Returns the schema for this context.
SmType getType()
Returns the type for this context.
XmlValue getValue()
Return the value of this node.
XmlContext getXmlContext()

boolean getXsiNil()
Return the value of the xsi:nil attribute.
QName getXsiType()
Return the value of the xsi:type attribute if defined, or null.
boolean hasAttributes()
Determines whether the current information item has any attributes.
boolean hasChildren()
Determines whether the current information item has any attributes.
boolean moveToAttribute(ExpandedName name)
Moves the cursor to the attribute specified by name.
boolean moveToFirstAttribute()
Moves the cursor to the current information item's first attribute.
boolean moveToFirstChild()
Moves the cursor to the current information item's first child information
item.
boolean moveToFirstNamespace()
Moves the cursor to the current information item's first namespace.
boolean moveToFollowingSibling()
Moves the cursor to the current information item's next sibling information
item.
boolean moveToLastChild()
Moves the cursor to the current information item's last child information
item.
boolean moveToNamespace(java.lang.String prefix)
Moves the cursor to the namespace specified by prefix.
boolean moveToNextAttribute()
Moves the attribute to the next sibling attribute.
boolean moveToNextNamespace()
Moves the namespace to the next sibling namespace.
boolean moveToParent()
Moves the cursor up to the current information item's parent information
item.
boolean moveToPrecedingSibling()
Moves the cursor to the current information item's previous sibling
information item.
void moveToRoot()
Moves the cursor back to the document information item.
void setDeclaration(SmDataComponent decl)
Sets the declaration for this context.
void setSchema(SmSchema schema)
Sets the schema model for this context.
void setType(SmType type)
Sets the type for this context.
void setValue(XmlValue value)
Sets the value of this node.
void setXmlContext(XmlContext context)

Methods inherited from class java.lang.Object


equals, finalize, getClass, hashCode, notify, notifyAll, toString,
wait, wait, wait

Constructor Detail
XmlCursorOnXmlContext

public XmlCursorOnXmlContext()

Method Detail
setXmlContext

public void setXmlContext(XmlContext context)

getXmlContext

public XmlContext getXmlContext()

getName

public ExpandedName getName()


Description copied from interface: XmlNode
Return the expanded name of this node, depending upon the type.
Specified by:
getName in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
The name of this node.

getPrefix

public java.lang.String getPrefix()


Description copied from interface: XmlNode
Return the prefix of this node, depending upon the type.
Specified by:
getPrefix in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
The prefix of this node.

getNodeType

public short getNodeType()


Description copied from interface: XmlNode
A code corresponding to the underlying node type.
Specified by:
getNodeType in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
The type of this node.

getBaseURI

public java.lang.String getBaseURI()


Description copied from interface: XmlNode
Return the value of the xml:base attribute, if defined or null.
Specified by:
getBaseURI in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
The value of the xml:base attribute.

getXsiType

public QName getXsiType()


Description copied from interface: XmlNode
Return the value of the xsi:type attribute if defined, or null. This method only applies to element nodes.
Specified by:
getXsiType in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
The value of the xsi:type attribute.

getXsiNil

public boolean getXsiNil()


Description copied from interface: XmlNode
Return the value of the xsi:nil attribute. This method only applies to element nodes.
Specified by:
getXsiNil in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
The value of the xsi:nil attribute.

getValue

public XmlValue getValue()


Description copied from interface: XmlNode
Return the value of this node.
Specified by:
getValue in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
The value of this node.
setValue

public void setValue(XmlValue value)


Description copied from interface: XmlNode
Sets the value of this node.
Specified by:
setValue in interface XmlNode

getSchema

public SmSchema getSchema()


Description copied from interface: XmlNode
Returns the schema for this context.
Specified by:
getSchema in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
The schema for this context. May be null if the schema does not exist or was not resolved.

setSchema

public void setSchema(SmSchema schema)


Description copied from interface: XmlNode
Sets the schema model for this context.
Specified by:
setSchema in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Parameters:
schema - The schema model.

getDeclaration

public SmDataComponent getDeclaration()


Description copied from interface: XmlNode
Returns the declaration for this context. May return null if there is no declaration for this context.
Specified by:
getDeclaration in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
The declaration for this context.

setDeclaration

public void setDeclaration(SmDataComponent decl)


Description copied from interface: XmlNode
Sets the declaration for this context.
Specified by:
setDeclaration in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Parameters:
declaration - The declaration.

getType

public SmType getType()


Description copied from interface: XmlNode
Returns the type for this context. May return null if there is no declaration for this context.
Specified by:
getType in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
The type for this context.

setType

public void setType(SmType type)


Description copied from interface: XmlNode
Sets the type for this context.
Specified by:
setType in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Parameters:
type - The type.
getPosition

public int getPosition()


Description copied from interface: XmlNode
Return the position of this context in the set of siblings that contains this context and that have the same name.
That is, if this context has the name "foo", return "n" such that "foo[n]" evaluated on the parent context returns
this context. May return UNKNOWN_POSITION, if the implementation does not have position information.
Result is undefined when isAttribute() is true.
Specified by:
getPosition in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
The position of this context in the set of siblings with the same name as this context.

getNamespaceURIForPrefix

public java.lang.String getNamespaceURIForPrefix(java.lang.String prefix)


throws
PrefixToNamespaceResolver.PrefixNotFoundException
Description copied from interface: PrefixToNamespaceResolver
Given a prefix, get the corresponding namespace URI. This API can also be used to determine if an xmlns
attribute exists with the specified prefix.
Specified by:
getNamespaceURIForPrefix in interface PrefixToNamespaceResolver
Following copied from interface:
com.tibco.xml.data.primitive.PrefixToNamespaceResolver
Parameters:
prefix - The prefix to look up. The prefix cannot be null, which is considered to be an unitialized
value and will cause an IllegalArgumentException. A prefix that corresponds to the default namespace is
signified by a zero-length string.
Returns:
The associated namespace URI. Returns null if no xmlns specification exists.
Throws:
PrefixToNamespaceResolver.PrefixNotFoundException - If the prefix cannot be found.

getPrefixForNamespaceURI

public java.lang.String getPrefixForNamespaceURI(java.lang.String namespaceURI)


throws
NamespaceToPrefixResolver.NamespaceNotFoundException
Description copied from interface: NamespaceToPrefixResolver
Given a namespace, get the corrisponding prefix.
Specified by:
getPrefixForNamespaceURI in interface NamespaceToPrefixResolver
Following copied from interface:
com.tibco.xml.data.primitive.NamespaceToPrefixResolver
Parameters:
namespaceURI - The namespace URI to look up.
Returns:
The associated prefix.
Throws:
NamespaceToPrefixResolver.NamespaceNotFoundException - If the namespace cannot
be found by the NamespaceToPrefixResolver.

hasAttributes

public boolean hasAttributes()


Description copied from interface: XmlNode
Determines whether the current information item has any attributes.
Specified by:
hasAttributes in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
true if the current information item has attributes, otherwise false.

hasChildren

public boolean hasChildren()


Description copied from interface: XmlNode
Determines whether the current information item has any attributes.
Specified by:
hasChildren in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Returns:
true if the current information item has attributes, otherwise false.

getAttributeValue

public java.lang.String getAttributeValue(ExpandedName name)


Description copied from interface: XmlNode
Returns the value of the attribute with the specified name. Returns null if the attribute does not exist.
Specified by:
getAttributeValue in interface XmlNode
Following copied from interface: com.tibco.xml.data.node.XmlNode
Parameters:
name - The name of the attribute.
Returns:
The value of the attribute, or null if it does not exist.

moveToFirstChild

public boolean moveToFirstChild()


throws UnsupportedAxisException
Description copied from interface: XmlCursor
Moves the cursor to the current information item's first child information item.
Specified by:
moveToFirstChild in interface XmlCursor
Following copied from interface: com.tibco.xml.data.cursor.XmlCursor
Returns:
Returns true if the cursor can be moved, otherwise false.
Throws:
UnsupportedAxisException - If the operation is not supported by the information set paradigm.

moveToFollowingSibling

public boolean moveToFollowingSibling()


throws UnsupportedAxisException
Description copied from interface: XmlCursor
Moves the cursor to the current information item's next sibling information item.
Specified by:
moveToFollowingSibling in interface XmlCursor
Following copied from interface: com.tibco.xml.data.cursor.XmlCursor
Returns:
Returns true if the cursor can be moved, otherwise false.
Throws:
UnsupportedAxisException - If the operation is not supported by the information set paradigm.
moveToLastChild

public boolean moveToLastChild()


throws UnsupportedAxisException
Description copied from interface: XmlCursor
Moves the cursor to the current information item's last child information item.
Specified by:
moveToLastChild in interface XmlCursor
Following copied from interface: com.tibco.xml.data.cursor.XmlCursor
Returns:
Returns true if the cursor can be moved, otherwise false.
Throws:
UnsupportedAxisException - If the operation is not supported by the information set paradigm.

moveToPrecedingSibling

public boolean moveToPrecedingSibling()


throws UnsupportedAxisException
Description copied from interface: XmlCursor
Moves the cursor to the current information item's previous sibling information item.
Specified by:
moveToPrecedingSibling in interface XmlCursor
Following copied from interface: com.tibco.xml.data.cursor.XmlCursor
Returns:
Returns true if the cursor can be moved, otherwise false.
Throws:
UnsupportedAxisException - If the operation is not supported by the information set paradigm.

moveToParent

public boolean moveToParent()


Description copied from interface: XmlCursor
Moves the cursor up to the current information item's parent information item.
Specified by:
moveToParent in interface XmlCursor
Following copied from interface: com.tibco.xml.data.cursor.XmlCursor
Returns:
Returns true if the cursor can be moved, otherwise false.
moveToRoot

public void moveToRoot()


Description copied from interface: XmlCursor
Moves the cursor back to the document information item.
Specified by:
moveToRoot in interface XmlCursor

moveToAttribute

public boolean moveToAttribute(ExpandedName name)


Description copied from interface: com.tibco.xml.data.cursor.XmlAttributeCursor
Moves the cursor to the attribute specified by name.
Specified by:
moveToAttribute in interface com.tibco.xml.data.cursor.XmlAttributeCursor
Following copied from interface: com.tibco.xml.data.cursor.XmlAttributeCursor
Parameters:
name - The name of the attribute.
Returns:
Returns true if the cursor can be moved, otherwise false.

moveToFirstAttribute

public boolean moveToFirstAttribute()


Description copied from interface: com.tibco.xml.data.cursor.XmlAttributeCursor
Moves the cursor to the current information item's first attribute.
Specified by:
moveToFirstAttribute in interface
com.tibco.xml.data.cursor.XmlAttributeCursor
Following copied from interface: com.tibco.xml.data.cursor.XmlAttributeCursor
Returns:
Returns true if the cursor can be moved, otherwise false.

moveToNextAttribute

public boolean moveToNextAttribute()


Description copied from interface: com.tibco.xml.data.cursor.XmlAttributeCursor
Moves the attribute to the next sibling attribute.
Specified by:
moveToNextAttribute in interface
com.tibco.xml.data.cursor.XmlAttributeCursor
Following copied from interface: com.tibco.xml.data.cursor.XmlAttributeCursor
Returns:
Returns true if the cursor can be moved, otherwise false.

moveToNamespace

public boolean moveToNamespace(java.lang.String prefix)


throws
com.tibco.xml.data.cursor.helpers.PrefixNotFoundException
Description copied from interface: com.tibco.xml.data.cursor.XmlNamespaceCursor
Moves the cursor to the namespace specified by prefix.
Specified by:
moveToNamespace in interface com.tibco.xml.data.cursor.XmlNamespaceCursor
Following copied from interface: com.tibco.xml.data.cursor.XmlNamespaceCursor
Parameters:
prefix - The prefix of the namespace.
Returns:
Returns true if the cursor can be moved, otherwise false.
Throws:
PrefixNotFoundException - If the prefix does not exist.

moveToFirstNamespace

public boolean moveToFirstNamespace()


Description copied from interface: com.tibco.xml.data.cursor.XmlNamespaceCursor
Moves the cursor to the current information item's first namespace.
Specified by:
moveToFirstNamespace in interface
com.tibco.xml.data.cursor.XmlNamespaceCursor
Following copied from interface: com.tibco.xml.data.cursor.XmlNamespaceCursor
Returns:
Returns true if the cursor can be moved, otherwise false.

moveToNextNamespace

public boolean moveToNextNamespace()


Description copied from interface: com.tibco.xml.data.cursor.XmlNamespaceCursor
Moves the namespace to the next sibling namespace.
Specified by:
moveToNextNamespace in interface
com.tibco.xml.data.cursor.XmlNamespaceCursor
Following copied from interface: com.tibco.xml.data.cursor.XmlNamespaceCursor
Returns:
Returns true if the cursor can be moved, otherwise false.

clone

public java.lang.Object clone()


Description copied from interface: XmlCursor
Makes a copy of the cursor. A copy should return the same values when the cursor upon which it was based is
moved.
Specified by:
clone in interface XmlCursor
Overrides:
clone in class java.lang.Object
Following copied from interface: com.tibco.xml.data.cursor.XmlCursor
Returns:
An Object that may be cast to an XmlCursor.

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.data.cursor
Class XmlCursorSupport

java.lang.Object
|
+--com.tibco.xml.data.cursor.XmlCursorSupport

public class XmlCursorSupport


extends java.lang.Object
XmlCursorSupport contains static utility methods.

Constructor Summary
XmlCursorSupport()

Method Summary
static java.lang.String getExpandedXPath(XmlCursor from, XmlCursor to,
boolean verbose)
Calculates an XPath expression containing expanded names.
static java.lang.String getStandardXPath(XmlCursor from, XmlCursor to,
boolean verbose)
Calculates an XPath expression containing qualified names.
static void traverse(XmlCursor cursor,
XmlStreamHandler handler)
Walks the cursor to generate an XML stream.

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait
Constructor Detail
XmlCursorSupport

public XmlCursorSupport()

Method Detail
getStandardXPath

public static java.lang.String getStandardXPath(XmlCursor from,


XmlCursor to,
boolean verbose)
Calculates an XPath expression containing qualified names.
Parameters:
from - The node from which the XPath will be calculated
to - The node to which the XPath may be calculated.
verbose - Determines whether the XPath is in abbreviated or verbose form.
Returns:
The XPath expression.

getExpandedXPath

public static java.lang.String getExpandedXPath(XmlCursor from,


XmlCursor to,
boolean verbose)
Calculates an XPath expression containing expanded names.
Parameters:
from - The node from which the XPath will be calculated
to - The node to which the XPath may be calculated.
verbose - Determines whether the XPath is in abbreviated or verbose form.
Returns:
The XPath expression.
traverse

public static void traverse(XmlCursor cursor,


XmlStreamHandler handler)
throws org.xml.sax.SAXException
Walks the cursor to generate an XML stream.
Parameters:
cursor - The starting point.
handler - The handler for XML stream events.
Throws:
org.xml.sax.SAXException - If a general processing exception occurs.

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.data.node
Interface XmlNode
All Superinterfaces:
NamespaceResolver, NamespaceToPrefixResolver, PrefixToNamespaceResolver, XmlProps,
XmlTypes
All Known Subinterfaces:
XmlContext, XmlCursor, XmlReader

public interface XmlNode


extends XmlTypes, XmlProps, NamespaceResolver

Provides access to data and type information for an attribute or element within an information set.

Inner classes inherited from class com.tibco.xml.data.primitive.NamespaceToPrefixResolver


NamespaceToPrefixResolver.NamespaceNotFoundException

Inner classes inherited from class com.tibco.xml.data.primitive.PrefixToNamespaceResolver


PrefixToNamespaceResolver.PrefixNotFoundException

Field Summary
static int POSITION_UNIQUE
The position sentinel indicating that the element or attribute is unique within its
siblings.
static int POSITION_UNKNOWN
The position sentinel indicating that a reliable position of the context within its
siblings cannot be determined.

Fields inherited from interface com.tibco.xml.data.node.XmlTypes


ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE,
DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE,
ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NAME_ATTRIBUTE,
NAME_CDATA_SECTION, NAME_COMMENT, NAME_DOCUMENT,
NAME_DOCUMENT_FRAGMENT, NAME_DOCUMENT_TYPE, NAME_ELEMENT,
NAME_ENTITY, NAME_ENTITY_REFERENCE, NAME_NAMESPACE, NAME_NOTATION,
NAME_PROCESSING_INSTRUCTION, NAME_TEXT, NAMESPACE_NODE,
NOTATION_NODE, NULL_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE,
XML_TYPE_MAXIMUM, XML_TYPE_MINIMUM

Fields inherited from interface com.tibco.xml.data.node.XmlProps


PROP_ATTRIBUTES, PROP_BASE_URI, PROP_CHILDREN, PROP_CONTENT,
PROP_DECLARATION, PROP_NAME, PROP_NAMESPACES, PROP_PREFIX,
PROP_SCHEMA, PROP_TYPE, PROP_VALUE, PROP_XSI_NIL, PROP_XSI_TYPE

Method Summary
java.lang.String getAttributeValue(ExpandedName name)
Returns the value of the attribute with the specified name.
java.lang.String getBaseURI()
Return the value of the xml:base attribute, if defined or null.
SmDataComponent getDeclaration()
Returns the declaration for this context.
ExpandedName getName()
Return the expanded name of this node, depending upon the type.
short getNodeType()
A code corresponding to the underlying node type.
int getPosition()
Return the position of this context in the set of siblings that contains this
context and that have the same name.
java.lang.String getPrefix()
Return the prefix of this node, depending upon the type.
SmSchema getSchema()
Returns the schema for this context.
SmType getType()
Returns the type for this context.
XmlValue getValue()
Return the value of this node.
boolean getXsiNil()
Return the value of the xsi:nil attribute.
QName getXsiType()
Return the value of the xsi:type attribute if defined, or null.
boolean hasAttributes()
Determines whether the current information item has any attributes.
boolean hasChildren()
Determines whether the current information item has any attributes.
void setDeclaration(SmDataComponent declaration)
Sets the declaration for this context.
void setSchema(SmSchema schema)
Sets the schema model for this context.
void setType(SmType type)
Sets the type for this context.
void setValue(XmlValue value)
Sets the value of this node.

Methods inherited from interface com.tibco.xml.data.primitive.NamespaceToPrefixResolver


getPrefixForNamespaceURI

Methods inherited from interface com.tibco.xml.data.primitive.PrefixToNamespaceResolver


getNamespaceURIForPrefix

Field Detail
POSITION_UNKNOWN

public static final int POSITION_UNKNOWN


The position sentinel indicating that a reliable position of the context within its siblings cannot be
determined.

POSITION_UNIQUE

public static final int POSITION_UNIQUE


The position sentinel indicating that the element or attribute is unique within its siblings.

Method Detail
getName

public ExpandedName getName()


Return the expanded name of this node, depending upon the type.
Returns:
The name of this node.

getPrefix

public java.lang.String getPrefix()


Return the prefix of this node, depending upon the type.
Returns:
The prefix of this node.

getNodeType

public short getNodeType()


A code corresponding to the underlying node type.
Returns:
The type of this node.
getValue

public XmlValue getValue()


Return the value of this node.
Returns:
The value of this node.

setValue

public void setValue(XmlValue value)


Sets the value of this node.

getBaseURI

public java.lang.String getBaseURI()


Return the value of the xml:base attribute, if defined or null.
Returns:
The value of the xml:base attribute.

getXsiType

public QName getXsiType()


Return the value of the xsi:type attribute if defined, or null. This method only applies to element
nodes.
Returns:
The value of the xsi:type attribute.

getXsiNil

public boolean getXsiNil()


Return the value of the xsi:nil attribute. This method only applies to element nodes.
Returns:
The value of the xsi:nil attribute.
getSchema

public SmSchema getSchema()


Returns the schema for this context.
Returns:
The schema for this context. May be null if the schema does not exist or was not resolved.

setSchema

public void setSchema(SmSchema schema)


Sets the schema model for this context.
Parameters:
schema - The schema model.

getDeclaration

public SmDataComponent getDeclaration()


Returns the declaration for this context. May return null if there is no declaration for this context.
Returns:
The declaration for this context.

setDeclaration

public void setDeclaration(SmDataComponent declaration)


Sets the declaration for this context.
Parameters:
declaration - The declaration.

getType

public SmType getType()


Returns the type for this context. May return null if there is no declaration for this context.
Returns:
The type for this context.

setType

public void setType(SmType type)


Sets the type for this context.
Parameters:
type - The type.

getPosition

public int getPosition()


Return the position of this context in the set of siblings that contains this context and that have the
same name. That is, if this context has the name "foo", return "n" such that "foo[n]" evaluated on
the parent context returns this context. May return UNKNOWN_POSITION, if the
implementation does not have position information. Result is undefined when isAttribute() is true.
Returns:
The position of this context in the set of siblings with the same name as this context.

hasAttributes

public boolean hasAttributes()


Determines whether the current information item has any attributes.
Returns:
true if the current information item has attributes, otherwise false.

hasChildren

public boolean hasChildren()


Determines whether the current information item has any attributes.
Returns:
true if the current information item has attributes, otherwise false.
getAttributeValue

public java.lang.String getAttributeValue(ExpandedName name)


Returns the value of the attribute with the specified name. Returns null if the attribute does not
exist.
Parameters:
name - The name of the attribute.
Returns:
The value of the attribute, or null if it does not exist.

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.data.node
Interface XmlProps
All Known Subinterfaces:
XmlContext, XmlCursor, XmlNode, XmlReader

public interface XmlProps

Field Summary
static java.lang.String PROP_ATTRIBUTES

static java.lang.String PROP_BASE_URI

static java.lang.String PROP_CHILDREN

static java.lang.String PROP_CONTENT

static java.lang.String PROP_DECLARATION

static java.lang.String PROP_NAME

static java.lang.String PROP_NAMESPACES

static java.lang.String PROP_PREFIX

static java.lang.String PROP_SCHEMA

static java.lang.String PROP_TYPE

static java.lang.String PROP_VALUE


static java.lang.String PROP_XSI_NIL

static java.lang.String PROP_XSI_TYPE

Field Detail
PROP_ATTRIBUTES

public static final java.lang.String PROP_ATTRIBUTES

PROP_CHILDREN

public static final java.lang.String PROP_CHILDREN

PROP_CONTENT

public static final java.lang.String PROP_CONTENT

PROP_NAME

public static final java.lang.String PROP_NAME

PROP_NAMESPACES

public static final java.lang.String PROP_NAMESPACES

PROP_PREFIX

public static final java.lang.String PROP_PREFIX


PROP_VALUE

public static final java.lang.String PROP_VALUE

PROP_BASE_URI

public static final java.lang.String PROP_BASE_URI

PROP_SCHEMA

public static final java.lang.String PROP_SCHEMA

PROP_DECLARATION

public static final java.lang.String PROP_DECLARATION

PROP_TYPE

public static final java.lang.String PROP_TYPE

PROP_XSI_NIL

public static final java.lang.String PROP_XSI_NIL

PROP_XSI_TYPE

public static final java.lang.String PROP_XSI_TYPE

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.data.cursor
Interface XmlReader
All Superinterfaces:
NamespaceResolver, NamespaceToPrefixResolver, PrefixToNamespaceResolver,
com.tibco.xml.data.cursor.XmlAttributeCursor, com.tibco.xml.data.cursor.XmlNamespaceCursor, XmlNode,
XmlProps, XmlTypes

public interface XmlReader


extends XmlNode, com.tibco.xml.data.cursor.XmlAttributeCursor, com.tibco.xml.data.cursor.XmlNamespaceCursor
A forward-only pull style cursor over an XML information set.

Inner classes inherited from class com.tibco.xml.data.primitive.NamespaceToPrefixResolver


NamespaceToPrefixResolver.NamespaceNotFoundException

Inner classes inherited from class com.tibco.xml.data.primitive.PrefixToNamespaceResolver


PrefixToNamespaceResolver.PrefixNotFoundException

Fields inherited from interface com.tibco.xml.data.node.XmlNode


POSITION_UNIQUE, POSITION_UNKNOWN

Fields inherited from interface com.tibco.xml.data.node.XmlTypes


ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE,
DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE,
ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NAME_ATTRIBUTE,
NAME_CDATA_SECTION, NAME_COMMENT, NAME_DOCUMENT,
NAME_DOCUMENT_FRAGMENT, NAME_DOCUMENT_TYPE, NAME_ELEMENT,
NAME_ENTITY, NAME_ENTITY_REFERENCE, NAME_NAMESPACE, NAME_NOTATION,
NAME_PROCESSING_INSTRUCTION, NAME_TEXT, NAMESPACE_NODE,
NOTATION_NODE, NULL_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE,
XML_TYPE_MAXIMUM, XML_TYPE_MINIMUM

Fields inherited from interface com.tibco.xml.data.node.XmlProps


PROP_ATTRIBUTES, PROP_BASE_URI, PROP_CHILDREN, PROP_CONTENT,
PROP_DECLARATION, PROP_NAME, PROP_NAMESPACES, PROP_PREFIX,
PROP_SCHEMA, PROP_TYPE, PROP_VALUE, PROP_XSI_NIL, PROP_XSI_TYPE

Method Summary
boolean moveToAttribute(ExpandedName name)
Moves the cursor to the attribute specified by name.
boolean moveToFirstAttribute()
Moves the cursor to the current information item's first attribute.
boolean moveToFirstNamespace()
Moves the cursor to the current information item's first namespace.
boolean moveToNamespace(java.lang.String prefix)
Moves the cursor to the namespace specified by prefix.
boolean moveToNextAttribute()
Moves the attribute to the next sibling attribute.
boolean moveToNextNamespace()
Moves the namespace to the next sibling namespace.
boolean next()
Moves the cursor to the next information set item.

Methods inherited from interface com.tibco.xml.data.node.XmlNode


getAttributeValue, getBaseURI, getDeclaration, getName, getNodeType,
getPosition, getPrefix, getSchema, getType, getValue, getXsiNil,
getXsiType, hasAttributes, hasChildren, setDeclaration, setSchema,
setType, setValue

Methods inherited from interface com.tibco.xml.data.primitive.NamespaceToPrefixResolver


getPrefixForNamespaceURI

Methods inherited from interface com.tibco.xml.data.primitive.PrefixToNamespaceResolver


getNamespaceURIForPrefix

Method Detail
next

public boolean next()


Moves the cursor to the next information set item.
Returns:
Returns true if the cursor can be moved, false if the end of the information set has been reached.

moveToAttribute

public boolean moveToAttribute(ExpandedName name)


Moves the cursor to the attribute specified by name.
Parameters:
name - The name of the attribute.
Returns:
Returns true if the cursor can be moved, otherwise false.

moveToFirstAttribute

public boolean moveToFirstAttribute()


Moves the cursor to the current information item's first attribute.
Returns:
Returns true if the cursor can be moved, otherwise false.

moveToNextAttribute

public boolean moveToNextAttribute()


Moves the attribute to the next sibling attribute.
Returns:
Returns true if the cursor can be moved, otherwise false.

moveToNamespace

public boolean moveToNamespace(java.lang.String prefix)


throws PrefixToNamespaceResolver.PrefixNotFoundException
Moves the cursor to the namespace specified by prefix.
Parameters:
prefix - The prefix of the namespace.
Returns:
Returns true if the cursor can be moved, otherwise false.
Throws:
PrefixNotFoundException - If the prefix does not exist.

moveToFirstNamespace

public boolean moveToFirstNamespace()


Moves the cursor to the current information item's first namespace.
Returns:
Returns true if the cursor can be moved, otherwise false.

moveToNextNamespace

public boolean moveToNextNamespace()


Moves the namespace to the next sibling namespace.
Returns:
Returns true if the cursor can be moved, otherwise false.

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.channel.remark
Interface XmlRemarkFilter
All Superinterfaces:
XmlRemarkHandler, XmlRemarkSupplier
All Known Implementing Classes:
Validator_SAX_Remark_InternalCache, Validator_SAX_Remark_ExternalCache

public interface XmlRemarkFilter


extends XmlRemarkHandler, XmlRemarkSupplier

Methods inherited from interface com.tibco.xml.channel.remark.XmlRemarkHandler


error, fatalError, info, remark, warning

Methods inherited from interface com.tibco.xml.channel.remark.XmlRemarkSupplier


setXmlRemarkHandler

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.channel.remark
Interface XmlRemarkHandler
All Known Subinterfaces:
XmlRemarkFilter
All Known Implementing Classes:
ValidationControl, Validator_DOM_Remark_ExternalCache

public interface XmlRemarkHandler


Implemented by components that handle XML Remarks. An XML Remark is an observation about an
XML information set. The remark is optionally accompanied by a SAX Locator to identify the physical
location in the information set that the remark pertains to, and an XmlContext to identify the logical
location and provide data.

Method Summary
void error(XmlContext context, org.xml.sax.Locator locator,
java.lang.Exception e, java.lang.String code)
Notifies the handler of an error condition.
void fatalError(XmlContext context, org.xml.sax.Locator locator,
java.lang.Exception e, java.lang.String code)
Notifies the handler of an unrecoverable error condition.
void info(XmlContext context, org.xml.sax.Locator locator,
java.lang.Exception e, java.lang.String code)
Notifies the handler of an information condition.
void remark(XmlContext context, org.xml.sax.Locator locator,
java.lang.Exception e, java.lang.String code)
Notifies the handler of a remark condition.
void warning(XmlContext context, org.xml.sax.Locator locator,
java.lang.Exception e, java.lang.String code)
Notifies the handler of a warning condition.
Method Detail
fatalError

public void fatalError(XmlContext context,


org.xml.sax.Locator locator,
java.lang.Exception e,
java.lang.String code)
throws org.xml.sax.SAXException
Notifies the handler of an unrecoverable error condition. This corresponds to the definition of
"fatal error" in section 1.2 of the W3C XML 1.0 Recommendation. For example, a parser would
use this callback to report the violation of a well-formedness constraint. The application must
assume that the document is unusable after the parser has invoked this method, and should
continue (if at all) only for the sake of collecting addition error messages: in fact, SAX parsers are
free to stop reporting any other events once this method has been invoked
Parameters:
context - The logical location in the XMLStream at which the error remark occurred.
locator - The physical location. The caller is obliged to provide a frozen object even
though further progress might be made through the XML Stream.
e - The message.
code - A code representation of the error.
Throws:
org.xml.sax.SAXException -

error

public void error(XmlContext context,


org.xml.sax.Locator locator,
java.lang.Exception e,
java.lang.String code)
throws org.xml.sax.SAXException
Notifies the handler of an error condition.
Parameters:
context - The logical location in the XMLStream at which the error remark occurred.
locator - The physical location. The caller is obliged to provide a frozen object even
though further progress might be made through the XML Stream.
e - The message.
code - A code representation of the error.
Throws:
org.xml.sax.SAXException -

warning

public void warning(XmlContext context,


org.xml.sax.Locator locator,
java.lang.Exception e,
java.lang.String code)
throws org.xml.sax.SAXException
Notifies the handler of a warning condition.
Parameters:
context - The logical location in the XMLStream at which the warning remark occurred.
locator - The physical location. The caller is obliged to provide a frozen object even
though further progress might be made through the XML Stream.
code - A code representation of the warning.
e - The message.

info

public void info(XmlContext context,


org.xml.sax.Locator locator,
java.lang.Exception e,
java.lang.String code)
throws org.xml.sax.SAXException
Notifies the handler of an information condition.
Parameters:
context - The logical location in the XMLStream at which the information remark
occurred.
locator - The physical location. The caller is obliged to provide a frozen object even
though further progress might be made through the XML Stream.
code - A code representation of the information.
e - The message.
remark

public void remark(XmlContext context,


org.xml.sax.Locator locator,
java.lang.Exception e,
java.lang.String code)
throws org.xml.sax.SAXException
Notifies the handler of a remark condition. A remark is made when the caller is not qualified to
judge a severity or classification otherwise of the message. The handler will typically inspect the
exception to determine the action.
Parameters:
context - The logical location in the XMLStream at which the remark occurred.
locator - The physical location. The caller is obliged to provide a frozen object even
though further progress might be made through the XML Stream.
code - A code representation of the remark.
e - The message.

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.channel.remark
Interface XmlRemarkSupplier
All Known Subinterfaces:
ConstraintChecker, XmlRemarkFilter
All Known Implementing Classes:
DefaultSchemaSupplier, ValidationControl, ValidationKernel, Validator, XmlStreamParser,
XmlStreamEnhancer, XmlStreamCompiler, XmlStreamCompiler.XmlStreamCompilerContext,
SAXContent2XmlStream, SAXContent2XmlStream.SAXContent2XmlKernel,
XmlStreamSimplEx, XmlStreamSimplEx.XmlStreamCompilerContext,
Validator_DOM_Remark_ExternalCache, ValidationConstraintEngine, ScriptingValidatorMk1,
ScriptingAdjunctValidator

public interface XmlRemarkSupplier


Implemented by components that supply XML Remarks to one XmlRemarkHandler.

Method Summary
void setXmlRemarkHandler(XmlRemarkHandler handler)
Allows an application to register and unregister an XmlRemarkHandler for this supplier.

Method Detail
setXmlRemarkHandler

public void setXmlRemarkHandler(XmlRemarkHandler handler)


Allows an application to register and unregister an XmlRemarkHandler for this supplier.
Parameters:
handler - The XmlRemarkHandler to be registered. Specify null to unregister the current
handler.
Overview Package Class Use Tree Deprecated Index Help
PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.channel.remark
Interface XmlRemarkSupplierMulticast
public interface XmlRemarkSupplierMulticast
Implemented by components that supply XML Remarks to multiple XmlRemarkHandler(s).

Method Summary
void addXmlRemarkHandler(XmlRemarkHandler handler)
Allows an application to register an XmlRemarkHandler for this supplier.
void removeXmlRemarkHandler(XmlRemarkHandler handler)
Allows an application to unregister an XmlRemarkHandler for this supplier.

Method Detail
addXmlRemarkHandler

public void addXmlRemarkHandler(XmlRemarkHandler handler)


Allows an application to register an XmlRemarkHandler for this supplier.
Parameters:
handler - The XmlRemarkHandler to be registered.

removeXmlRemarkHandler

public void removeXmlRemarkHandler(XmlRemarkHandler handler)


Allows an application to unregister an XmlRemarkHandler for this supplier.
Parameters:
handler - The XmlRemarkHandler to be unregistered.
Overview Package Class Use Tree Deprecated Index Help
PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.processor
Class XmlStream2DOM

java.lang.Object
|
+--com.tibco.xml.processor.XmlStream2DOM
All Implemented Interfaces:
DOMSupplier, IBlackBox, XmlStreamHandler

public class XmlStream2DOM


extends java.lang.Object
implements IBlackBox, XmlStreamHandler, DOMSupplier

Performs conversion from an XML stream to a document.

Field Summary
static 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 Summary
XmlStream2DOM()

Method Summary
void addDOMHandler(DOMHandler handler)

void 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.
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 processingInstruction()
Receive notification of a processing instruction.
void removeDOMHandler(DOMHandler handler)

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 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 Detail
CHANNEL_INPUT

public static final java.lang.String CHANNEL_INPUT

CHANNEL_OUTPUT

public static final java.lang.String CHANNEL_OUTPUT

Constructor Detail
XmlStream2DOM

public XmlStream2DOM()

Method Detail
getChannel

public 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.

getChannelType

public 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.

getChannelMode

public 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.
getChannelNames

public 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.

addDOMHandler

public void addDOMHandler(DOMHandler handler)


Specified by:
addDOMHandler in interface DOMSupplier

removeDOMHandler

public void removeDOMHandler(DOMHandler handler)


Specified by:
removeDOMHandler in interface DOMSupplier

setDocumentLocator

public 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.

setDocumentCursor

public 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.

startDocument

public 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.

endDocument

public 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.

startElement

public 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.

endElement

public 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.

attribute

public 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.

text

public 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.

processingInstruction

public 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.

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.processor
Class XmlStreamCompiler

java.lang.Object
|
+--com.tibco.xml.processor.XmlStreamCompiler
All Implemented Interfaces:
com.tibco.xml.channel.simpletypecompiler.SimpleTypeCompilerConsumer, XmlRemarkSupplier, XmlStreamFilter, XmlStreamHandler, XmlStreamSupplier

public class XmlStreamCompiler


extends java.lang.Object
implements XmlStreamFilter, XmlRemarkSupplier, com.tibco.xml.channel.simpletypecompiler.SimpleTypeCompilerConsumer

Compiles Simple Types in an XML stream to user-defined types derived from XmlValue through the plug-in SimpleTypeCompiler mechanism.

Inner Class Summary


class XmlStreamCompiler.XmlStreamCompilerContext

Constructor Summary
XmlStreamCompiler()
The default mode of operation is to mutate the stream by substituting simple type values.
XmlStreamCompiler(boolean mutate)
Enables this class to be constructed in such a way that mutation of the stream by substituting simple type values is
configurable.

Method Summary
void 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 setSimpleTypeCompilerProvider(com.tibco.xml.channel.simpletypecompiler.SimpleTypeCompilerProvider provider)

void setXmlRemarkHandler(XmlRemarkHandler handler)


Allows an application to register and unregister an XmlRemarkHandler for this supplier.
void setXmlStreamHandler(XmlStreamHandler handler)
Allows an application to register an XmlStreamHandler for this supplier.
void 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

Constructor Detail
XmlStreamCompiler

public XmlStreamCompiler()
The default mode of operation is to mutate the stream by substituting simple type values.
XmlStreamCompiler

public XmlStreamCompiler(boolean mutate)


Enables this class to be constructed in such a way that mutation of the stream by substituting simple type values is configurable. Mutation may be turned off but
validation will always be performed.
Parameters:
mutate - Determines whether simple types will be promoted from String to compiled types.

Method Detail
setDocumentLocator

public 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.

setDocumentCursor

public 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.
startDocument

public 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.

endDocument

public 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.

processingInstruction

public 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.
startElement

public 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.

attribute

public 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.

text

public 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.
endElement

public 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.

setXmlRemarkHandler

public 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.

setXmlStreamHandler

public 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.
setSimpleTypeCompilerProvider

public void
setSimpleTypeCompilerProvider(com.tibco.xml.channel.simpletypecompiler.SimpleTypeCompilerProvider provider)
Specified by:
setSimpleTypeCompilerProvider in interface com.tibco.xml.channel.simpletypecompiler.SimpleTypeCompilerConsumer

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.processor
Class XmlStreamEnhancer

java.lang.Object
|
+--com.tibco.xml.processor.XmlStreamEnhancer
All Implemented Interfaces:
IBlackBox, SchemaModelConsumer, XmlRemarkSupplier, XmlStreamHandler,
XmlStreamSupplier

public class XmlStreamEnhancer


extends java.lang.Object
implements IBlackBox, XmlStreamHandler, XmlStreamSupplier, SchemaModelConsumer,
XmlRemarkSupplier

Performs conversion from a basic XML Stream to an XML Stream with Schema Information.

Field Summary
static java.lang.String CHANNEL_REMARK_SUPPLIER

static java.lang.String CHANNEL_SCHEMA_CONSUMER

static java.lang.String CHANNEL_STREAM_HANDLER

static java.lang.String CHANNEL_STREAM_SUPPLIER

Fields inherited from interface com.tibco.xml.runtime.IBlackBox


CHANNEL_MODE_SINK, CHANNEL_MODE_SOURCE
Constructor Summary
XmlStreamEnhancer()

Method Summary
void 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.
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 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 setSchemaModelProvider(SchemaModelProvider provider)
void setXmlRemarkHandler(XmlRemarkHandler handler)
Allows an application to register and unregister an XmlRemarkHandler
for this supplier.
void setXmlStreamHandler(XmlStreamHandler handler)
Allows an application to register an XmlStreamHandler for this
supplier.
void 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 Detail
CHANNEL_STREAM_HANDLER

public static final java.lang.String CHANNEL_STREAM_HANDLER

CHANNEL_STREAM_SUPPLIER

public static final java.lang.String CHANNEL_STREAM_SUPPLIER

CHANNEL_SCHEMA_CONSUMER

public static final java.lang.String CHANNEL_SCHEMA_CONSUMER


CHANNEL_REMARK_SUPPLIER

public static final java.lang.String CHANNEL_REMARK_SUPPLIER

Constructor Detail
XmlStreamEnhancer

public XmlStreamEnhancer()

Method Detail
getChannel

public 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.

getChannelType

public 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.

getChannelMode

public 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.

getChannelNames

public 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.
setXmlStreamHandler

public 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.

setSchemaModelProvider

public void setSchemaModelProvider(SchemaModelProvider provider)


Specified by:
setSchemaModelProvider in interface SchemaModelConsumer

setXmlRemarkHandler

public 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.
setDocumentLocator

public 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.

setDocumentCursor

public 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.

startDocument

public 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.

endDocument

public 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.

startElement

public 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.
endElement

public 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.

attribute

public 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.

text

public 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.

processingInstruction

public 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.

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.channel.stream
Interface XmlStreamFilter
All Superinterfaces:
XmlStreamHandler, XmlStreamSupplier
All Known Implementing Classes:
XmlStreamTracer, XmlStreamCompiler, XmlStreamSimplEx

public interface XmlStreamFilter


extends XmlStreamHandler, XmlStreamSupplier

Methods inherited from interface com.tibco.xml.channel.stream.XmlStreamHandler


attribute, endDocument, endElement, processingInstruction,
setDocumentCursor, setDocumentLocator, startDocument, startElement,
text

Methods inherited from interface com.tibco.xml.channel.stream.XmlStreamSupplier


setXmlStreamHandler

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.channel.stream
Interface XmlStreamHandler
All Known Subinterfaces:
XmlStreamFilter
All Known Implementing Classes:
DefaultXmlStreamHandler, ValidationKernel, XmlStreamMulticastHelper, XmlStreamProfiler,
XmlStreamTermination, XmlStreamEnhancer, XmlStreamCompiler.XmlStreamCompilerContext,
XmlStreamSerializer, XmlStreamSimplEx.XmlStreamCompilerContext, XmlStream2DOM

public interface XmlStreamHandler


Implemented by components that process XML Stream events. An XML Stream is similar to SAX
Content except that it provides information through a cursor and may contain type information.

Method Summary
void 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 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.

Method Detail
setDocumentLocator

public void setDocumentLocator(org.xml.sax.Locator locator)


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.
Parameters:
locator - An object that can return the location of any XML Stream event.

setDocumentCursor

public void setDocumentCursor(XmlCursor cursor)


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.
Parameters:
cursor - An interface for accessing the XML information set.

processingInstruction

public void processingInstruction()


throws org.xml.sax.SAXException
Receive notification of a processing instruction.
Throws:
org.xml.sax.SAXException - Any SAX Exception, possibly wrapping another
exception.
startDocument

public void startDocument()


throws org.xml.sax.SAXException
Receive notification of the beginning of a document.
Throws:
org.xml.sax.SAXException - Any SAX Exception, possibly wrapping another
exception.

endDocument

public void endDocument()


throws org.xml.sax.SAXException
Receive notification of the end of a document.
Throws:
org.xml.sax.SAXException - Any SAX Exception, possibly wrapping another
exception.

startElement

public void startElement()


throws org.xml.sax.SAXException
Receive notification of the beginning of an element.
Throws:
org.xml.sax.SAXException - Any SAX Exception, possibly wrapping another
exception.

attribute

public void attribute()


throws org.xml.sax.SAXException
Receive notification of an attribute. The attribute cursor is available through the XmlCursor
callback.
Throws:
org.xml.sax.SAXException - Any SAX Exception, possibly wrapping another
exception.
text

public void text()


throws org.xml.sax.SAXException
Receive notification of a text node. The text cursor is available through the XmlCursor callback.
Throws:
org.xml.sax.SAXException - Any SAX Exception, possibly wrapping another
exception.

endElement

public void endElement()


throws org.xml.sax.SAXException
Receive notification of the end of an element.
Throws:
org.xml.sax.SAXException - Any SAX Exception, possibly wrapping another
exception.

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.channel.stream.helpers
Class XmlStreamMulticastHelper

java.lang.Object
|
+--com.tibco.xml.channel.stream.helpers.XmlStreamMulticastHelper
All Implemented Interfaces:
IBlackBox, XmlStreamHandler, XmlStreamSupplierMulticast

public class XmlStreamMulticastHelper


extends java.lang.Object
implements IBlackBox, XmlStreamHandler, XmlStreamSupplierMulticast

This class helps classes to support XmlStreamSupplier by managing the set of XmlStreamHandler(s) and
iteration over them when events need to be broadcast.

Field Summary
static java.lang.String CHANNEL_STREAM_HANDLER
The input channel is an XmlStreamHandler.
static java.lang.String CHANNEL_STREAM_SUPPLIER
The output channel is an XmlStreamSupplier.

Fields inherited from interface com.tibco.xml.runtime.IBlackBox


CHANNEL_MODE_SINK, CHANNEL_MODE_SOURCE

Constructor Summary
XmlStreamMulticastHelper()
Method Summary
void addXmlStreamHandler(XmlStreamHandler handler)
Allows an application to register an XmlStreamHandler for this
supplier.
void 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.
java.lang.Object getChannel(java.lang.String channelName)
Returns an interface that can be used to send messages to or receive
messages from the Black Box.
int getChannelMode(java.lang.String channelName)
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 channelName)
Returns the type of the interface that is returned when getChannel is
called.
java.util.Iterator getXmlStreamHandlers()
Allows an application to inspect the current set of registered
XmlStreamHandlers.
void processingInstruction()
Receive notification of a processing instruction.
void removeXmlStreamHandler(XmlStreamHandler handler)
Allows an application to unregister an XmlStreamHandler for this
supplier.
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 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 Detail
CHANNEL_STREAM_HANDLER

public static final java.lang.String CHANNEL_STREAM_HANDLER


The input channel is an XmlStreamHandler.

CHANNEL_STREAM_SUPPLIER

public static final java.lang.String CHANNEL_STREAM_SUPPLIER


The output channel is an XmlStreamSupplier.

Constructor Detail
XmlStreamMulticastHelper

public XmlStreamMulticastHelper()

Method Detail
getChannel

public java.lang.Object getChannel(java.lang.String channelName)


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.

getChannelType

public java.lang.String getChannelType(java.lang.String channelName)


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.

getChannelMode

public int getChannelMode(java.lang.String channelName)


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.

getChannelNames

public 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.

setDocumentLocator

public 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.
setDocumentCursor

public 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.

processingInstruction

public 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.

startDocument

public 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.

endDocument

public 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.

startElement

public 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.
attribute

public 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.

text

public 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.

endElement

public 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.

addXmlStreamHandler

public void addXmlStreamHandler(XmlStreamHandler handler)


Description copied from interface: XmlStreamSupplierMulticast
Allows an application to register an XmlStreamHandler for this supplier.
Specified by:
addXmlStreamHandler in interface XmlStreamSupplierMulticast
Following copied from interface:
com.tibco.xml.channel.stream.XmlStreamSupplierMulticast
Parameters:
handler - The XmlStreamHandler to be registered.

removeXmlStreamHandler

public void removeXmlStreamHandler(XmlStreamHandler handler)


Description copied from interface: XmlStreamSupplierMulticast
Allows an application to unregister an XmlStreamHandler for this supplier.
Specified by:
removeXmlStreamHandler in interface XmlStreamSupplierMulticast
Following copied from interface:
com.tibco.xml.channel.stream.XmlStreamSupplierMulticast
Parameters:
handler - The XmlStreamHandler to be unregistered.

getXmlStreamHandlers

public java.util.Iterator getXmlStreamHandlers()


Description copied from interface: XmlStreamSupplierMulticast
Allows an application to inspect the current set of registered XmlStreamHandlers.
Specified by:
getXmlStreamHandlers in interface XmlStreamSupplierMulticast
Following copied from interface:
com.tibco.xml.channel.stream.XmlStreamSupplierMulticast
Returns:
Iterator over XmlStreamHandlers

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.processor
Class XmlStreamParser

java.lang.Object
|
+--com.tibco.xml.processor.XmlStreamParser
All Implemented Interfaces:
EntityConsumer, LocationHintSupplier, XmlRemarkSupplier, XmlStreamSupplier

public class XmlStreamParser


extends java.lang.Object
implements XmlStreamSupplier, XmlRemarkSupplier, LocationHintSupplier, EntityConsumer

Constructor Summary
XmlStreamParser()

Method Summary
void addLocationHintHandler(LocationHintHandler handler)

void parse(org.xml.sax.InputSource input)

void removeLocationHintHandler(LocationHintHandler handler)

void setEntityResolver(org.xml.sax.EntityResolver resolver)

void setXmlRemarkHandler(XmlRemarkHandler handler)


Allows an application to register and unregister an XmlRemarkHandler for this supplier.
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

Constructor Detail
XmlStreamParser

public XmlStreamParser()

Method Detail
parse

public void parse(org.xml.sax.InputSource input)


throws java.io.IOException,
org.xml.sax.SAXException

setXmlStreamHandler

public 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.
setXmlRemarkHandler

public 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.

setEntityResolver

public void setEntityResolver(org.xml.sax.EntityResolver resolver)


Specified by:
setEntityResolver in interface EntityConsumer

addLocationHintHandler

public void addLocationHintHandler(LocationHintHandler handler)


Specified by:
addLocationHintHandler in interface LocationHintSupplier

removeLocationHintHandler

public void removeLocationHintHandler(LocationHintHandler handler)


Specified by:
removeLocationHintHandler in interface LocationHintSupplier

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.channel.stream.helpers
Class XmlStreamProfiler

java.lang.Object
|
+--com.tibco.xml.channel.stream.helpers.XmlStreamProfiler
All Implemented Interfaces:
IBlackBox, XmlStreamHandler, XmlStreamSupplier

public class XmlStreamProfiler


extends java.lang.Object
implements IBlackBox, XmlStreamHandler, XmlStreamSupplier

Field Summary
static java.lang.String CHANNEL_STREAM_HANDLER

static java.lang.String CHANNEL_STREAM_SUPPLIER

Fields inherited from interface com.tibco.xml.runtime.IBlackBox


CHANNEL_MODE_SINK, CHANNEL_MODE_SOURCE

Constructor Summary
XmlStreamProfiler()

Method Summary
void 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.
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 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)
Allows an application to register an XmlStreamHandler for this
supplier.
void 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 Detail
CHANNEL_STREAM_HANDLER

public static final java.lang.String CHANNEL_STREAM_HANDLER

CHANNEL_STREAM_SUPPLIER

public static final java.lang.String CHANNEL_STREAM_SUPPLIER

Constructor Detail
XmlStreamProfiler

public XmlStreamProfiler()

Method Detail
getChannel

public 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.

getChannelType

public 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.

getChannelMode

public 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.

getChannelNames

public 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.

setDocumentLocator

public 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.

setDocumentCursor

public 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.
processingInstruction

public 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.

startDocument

public 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.

endDocument

public 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.

startElement

public 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.

attribute

public 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.
text

public 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.

endElement

public 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.

setXmlStreamHandler

public 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.

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.processor
Class XmlStreamSerializer

java.lang.Object
|
+--com.tibco.xml.processor.XmlStreamSerializer
All Implemented Interfaces:
XmlStreamHandler
Direct Known Subclasses:
C14NSerializer

public class XmlStreamSerializer


extends java.lang.Object
implements XmlStreamHandler

An XmlStreamHandler serializing the stream into an XML document using the Writer or OutputStream passed to
the constructor.
See Also:
XmlStreamHandler

Field Summary
protected java.lang.StringBuffer mAttIndent

protected XmlCursor mCursor

protected int mDepth


zero-based tree depth
protected java.lang.String mElIndent

protected java.io.Writer mOut

protected boolean mWriteXML_PI

Constructor Summary
XmlStreamSerializer(java.io.OutputStream os,
java.lang.String encoding)
Create a serializer of the XmlStream events.
XmlStreamSerializer(java.io.Writer w)
Create a serializer of the XmlStream events.

Method Summary
void attribute()
Receive notification of an attribute.
protected closeTag()
void

void endDocument()
Receive notification of the end of a document.
void endElement()
Receive notification of the end of an element.
static void main(java.lang.String[] args)

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 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.
protected writeAttChars(java.lang.String s)
void

protected writeNS(java.lang.String prefix, java.lang.String value)


void

protected writeRawAttr(java.lang.String affix,


void
java.lang.String prefix, java.lang.String local,
java.lang.String value)
Write a raw attribute in the form affix[prefix:]local="value"
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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait

Field Detail
mOut

protected java.io.Writer mOut

mCursor

protected XmlCursor mCursor

mDepth

protected int mDepth


zero-based tree depth

mAttIndent

protected java.lang.StringBuffer mAttIndent

mElIndent

protected java.lang.String mElIndent

mWriteXML_PI

protected boolean mWriteXML_PI

Constructor Detail
XmlStreamSerializer

public XmlStreamSerializer(java.io.Writer w)
Create a serializer of the XmlStream events. The xml PI will be written; if the encoding can be determined it will be
output too. The xml code is written to w which is flushed at endDocument
Parameters:
w - Writer to receive the serialized xml code

XmlStreamSerializer

public XmlStreamSerializer(java.io.OutputStream os,


java.lang.String encoding)
throws java.io.UnsupportedEncodingException
Create a serializer of the XmlStream events. The xml code is written to os which is flushed at endDocument
Parameters:
os - OutputStream
encoding - encoding to be used. If null then "UTF-8" encoding is chosen

Method Detail
startElement

public void startElement()


throws org.xml.sax.SAXException
Receive notification of the beginning of an element.
Specified by:
startElement in interface XmlStreamHandler
Throws:
org.xml.sax.SAXException - Any SAX Exception, possibly wrapping another exception.

writeSpecialAtt

protected void writeSpecialAtt(java.lang.String ns,


java.lang.String name,
java.lang.String value)
throws java.io.IOException,
NamespaceToPrefixResolver.NamespaceNotFoundException
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.
Parameters:
ns - namespace of the special attribute

writeNS

protected void writeNS(java.lang.String prefix,


java.lang.String value)
throws java.io.IOException

writeRawAttr

protected void writeRawAttr(java.lang.String affix,


java.lang.String prefix,
java.lang.String local,
java.lang.String value)
throws java.io.IOException
Write a raw attribute in the form affix[prefix:]local="value"

setDocumentLocator

public void setDocumentLocator(org.xml.sax.Locator locator)


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
Parameters:
locator - An object that can return the location of any XML Stream event.

setDocumentCursor

public void setDocumentCursor(XmlCursor cursor)


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
Parameters:
cursor - An interface for accessing the XML information set.

attribute

public void attribute()


throws org.xml.sax.SAXException
Receive notification of an attribute. The attribute cursor is available through the XmlCursor callback.
Specified by:
attribute in interface XmlStreamHandler
Throws:
org.xml.sax.SAXException - Any SAX Exception, possibly wrapping another exception.
processingInstruction

public void processingInstruction()


throws org.xml.sax.SAXException
Receive notification of a processing instruction.
Specified by:
processingInstruction in interface XmlStreamHandler
Throws:
org.xml.sax.SAXException - Any SAX Exception, possibly wrapping another exception.

startDocument

public void startDocument()


throws org.xml.sax.SAXException
Receive notification of the beginning of a document.
Specified by:
startDocument in interface XmlStreamHandler
Throws:
org.xml.sax.SAXException - Any SAX Exception, possibly wrapping another exception.

endDocument

public void endDocument()


throws org.xml.sax.SAXException
Receive notification of the end of a document.
Specified by:
endDocument in interface XmlStreamHandler
Throws:
org.xml.sax.SAXException - Any SAX Exception, possibly wrapping another exception.

text

public void text()


throws org.xml.sax.SAXException
Receive notification of a text node. The text cursor is available through the XmlCursor callback.
Specified by:
text in interface XmlStreamHandler
Throws:
org.xml.sax.SAXException - Any SAX Exception, possibly wrapping another exception.
endElement

public void endElement()


throws org.xml.sax.SAXException
Receive notification of the end of an element.
Specified by:
endElement in interface XmlStreamHandler
Parameters:
element - The element context node.
Throws:
org.xml.sax.SAXException - Any SAX Exception, possibly wrapping another exception.

closeTag

protected void closeTag()


throws java.io.IOException

writeAttChars

protected void writeAttChars(java.lang.String s)


throws java.io.IOException

main

public static void main(java.lang.String[] args)

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.processor
Class XmlStreamSimplEx

java.lang.Object
|
+--com.tibco.xml.processor.XmlStreamSimplEx
All Implemented Interfaces:
com.tibco.xml.channel.simpletypecompiler.SimpleTypeCompilerConsumer, XmlRemarkSupplier, XmlStreamFilter, XmlStreamHandler, XmlStreamSupplier

public class XmlStreamSimplEx


extends java.lang.Object
implements XmlStreamFilter, XmlRemarkSupplier, com.tibco.xml.channel.simpletypecompiler.SimpleTypeCompilerConsumer

Simple Type Extended Validation (SimpleEx). Provides type-based simple type extended validation. Validation errors are reported through an XmlRemarkSupplier
interface. This component should be connected to a SimpleTypeCompilerProvider through it's SimpleTypeCompilerConsumer interface. The validation occurs as an
XML stream is pushed through this component. This component does not modify the stream.

Inner Class Summary


class XmlStreamSimplEx.XmlStreamCompilerContext

Constructor Summary
XmlStreamSimplEx()

Method Summary
void 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 setSimpleTypeCompilerProvider(com.tibco.xml.channel.simpletypecompiler.SimpleTypeCompilerProvider provider)

void setXmlRemarkHandler(XmlRemarkHandler handler)


Allows an application to register and unregister an XmlRemarkHandler for this supplier.
void setXmlStreamHandler(XmlStreamHandler handler)
Allows an application to register an XmlStreamHandler for this supplier.
void 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

Constructor Detail
XmlStreamSimplEx

public XmlStreamSimplEx()

Method Detail
setDocumentLocator

public 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.

setDocumentCursor

public 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.

startDocument

public 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.
endDocument

public 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.

processingInstruction

public 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.

startElement

public 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.
attribute

public 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.

text

public 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.

endElement

public 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.
setXmlRemarkHandler

public 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.

setXmlStreamHandler

public 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.

setSimpleTypeCompilerProvider

public void
setSimpleTypeCompilerProvider(com.tibco.xml.channel.simpletypecompiler.SimpleTypeCompilerProvider provider)
Specified by:
setSimpleTypeCompilerProvider in interface com.tibco.xml.channel.simpletypecompiler.SimpleTypeCompilerConsumer

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.channel.stream
Interface XmlStreamSupplier
All Known Subinterfaces:
XmlStreamFilter
All Known Implementing Classes:
DefaultXmlStreamHandler, ValidationKernel, Validator, XmlStreamProfiler, DOM2XmlStream,
XmlStreamParser, XmlStreamEnhancer, SAXContent2XmlStream,
SAXContent2XmlStream.SAXContent2XmlKernel, Validator_SAX_Remark_InternalCache,
Validator_SAX_Remark_ExternalCache, Validator_DOM_Remark_ExternalCache,
ScriptingAdjunctValidator

public interface XmlStreamSupplier


Implemented by components that supply an XML Stream to XmlStreamHandler(s).

Method Summary
void setXmlStreamHandler(XmlStreamHandler handler)
Allows an application to register an XmlStreamHandler for this supplier.

Method Detail
setXmlStreamHandler

public void setXmlStreamHandler(XmlStreamHandler handler)


Allows an application to register an XmlStreamHandler for this supplier.
Parameters:
handler - The XmlStreamHandler to be registered, or null to unregister.

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.channel.stream
Interface XmlStreamSupplierMulticast
All Known Implementing Classes:
XmlStreamMulticastHelper

public interface XmlStreamSupplierMulticast


Implemented by components that supply XML Stream events to multiple XmlStreamHandler(s).

Method Summary
void addXmlStreamHandler(XmlStreamHandler handler)
Allows an application to register an XmlStreamHandler for this
supplier.
java.util.Iterator getXmlStreamHandlers()
Allows an application to inspect the current set of registered
XmlStreamHandlers.
void removeXmlStreamHandler(XmlStreamHandler handler)
Allows an application to unregister an XmlStreamHandler for this
supplier.

Method Detail
addXmlStreamHandler

public void addXmlStreamHandler(XmlStreamHandler handler)


Allows an application to register an XmlStreamHandler for this supplier.
Parameters:
handler - The XmlStreamHandler to be registered.
removeXmlStreamHandler

public void removeXmlStreamHandler(XmlStreamHandler handler)


Allows an application to unregister an XmlStreamHandler for this supplier.
Parameters:
handler - The XmlStreamHandler to be unregistered.

getXmlStreamHandlers

public java.util.Iterator getXmlStreamHandlers()


Allows an application to inspect the current set of registered XmlStreamHandlers.
Returns:
Iterator over XmlStreamHandlers

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.channel.stream.helpers
Class XmlStreamTermination

java.lang.Object
|
+--com.tibco.xml.channel.stream.helpers.XmlStreamTermination
All Implemented Interfaces:
IBlackBox, XmlStreamHandler

public class XmlStreamTermination


extends java.lang.Object
implements IBlackBox, XmlStreamHandler

Field Summary
static java.lang.String CHANNEL_STREAM_HANDLER

Fields inherited from interface com.tibco.xml.runtime.IBlackBox


CHANNEL_MODE_SINK, CHANNEL_MODE_SOURCE

Constructor Summary
XmlStreamTermination()

Method Summary
void 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.
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 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 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 Detail
CHANNEL_STREAM_HANDLER

public static final java.lang.String CHANNEL_STREAM_HANDLER

Constructor Detail
XmlStreamTermination

public XmlStreamTermination()

Method Detail
getChannel

public 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.

getChannelType

public 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.

getChannelMode

public 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.

getChannelNames

public 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.
setDocumentLocator

public 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.

setDocumentCursor

public 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.

processingInstruction

public void processingInstruction()


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.

startDocument

public void startDocument()


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.

endDocument

public void endDocument()


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.
startElement

public void startElement()


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.

attribute

public void attribute()


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.

text

public void text()


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.

endElement

public void endElement()


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.

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.channel.stream.helpers
Class XmlStreamTracer

java.lang.Object
|
+--com.tibco.xml.channel.stream.helpers.XmlStreamTracer
All Implemented Interfaces:
IBlackBox, XmlStreamFilter, XmlStreamHandler, XmlStreamSupplier

public class XmlStreamTracer


extends java.lang.Object
implements IBlackBox, XmlStreamFilter

Field Summary
static java.lang.String CHANNEL_STREAM_HANDLER

static java.lang.String CHANNEL_STREAM_SUPPLIER

Fields inherited from interface com.tibco.xml.runtime.IBlackBox


CHANNEL_MODE_SINK, CHANNEL_MODE_SOURCE

Constructor Summary
XmlStreamTracer()

Method Summary
void 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.
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 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)
Allows an application to register an XmlStreamHandler for this
supplier.
void 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 Detail
CHANNEL_STREAM_HANDLER

public static final java.lang.String CHANNEL_STREAM_HANDLER

CHANNEL_STREAM_SUPPLIER

public static final java.lang.String CHANNEL_STREAM_SUPPLIER

Constructor Detail
XmlStreamTracer

public XmlStreamTracer()

Method Detail
getChannel

public 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.

getChannelType

public 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.

getChannelMode

public 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.

getChannelNames

public 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.

setDocumentLocator

public 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.

setDocumentCursor

public 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.
processingInstruction

public 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.

startDocument

public 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.

endDocument

public 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.

startElement

public 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.

attribute

public 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.
text

public 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.

endElement

public 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.

setXmlStreamHandler

public 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.

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.channel.stream.helpers
Class XmlStreamUtilities

java.lang.Object
|
+--com.tibco.xml.channel.stream.helpers.XmlStreamUtilities

public class XmlStreamUtilities


extends java.lang.Object

Constructor Summary
XmlStreamUtilities()

Method Summary
static void parseThrowErrors(org.xml.sax.InputSource input,
XmlStreamHandler handler)

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait

Constructor Detail
XmlStreamUtilities

public XmlStreamUtilities()
Method Detail
parseThrowErrors

public static void parseThrowErrors(org.xml.sax.InputSource input,


XmlStreamHandler handler)
throws org.xml.sax.SAXException,
java.io.IOException

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.data.cursor.helpers
Class XmlStringValue

java.lang.Object
|
+--com.tibco.xml.data.cursor.helpers.XmlStringValue
All Implemented Interfaces:
XmlValue

public class XmlStringValue


extends java.lang.Object
implements XmlValue

Simple wrapper around String to implement XmlValue


Since:
Build 0022
See Also:
XmlValue

Constructor Summary
XmlStringValue(java.lang.String value)

Method Summary
java.lang.String getExpandedForm()
Returns a String representation that has prefixes replaced by the
corresponding expanded name representation.
java.lang.String getSerializedForm(NamespaceToPrefixResolver resolver)
Returns a string representation of the value that is suitable for
serialization.
boolean isExpanded()
Determines whether the XmlValue implementation has been expanded
from the serialized String format.
java.lang.String toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait,
wait, wait

Constructor Detail
XmlStringValue

public XmlStringValue(java.lang.String value)

Method Detail
getSerializedForm

public java.lang.String getSerializedForm(NamespaceToPrefixResolver resolver)


Description copied from interface: XmlValue
Returns a string representation of the value that is suitable for serialization. For example, "{namespace}foo"
becomes "prefix:foo". If this XmlValue has not been expanded then it is safe to call
getSerializedForm wit a null prefix resolver.
Specified by:
getSerializedForm in interface XmlValue
Following copied from interface: com.tibco.xml.data.node.XmlValue
Parameters:
resolver - A resolver capable of resolving namespaces to prefixes.
Returns:
The serialization format.

getExpandedForm

public java.lang.String getExpandedForm()


Description copied from interface: XmlValue
Returns a String representation that has prefixes replaced by the corresponding expanded name
representation. For example, the expanded form of "prefix:foo" is "{namespace}foo". The expanded form
will only be available if isExpanded indicates that this XmlValue has been expanded. Implementations
should disallow getExpandedForm() by throwing UnsupportedOperationException when the XmlValue has
not been expanded.
Specified by:
getExpandedForm in interface XmlValue
Following copied from interface: com.tibco.xml.data.node.XmlValue
Returns:
The expanded name representation.

toString

public java.lang.String toString()


Overrides:
toString in class java.lang.Object

isExpanded

public boolean isExpanded()


Description copied from interface: XmlValue
Determines whether the XmlValue implementation has been expanded from the serialized String format.
If this XmlValue has been expanded then some implementations may wish to use Runtime Type
Identification (RTTI) to determine that actual type and cast to use the expanded (compiled) type.
Specified by:
isExpanded in interface XmlValue
Following copied from interface: com.tibco.xml.data.node.XmlValue
Returns:
true if the XmlValue implementation provides an expanded format.

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.data.node
Interface XmlTypes
All Known Subinterfaces:
XmlContext, XmlCursor, XmlNode, XmlReader

public interface XmlTypes

Field Summary
static short ATTRIBUTE_NODE
The node is an Attribute.
static short CDATA_SECTION_NODE
The node is a CDATASection.
static short COMMENT_NODE
The node is a Comment.
static short DOCUMENT_FRAGMENT_NODE
The node is a DocumentFragment.
static short DOCUMENT_NODE
The node is a Document.
static short DOCUMENT_TYPE_NODE
The node is a DocumentType.
static short ELEMENT_NODE
The node is an Element.
static short ENTITY_NODE
The node is an Entity.
static short ENTITY_REFERENCE_NODE
The node is an EntityReference.
static ExpandedName NAME_ATTRIBUTE

static ExpandedName NAME_CDATA_SECTION


static ExpandedName NAME_COMMENT

static ExpandedName NAME_DOCUMENT

static ExpandedName NAME_DOCUMENT_FRAGMENT

static ExpandedName NAME_DOCUMENT_TYPE

static ExpandedName NAME_ELEMENT

static ExpandedName NAME_ENTITY

static ExpandedName NAME_ENTITY_REFERENCE

static ExpandedName NAME_NAMESPACE

static ExpandedName NAME_NOTATION

static ExpandedName NAME_PROCESSING_INSTRUCTION

static ExpandedName NAME_TEXT

static short NAMESPACE_NODE


The node is a Namespace.
static short NOTATION_NODE
The node is a Notation.
static short NULL_NODE
An unitialized node type (for implementations only).
static short PROCESSING_INSTRUCTION_NODE
The node is a ProcessingInstruction.
static short TEXT_NODE
The node is a Text node.
static short XML_TYPE_MAXIMUM
static short XML_TYPE_MINIMUM

Field Detail
NULL_NODE

public static final short NULL_NODE


An unitialized node type (for implementations only).

ELEMENT_NODE

public static final short ELEMENT_NODE


The node is an Element.

ATTRIBUTE_NODE

public static final short ATTRIBUTE_NODE


The node is an Attribute.

TEXT_NODE

public static final short TEXT_NODE


The node is a Text node.

CDATA_SECTION_NODE

public static final short CDATA_SECTION_NODE


The node is a CDATASection.
ENTITY_REFERENCE_NODE

public static final short ENTITY_REFERENCE_NODE


The node is an EntityReference.

ENTITY_NODE

public static final short ENTITY_NODE


The node is an Entity.

PROCESSING_INSTRUCTION_NODE

public static final short PROCESSING_INSTRUCTION_NODE


The node is a ProcessingInstruction.

COMMENT_NODE

public static final short COMMENT_NODE


The node is a Comment.

DOCUMENT_NODE

public static final short DOCUMENT_NODE


The node is a Document.

DOCUMENT_TYPE_NODE

public static final short DOCUMENT_TYPE_NODE


The node is a DocumentType.
DOCUMENT_FRAGMENT_NODE

public static final short DOCUMENT_FRAGMENT_NODE


The node is a DocumentFragment.

NOTATION_NODE

public static final short NOTATION_NODE


The node is a Notation.

NAMESPACE_NODE

public static final short NAMESPACE_NODE


The node is a Namespace.

XML_TYPE_MINIMUM

public static final short XML_TYPE_MINIMUM

XML_TYPE_MAXIMUM

public static final short XML_TYPE_MAXIMUM

NAME_ELEMENT

public static final ExpandedName NAME_ELEMENT

NAME_ATTRIBUTE

public static final ExpandedName NAME_ATTRIBUTE


NAME_TEXT

public static final ExpandedName NAME_TEXT

NAME_CDATA_SECTION

public static final ExpandedName NAME_CDATA_SECTION

NAME_ENTITY_REFERENCE

public static final ExpandedName NAME_ENTITY_REFERENCE

NAME_ENTITY

public static final ExpandedName NAME_ENTITY

NAME_PROCESSING_INSTRUCTION

public static final ExpandedName NAME_PROCESSING_INSTRUCTION

NAME_COMMENT

public static final ExpandedName NAME_COMMENT

NAME_DOCUMENT

public static final ExpandedName NAME_DOCUMENT


NAME_DOCUMENT_TYPE

public static final ExpandedName NAME_DOCUMENT_TYPE

NAME_DOCUMENT_FRAGMENT

public static final ExpandedName NAME_DOCUMENT_FRAGMENT

NAME_NOTATION

public static final ExpandedName NAME_NOTATION

NAME_NAMESPACE

public static final ExpandedName NAME_NAMESPACE

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.validation
Class XMLValidationException

java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.tibco.xml.validation.XMLValidationException
All Implemented Interfaces:
java.io.Serializable

public class XMLValidationException


extends java.lang.Exception
An exception indicating a violation of a schema validation constraint. Will be wrapped within a
SAXParseException when passed to the ErrorHandler. This allows the ErrorHandler to distinguish
between validity errors and other SAXParseExceptions (like well-formedness errors).
See Also:
Serialized Form

Constructor Summary
XMLValidationException(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
XMLValidationException

public XMLValidationException(java.lang.String message)

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.validation
Interface XMLValidator
All Superinterfaces:
org.xml.sax.XMLFilter, org.xml.sax.XMLReader
All Known Implementing Classes:
XMLValidatorFilterImplMk1

public interface XMLValidator


extends org.xml.sax.XMLFilter
An XMLFilter that performs schema validation on the SAX2 ContentHandler event stream. Validation can
be performed against DTDs and against XML schemas conforming to the Candidate Recommendation
(2000/10/24), the Proposed Recommendation (2001/03/30), and the Recommendation (2001/05/02).
Validation errors are reported via the usual SAX ErrorHandler mechanism.
Since XMLValidator extends XMLFilter, it can be interposed in any SAX 2.0 processing stream, between
the actual parser (XMLReader) and the client application (ContentHandler and ErrorHandler). Validation
will occur during the invocation of the "parse()" method, inherited from XMLFilter.
By default, schemas are located for validation by looking up a pre-parsed schema in the required
SchemaMap, using the target namespace as a key. Schemas referred to using xsi:schemaLocation or
xsi:noNamespaceSchemaLocation will NOT be resolved and parsed at validation time, by default. The
default behavior can be overridden by setting the USE_SCHEMA_LOCATION policy to "true". The
SchemaMap will act as a fallback in that case. There is currently no way to reverse the "precedence", using
the SchemaMap first and xsi:schemaLocation second.
DTDs can also be located by matching the public identifier stated in a DOCTYPE declaration in an instance
document. This behavior is enabled by setting the USE_DTD_PUBLIC_ID_POLICY to true, and populating
the SchemaMap beforehand using the "addDTD()" method.
An XMLValidator instance should not be shared among multiple threads, but the same XMLValidator
instance may be reused for successive validations on a single thread.
See Also:
SchemaMap

Field Summary
static java.lang.String ALLOW_AMBIGUOUS_CONTENTMODELS_POLICY
A policy to avoid reporting of ambiguous content models.
static java.lang.String POLICY_FALSE

static java.lang.String POLICY_TRUE

static java.lang.String RESOLVE_NAMESPACE_URI_POLICY


If this policy has the value of "true", and a schema has not been
discovered either in the SchemaMap or using schemaLocation, the
validator will attempt to to use the namespace URI as a schemaLocation,
resolving it (after removing any "x-schema:" prefix ) and parsing the
schema.
static java.lang.String SOX_SCHEMA_PATH
Tells validator where to start looking for SOX schemas.
static java.lang.String USE_DTD_PUBLIC_ID_POLICY
If this policy has the value of "true", the validator will attempt to
resolve the public identifier (given in the DOCTYPE of a document) to
a DTD in the SchemaMap.
static java.lang.String USE_SCHEMA_LOCATION_POLICY
If this policy has the value of "true", the validator will attempt to
use the EntityResolver to find and parse a schema from a location stated
in an xsi:schemaLocation or xsi:noNamespaceSchemaLocation attribute.

Method Summary
SchemaMap getSchemaMap()
Return the current schema map in use.
boolean isPolicySet(java.lang.String policyName)
Returns true or false for boolean-valued policies
boolean isValidating()
Returns true if the validating flag is set AND there is a non-null SchemaMap
void setPolicy(java.lang.String policyName,
java.lang.String policyValue)
Set the value of a policy.
void setSchemaMap(SchemaMap schemas)
Set the schema map to use during validation.
void setValidating(boolean state)
Set the "validating" switch.

Methods inherited from interface org.xml.sax.XMLFilter


getParent, setParent

Methods inherited from interface org.xml.sax.XMLReader


getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler,
getFeature, getProperty, parse, parse, setContentHandler,
setDTDHandler, setEntityResolver, setErrorHandler, setFeature,
setProperty

Field Detail
SOX_SCHEMA_PATH

public static final java.lang.String SOX_SCHEMA_PATH


Tells validator where to start looking for SOX schemas. THE VALUE OF THIS CONSTANT MAY
CHANGE ONCE SchemaMap is decomissioned

USE_SCHEMA_LOCATION_POLICY

public static final java.lang.String USE_SCHEMA_LOCATION_POLICY


If this policy has the value of "true", the validator will attempt to use the EntityResolver to find and
parse a schema from a location stated in an xsi:schemaLocation or xsi:noNamespaceSchemaLocation
attribute. This also applies to the system ID for a DOCTYPE DTD. If the resolution or the parse fails,
the schema map will be checked for a schema with the appropriate namespace. The policy can be set
automatically by defining a system property with the name
"com.tibco.xml.validation.XMLValidator.USE_SCHEMA_LOCATION".
Defaults to "false".
See Also:
RESOLVE_NAMESPACE_URI_POLICY

RESOLVE_NAMESPACE_URI_POLICY

public static final java.lang.String RESOLVE_NAMESPACE_URI_POLICY


If this policy has the value of "true", and a schema has not been discovered either in the SchemaMap
or using schemaLocation, the validator will attempt to to use the namespace URI as a schemaLocation,
resolving it (after removing any "x-schema:" prefix ) and parsing the schema.
This policy only makes sense if USE_SCHEMA_LOCATION_POLICY is true, and setting
RESOLVE_NAMESPACE_URI to true sets USE_SCHEMA_LOCATION_POLICY as well. This
policy can be set automatically by defining a system property with the name
"com.tibco.xml.validation.XMLValidator.RESOLVE_NAMESPACE_URI".
Defaults to "false".
See Also:
USE_SCHEMA_LOCATION_POLICY

USE_DTD_PUBLIC_ID_POLICY

public static final java.lang.String USE_DTD_PUBLIC_ID_POLICY


If this policy has the value of "true", the validator will attempt to resolve the public identifier (given in
the DOCTYPE of a document) to a DTD in the SchemaMap. This will only be effective if "addDTD"
was called one or more times on the SchemaMap. A null or empty public ID is valid, since the
SchemaMap has a "slot" for associating a DTD for that case. If this policy is true, and a DTD is found
for the given public ID, that DTD effectively acts as the schema associated with the null namespace in
the SchemaMap, for the purposes of validation. If both this policy and
USE_SCHEMA_LOCATION_POLICY are true, the DTD resolved and parsed for the system ID will
take precedence over the one associated with the public ID. The policy can be set automatically by
defining a system property with the name
"com.tibco.xml.validation.XMLValidator.USE_DTD_PUBLIC_ID". Defaults to "false".

ALLOW_AMBIGUOUS_CONTENTMODELS_POLICY

public static final java.lang.String ALLOW_AMBIGUOUS_CONTENTMODELS_POLICY


A policy to avoid reporting of ambiguous content models. Ambiguous (non-deterministic) content
models are disallowed as per http://www.w3.org/TR/REC-xml#determinism. Setting this policy switch
allows them. The policy can be set automatically by defining a system property with the name
"com.tibco.xml.validation.XMLValidator.ALLOW_AMBIGUOUS_CONTENTMODELS". Defaults
to "false".

POLICY_TRUE

public static final java.lang.String POLICY_TRUE


POLICY_FALSE

public static final java.lang.String POLICY_FALSE

Method Detail
setPolicy

public void setPolicy(java.lang.String policyName,


java.lang.String policyValue)
Set the value of a policy.
Parameters:
policyName - policy names supported are USE_SCHEMA_LOCATION_POLICY
USE_DTD_PUBLIC_ID_POLICY, and ALLOW_AMBIGUOUS_CONTENTMODELS.
policyValue - "true" or "false", for the two policies currently supported

isPolicySet

public boolean isPolicySet(java.lang.String policyName)


Returns true or false for boolean-valued policies

setValidating

public void setValidating(boolean state)


Set the "validating" switch. Validation can only be enabled when there is a non-null SchemaMap,
although the property can be set at any time.

isValidating

public boolean isValidating()


Returns true if the validating flag is set AND there is a non-null SchemaMap
setSchemaMap

public void setSchemaMap(SchemaMap schemas)


throws org.xml.sax.SAXException
Set the schema map to use during validation. Setting this to null is equivalent to calling
"setValidating(false)".
Throws:
org.xml.sax.SAXException - the schemas require namespace support not provided by
the parser

getSchemaMap

public SchemaMap getSchemaMap()


Return the current schema map in use.

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.validation.helpers
Class XMLValidatorFilterImplMk1

java.lang.Object
|
+--com.tibco.xml.validation.helpers.XMLValidatorFilterImplMk1
All Implemented Interfaces:
org.xml.sax.XMLFilter, org.xml.sax.XMLReader, XMLValidator

public class XMLValidatorFilterImplMk1


extends java.lang.Object
implements XMLValidator

XML Validate XML Filter based upon the version 2.0 validation components but using the SchemaMap for caching
schemas. This class is used for automated testing.

Fields inherited from interface com.tibco.xml.validation.XMLValidator


ALLOW_AMBIGUOUS_CONTENTMODELS_POLICY, POLICY_FALSE, POLICY_TRUE,
RESOLVE_NAMESPACE_URI_POLICY, SOX_SCHEMA_PATH,
USE_DTD_PUBLIC_ID_POLICY, USE_SCHEMA_LOCATION_POLICY

Constructor Summary
XMLValidatorFilterImplMk1()

XMLValidatorFilterImplMk1(org.xml.sax.XMLReader parent)

Method Summary
org.xml.sax.ContentHandler getContentHandler()

org.xml.sax.DTDHandler getDTDHandler()

org.xml.sax.EntityResolver getEntityResolver()
org.xml.sax.ErrorHandler getErrorHandler()

boolean getFeature(java.lang.String name)

org.xml.sax.XMLReader getParent()

java.lang.Object getProperty(java.lang.String name)

SchemaMap getSchemaMap()
Return the current schema map in use.
boolean isPolicySet(java.lang.String name)
Returns true or false for boolean-valued policies
boolean isValidating()
Returns true if the validating flag is set AND there is a non-null
SchemaMap
void parse(org.xml.sax.InputSource source)

void parse(java.lang.String s)

void setContentHandler(org.xml.sax.ContentHandler handler)

void setDTDHandler(org.xml.sax.DTDHandler handler)

void setEntityResolver(org.xml.sax.EntityResolver resolver)

void setErrorHandler(org.xml.sax.ErrorHandler handler)

void setFeature(java.lang.String name, boolean value)

void setParent(org.xml.sax.XMLReader parent)

void setPolicy(java.lang.String name,


java.lang.String value)
Set the value of a policy.
void setProperty(java.lang.String name,
java.lang.Object value)

void setSchemaMap(SchemaMap schemaMap)


Set the schema map to use during validation.
void setValidating(boolean validating)
Set the "validating" switch.

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait

Constructor Detail
XMLValidatorFilterImplMk1

public XMLValidatorFilterImplMk1(org.xml.sax.XMLReader parent)

XMLValidatorFilterImplMk1

public XMLValidatorFilterImplMk1()

Method Detail
setPolicy

public void setPolicy(java.lang.String name,


java.lang.String value)
Description copied from interface: XMLValidator
Set the value of a policy.
Specified by:
setPolicy in interface XMLValidator
Following copied from interface: com.tibco.xml.validation.XMLValidator
Parameters:
policyName - policy names supported are USE_SCHEMA_LOCATION_POLICY
USE_DTD_PUBLIC_ID_POLICY, and ALLOW_AMBIGUOUS_CONTENTMODELS.
policyValue - "true" or "false", for the two policies currently supported

isPolicySet

public boolean isPolicySet(java.lang.String name)


Description copied from interface: XMLValidator
Returns true or false for boolean-valued policies
Specified by:
isPolicySet in interface XMLValidator

setValidating

public void setValidating(boolean validating)


Description copied from interface: XMLValidator
Set the "validating" switch. Validation can only be enabled when there is a non-null SchemaMap, although the
property can be set at any time.
Specified by:
setValidating in interface XMLValidator

isValidating

public boolean isValidating()


Description copied from interface: XMLValidator
Returns true if the validating flag is set AND there is a non-null SchemaMap
Specified by:
isValidating in interface XMLValidator

setSchemaMap

public void setSchemaMap(SchemaMap schemaMap)


Description copied from interface: XMLValidator
Set the schema map to use during validation. Setting this to null is equivalent to calling "setValidating(false)".
Specified by:
setSchemaMap in interface XMLValidator
Following copied from interface: com.tibco.xml.validation.XMLValidator
Throws:
org.xml.sax.SAXException - the schemas require namespace support not provided by the parser

getSchemaMap

public SchemaMap getSchemaMap()


Description copied from interface: XMLValidator
Return the current schema map in use.
Specified by:
getSchemaMap in interface XMLValidator

getParent

public org.xml.sax.XMLReader getParent()


Specified by:
getParent in interface org.xml.sax.XMLFilter

setParent

public void setParent(org.xml.sax.XMLReader parent)


Specified by:
setParent in interface org.xml.sax.XMLFilter

parse

public void parse(java.lang.String s)


throws java.io.IOException,
org.xml.sax.SAXException
Specified by:
parse in interface org.xml.sax.XMLReader

parse

public void parse(org.xml.sax.InputSource source)


throws java.io.IOException,
org.xml.sax.SAXException
Specified by:
parse in interface org.xml.sax.XMLReader

getContentHandler

public org.xml.sax.ContentHandler getContentHandler()


Specified by:
getContentHandler in interface org.xml.sax.XMLReader
setContentHandler

public void setContentHandler(org.xml.sax.ContentHandler handler)


Specified by:
setContentHandler in interface org.xml.sax.XMLReader

getDTDHandler

public org.xml.sax.DTDHandler getDTDHandler()


Specified by:
getDTDHandler in interface org.xml.sax.XMLReader

setDTDHandler

public void setDTDHandler(org.xml.sax.DTDHandler handler)


Specified by:
setDTDHandler in interface org.xml.sax.XMLReader

getEntityResolver

public org.xml.sax.EntityResolver getEntityResolver()


Specified by:
getEntityResolver in interface org.xml.sax.XMLReader

setEntityResolver

public void setEntityResolver(org.xml.sax.EntityResolver resolver)


Specified by:
setEntityResolver in interface org.xml.sax.XMLReader

getErrorHandler

public org.xml.sax.ErrorHandler getErrorHandler()


Specified by:
getErrorHandler in interface org.xml.sax.XMLReader
setErrorHandler

public void setErrorHandler(org.xml.sax.ErrorHandler handler)


Specified by:
setErrorHandler in interface org.xml.sax.XMLReader

getFeature

public boolean getFeature(java.lang.String name)


throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
Specified by:
getFeature in interface org.xml.sax.XMLReader

setFeature

public void setFeature(java.lang.String name,


boolean value)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
Specified by:
setFeature in interface org.xml.sax.XMLReader

getProperty

public java.lang.Object getProperty(java.lang.String name)


throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
Specified by:
getProperty in interface org.xml.sax.XMLReader

setProperty

public void setProperty(java.lang.String name,


java.lang.Object value)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
Specified by:
setProperty in interface org.xml.sax.XMLReader
Overview Package Class Use Tree Deprecated Index Help
PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.data.node
Interface XmlValue
All Known Implementing Classes:
XmlStringValue, ExpandedName

public interface XmlValue


XmlValue is the representation of a simple type in an XML information set. It allows the XML information set to
be compiled, replacing prefixes with namespaces, while preserving the ability to accurately serialize.

Method Summary
java.lang.String getExpandedForm()
Returns a String representation that has prefixes replaced by the
corresponding expanded name representation.
java.lang.String getSerializedForm(NamespaceToPrefixResolver resolver)
Returns a string representation of the value that is suitable for
serialization.
boolean isExpanded()
Determines whether the XmlValue implementation has been expanded
from the serialized String format.

Method Detail
getSerializedForm

public java.lang.String getSerializedForm(NamespaceToPrefixResolver resolver)


Returns a string representation of the value that is suitable for serialization. For example, "{namespace}foo"
becomes "prefix:foo". If this XmlValue has not been expanded then it is safe to call
getSerializedForm wit a null prefix resolver.
Parameters:
resolver - A resolver capable of resolving namespaces to prefixes.
Returns:
The serialization format.
getExpandedForm

public java.lang.String getExpandedForm()


Returns a String representation that has prefixes replaced by the corresponding expanded name
representation. For example, the expanded form of "prefix:foo" is "{namespace}foo". The expanded form
will only be available if isExpanded indicates that this XmlValue has been expanded. Implementations
should disallow getExpandedForm() by throwing UnsupportedOperationException when the XmlValue has
not been expanded.
Returns:
The expanded name representation.

isExpanded

public boolean isExpanded()


Determines whether the XmlValue implementation has been expanded from the serialized String format.
If this XmlValue has been expanded then some implementations may wish to use Runtime Type
Identification (RTTI) to determine that actual type and cast to use the expanded (compiled) type.
Returns:
true if the XmlValue implementation provides an expanded format.

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.data.context.helpers
Class XPathHelper

java.lang.Object
|
+--com.tibco.xml.data.context.helpers.XPathHelper

public class XPathHelper


extends java.lang.Object

Field Summary
static int FORMAT_ABBREVIATE
The XPath expression should be in the abbreviated form e.g.
static int FORMAT_VERBOSE
The XPath expression should be in the verbose form e.g.

Constructor Summary
XPathHelper()

Method Summary
static java.lang.String calculateXPath(XmlContext from, XmlContext to,
int format, NamespaceToPrefixResolver resolver)
Calculates an XPath expression that assumes a context node
specified by from parameter and uniquely selects the node specified by
the to parameter.

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait

Field Detail
FORMAT_VERBOSE

public static final int FORMAT_VERBOSE


The XPath expression should be in the verbose form e.g. child::foo[position()=7] as opposed to foo[7]

FORMAT_ABBREVIATE

public static final int FORMAT_ABBREVIATE


The XPath expression should be in the abbreviated form e.g. foo[7] as opposed to child::foo[position()=7]

Constructor Detail
XPathHelper

public XPathHelper()

Method Detail
calculateXPath

public static java.lang.String calculateXPath(XmlContext from,


XmlContext to,
int format,
NamespaceToPrefixResolver resolver)
Calculates an XPath expression that assumes a context node specified by from parameter and uniquely selects the
node specified by the to parameter. If from is not direct ancestor of to, returned value will be null. Returns null if
unable to construct expression. Warning: Does not handle ATTRIBUTE_NODE nodes because these have no
parent. Also, only handles cases where from is direct ancestor of to.
Parameters:
from - The origin node.
to - The destination node.
format - FORMAT_VERBOSE or FORMAT_ABBREVIATE.
resolver - The resolver for determining a prefix given a namespace. If this parameter is supplied then the
prefix in the calculated XPath expression will be determined by using the namespace of each context and
looking up the corresponding prefix. If this parameter is null then the prefix will be taken directly from each
context.
Returns:
An XPath expression that uniquely selects the specified node, or null if from is not a direct ancestor of
toNode

Overview Package Class Use Tree Deprecated Index Help


PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD
Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.
com.tibco.xml.adjuncts.channel
Interfaces
AdjunctConsumer
AdjunctHandler
AdjunctProvider
AdjunctSupplier
Overview Package Class Use Tree Deprecated Index Help
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Package com.tibco.xml.adjuncts.channel
Provisioning of schema adjuncts.
See:
Description

Interface Summary
AdjunctConsumer Implemented by components that require the services of an AdjunctProvider.
AdjunctHandler Implemented by components to handle adjuncts.
AdjunctProvider Implemented by components to provide an adjunct through a pull mechanism.
Implemented by components that supply an adjunct, through a push mechanism, to
AdjunctSupplier
an AdjunctHandler.

Package com.tibco.xml.adjuncts.channel
Description
Provisioning of schema adjuncts.

Overview Package Class Use Tree Deprecated Index Help


PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


com.tibco.xml.channel.boundary
Interfaces
DocumentBoundaryHandler
DocumentBoundarySupplier
Overview Package Class Use Tree Deprecated Index Help
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Package com.tibco.xml.channel.boundary
XML document boundary notifications.
See:
Description

Interface Summary
DocumentBoundaryHandler
DocumentBoundarySupplier

Package com.tibco.xml.channel.boundary
Description
XML document boundary notifications.

Overview Package Class Use Tree Deprecated Index Help


PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


com.tibco.xml.channel.content
Interfaces
ContentConsumer
ContentFilter
ContentProvider
ContentSupplier
ContentSupplierMulticast
Overview Package Class Use Tree Deprecated Index Help
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Package com.tibco.xml.channel.content
SAX content information channels.
See:
Description

Interface Summary
Implemented by components that require SAX Content from a
ContentConsumer
ContentProvider to operate.
ContentFilter Implemented by components that handle and supply SAX Content.
Implemented by components that can provide SAX Content through a pull
ContentProvider
mechanism to a ContentConsumer.
Implemented by components that supply SAX Content to one SAX
ContentSupplier
ContentHandler.

ContentSupplierMulticast Implemented by components that supply SAX Content to multiple SAX


ContentHandler(s).

Package com.tibco.xml.channel.content
Description
SAX content information channels.

Overview Package Class Use Tree Deprecated Index Help


PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


com.tibco.xml.channel.context
Interfaces
XmlContextConsumer
XmlContextProvider
Overview Package Class Use Tree Deprecated Index Help
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Package com.tibco.xml.channel.context
XML Context information channels.
See:
Description

Interface Summary
XmlContextConsumer Implemented by components that require an XML Context from an
XmlContextProvider to operate.
Implemented by components that can provide an XML Context through a pull
XmlContextProvider
mechanism to an XmlContextConsumer.

Package com.tibco.xml.channel.context
Description
XML Context information channels.

Overview Package Class Use Tree Deprecated Index Help


PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


com.tibco.xml.channel.dom
Interfaces
DocumentConsumer
DocumentProvider
DOMHandler
DOMSupplier
Overview Package Class Use Tree Deprecated Index Help
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Package com.tibco.xml.channel.dom
This package contains interfaces and implementations supporting org.w3c.dom information channels.
See:
Description

Interface Summary
DocumentConsumer Implemented by components that require org.w3c.dom Document(s) from a
DocumentProvider to operate.
Implemented by components that can provide org.w3c.dom Document(s)
DocumentProvider
through a pull mechanism to a DocumentConsumer.
DOMHandler Implemented by components that process Document(s).
DOMSupplier Implemented by components that supply Document(s) to DOMHandler(s).

Package com.tibco.xml.channel.dom Description


This package contains interfaces and implementations supporting org.w3c.dom information channels.

Overview Package Class Use Tree Deprecated Index Help


PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


com.tibco.xml.channel.entity
Interfaces
EntityConsumer
Overview Package Class Use Tree Deprecated Index Help
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Package com.tibco.xml.channel.entity
Entity resolution.
See:
Description

Interface Summary
EntityConsumer

Package com.tibco.xml.channel.entity Description


Entity resolution.

Overview Package Class Use Tree Deprecated Index Help


PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


com.tibco.xml.channel.error
Interfaces
ErrorSupplier
ErrorSupplierMulticast
Overview Package Class Use Tree Deprecated Index Help
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Package com.tibco.xml.channel.error
Error information channels.
See:
Description

Interface Summary
Implemented by components that supply SAX Error(s) to SAX
ErrorSupplier
ErrorHandler(s).

ErrorSupplierMulticast Implemented by components that supply SAX Error(s) to SAX


ErrorHandler(s).

Package com.tibco.xml.channel.error Description


Error information channels.

Overview Package Class Use Tree Deprecated Index Help


PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


com.tibco.xml.channel.property
Interfaces
PropertyConsumer
PropertyHandler
PropertyProvider
PropertySupplier
PropertySupplierMulticast
Overview Package Class Use Tree Deprecated Index Help
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Package com.tibco.xml.channel.property
Property information channels.
See:
Description

Interface Summary
Implemented by components that require property values from a
PropertyConsumer
PropertyProvider to operate.
Implemented by components that receive property values pushed by a
PropertyHandler
PropertySupplier.
Implemented by components that can provide property values through a
PropertyProvider
pull mechanism to a PropertyConsumer.
Implemented by components that can supply property values through a
PropertySupplier
push mechanism to PropertyHandler(s).

PropertySupplierMulticast Implemented by components that can supply property values through a


push mechanism to PropertyHandler(s).

Package com.tibco.xml.channel.property
Description
Property information channels.

Overview Package Class Use Tree Deprecated Index Help


PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


com.tibco.xml.channel.remark
Interfaces
XmlRemarkFilter
XmlRemarkHandler
XmlRemarkSupplier
XmlRemarkSupplierMulticast
Overview Package Class Use Tree Deprecated Index Help
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Package com.tibco.xml.channel.remark
Remark information channels.
See:
Description

Interface Summary
XmlRemarkFilter
XmlRemarkHandler Implemented by components that handle XML Remarks.
Implemented by components that supply XML Remarks to one
XmlRemarkSupplier
XmlRemarkHandler.

XmlRemarkSupplierMulticast Implemented by components that supply XML Remarks to multiple


XmlRemarkHandler(s).

Package com.tibco.xml.channel.remark Description


Remark information channels.

Overview Package Class Use Tree Deprecated Index Help


PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


com.tibco.xml.channel.stream
Interfaces
XmlStreamFilter
XmlStreamHandler
XmlStreamSupplier
XmlStreamSupplierMulticast
Overview Package Class Use Tree Deprecated Index Help
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Package com.tibco.xml.channel.stream
XML stream information channels.
See:
Description

Interface Summary
XmlStreamFilter
XmlStreamHandler Implemented by components that process XML Stream events.
Implemented by components that supply an XML Stream to
XmlStreamSupplier
XmlStreamHandler(s).

XmlStreamSupplierMulticast Implemented by components that supply XML Stream events to


multiple XmlStreamHandler(s).

Package com.tibco.xml.channel.stream Description


XML stream information channels. The XMLStreamHandler interface is the main output channel of the
Validator.

Overview Package Class Use Tree Deprecated Index Help


PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


com.tibco.xml.channel.stream.helpers
Classes
DefaultXmlStreamHandler
XmlStreamMulticastHelper
XmlStreamProfiler
XmlStreamTermination
XmlStreamTracer
XmlStreamUtilities
Overview Package Class Use Tree Deprecated Index Help
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Package com.tibco.xml.channel.stream.helpers
Utility classes for operating on XML streams.
See:
Description

Class Summary
DefaultXmlStreamHandler Acts as a dummy filter
This class helps classes to support XmlStreamSupplier by managing the
XmlStreamMulticastHelper set of XmlStreamHandler(s) and iteration over them when events need
to be broadcast.
XmlStreamProfiler
XmlStreamTermination
XmlStreamTracer
XmlStreamUtilities

Package com.tibco.xml.channel.stream.helpers
Description
Utility classes for operating on XML streams.

Overview Package Class Use Tree Deprecated Index Help


PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


com.tibco.xml.channel.typeuri
Interfaces
TypeURIHandler
TypeURISupplier
Overview Package Class Use Tree Deprecated Index Help
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Package com.tibco.xml.channel.typeuri
TypeURI information channels.
See:
Description

Interface Summary
TypeURIHandler
TypeURISupplier

Package com.tibco.xml.channel.typeuri Description


TypeURI information channels. TypeURI is a mechanism for assigning a "type" to each document,
independent of schema dialects and namespaces.

Overview Package Class Use Tree Deprecated Index Help


PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


com.tibco.xml.data.context
Interfaces
XmlContext
Overview Package Class Use Tree Deprecated Index Help
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Package com.tibco.xml.data.context
The XmlContext interface, representing a context in an XML information set.
See:
Description

Interface Summary
Provides access to data and type information for an attribute or element
XmlContext
within an information set.

Package com.tibco.xml.data.context Description


The XmlContext interface, representing a context in an XML information set.

Overview Package Class Use Tree Deprecated Index Help


PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


com.tibco.xml.data.context.helpers
Classes
XmlContextOnXmlCursor
XPathHelper
Overview Package Class Use Tree Deprecated Index Help
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Package com.tibco.xml.data.context.helpers
Utility classes for operating on XML contexts.
See:
Description

Class Summary
XmlContextOnXmlCursor
XPathHelper

Package com.tibco.xml.data.context.helpers
Description
Utility classes for operating on XML contexts.

Overview Package Class Use Tree Deprecated Index Help


PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


com.tibco.xml.data.cursor
Interfaces
XmlCursor
XmlReader

Classes
XmlCursorSupport

Exceptions
UndefinedPropertyException
Overview Package Class Use Tree Deprecated Index Help
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Package com.tibco.xml.data.cursor
The XmlCursor interface, representing a cursor over an XML information set.
See:
Description

Interface Summary
Provides access to data and type information for an XML information set
XmlCursor
item.
XmlReader A forward-only pull style cursor over an XML information set.

Class Summary
XmlCursorSupport XmlCursorSupport contains static utility methods.

Exception Summary
UndefinedPropertyException

Package com.tibco.xml.data.cursor Description


The XmlCursor interface, representing a cursor over an XML information set.

Overview Package Class Use Tree Deprecated Index Help


PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


com.tibco.xml.data.cursor.helpers
Classes
XmlCursor4DOM
XmlCursorNoNavigation
XmlCursorOnXmlContext
XmlStringValue
Overview Package Class Use Tree Deprecated Index Help
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Package com.tibco.xml.data.cursor.helpers
Utility classes for operating on XML cursors.
See:
Description

Class Summary
XmlCursor4DOM
XmlCursorNoNavigation A simple XmlCursor helper needed for stream operations.
XmlCursorOnXmlContext
XmlStringValue Simple wrapper around String to implement XmlValue

Package com.tibco.xml.data.cursor.helpers
Description
Utility classes for operating on XML cursors.

Overview Package Class Use Tree Deprecated Index Help


PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


com.tibco.xml.data.node
Interfaces
XmlNode
XmlProps
XmlTypes
XmlValue
Overview Package Class Use Tree Deprecated Index Help
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Package com.tibco.xml.data.node
The XmlNode interface, representing information common to an XML context and an XML cursor.
See:
Description

Interface Summary
Provides access to data and type information for an attribute or element
XmlNode
within an information set.
XmlProps
XmlTypes
XmlValue is the representation of a simple type in an XML information
XmlValue
set.

Package com.tibco.xml.data.node Description


The XmlNode interface, representing information common to an XML context and an XML cursor.

Overview Package Class Use Tree Deprecated Index Help


PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


com.tibco.xml.data.primitive
Interfaces
NamespaceResolver
NamespaceToPrefixResolver
PrefixToNamespaceResolver

Classes
ExpandedName
QName

Exceptions
NamespaceToPrefixResolver.NamespaceNotFoundException
PrefixToNamespaceResolver.PrefixNotFoundException
UnsupportedAxisException
Overview Package Class Use Tree Deprecated Index Help
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Package com.tibco.xml.data.primitive
XML primitive types.
See:
Description

Interface Summary
NamespaceResolver A bidirectional namespace-prefix resolver
NamespaceToPrefixResolver
PrefixToNamespaceResolver

Class Summary
ExpandedName
QName

Exception Summary
Indicates that a namespace could not
NamespaceToPrefixResolver.NamespaceNotFoundException be found by the
NamespaceToPrefixResolver
Indicates that a prefix could not be
PrefixToNamespaceResolver.PrefixNotFoundException found by the
PrefixToNamespaceResolver
UnsupportedAxisException

Package com.tibco.xml.data.primitive Description


XML primitive types.
Overview Package Class Use Tree Deprecated Index Help
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


com.tibco.xml.processor
Classes
Aggregate
C14NSerializer
DOM2Content
DOM2XmlStream
SAXContent2DOM
SAXContent2XmlStream
SAXContentNormalizer
XmlStream2DOM
XmlStreamCompiler
XmlStreamEnhancer
XmlStreamParser
XmlStreamSerializer
XmlStreamSimplEx
Overview Package Class Use Tree Deprecated Index Help
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Package com.tibco.xml.processor
Processors for manipulating XML information sets.
See:
Description

Class Summary
Aggregate
A canonical XmlStream Serializer implementing Canonical XML Version
1.0 It sorts the attributes and uses standard encoding of attribute and
C14NSerializer
element text content to allow for bytewise comparison, digital signatures,
etc.
DOM2Content Traverses a Document to generate SAX Content.
DOM2XmlStream Traverses a Document to generate an XML stream.
SAXContent2DOM Performs conversion from SAX Content to a Document.
SAXContent2XmlStream Performs conversion from SAX Content to an untyped XML Stream.
SAXContentNormalizer Performs normalization of SAX Content.
XmlStream2DOM Performs conversion from an XML stream to a document.
Compiles Simple Types in an XML stream to user-defined types derived
XmlStreamCompiler from XmlValue through the plug-in SimpleTypeCompiler
mechanism.
Performs conversion from a basic XML Stream to an XML Stream with
XmlStreamEnhancer
Schema Information.
XmlStreamParser
An XmlStreamHandler serializing the stream into an XML document
XmlStreamSerializer
using the Writer or OutputStream passed to the constructor.
XmlStreamSimplEx Simple Type Extended Validation (SimpleEx).
Package com.tibco.xml.processor Description
Processors for manipulating XML information sets.

Overview Package Class Use Tree Deprecated Index Help


PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


com.tibco.xml.runtime
Interfaces
IBlackBox
IConfigurable
IConnectionBuilder
IContextConsumer
IContextProvider
IFactory

Exceptions
MissingConnectionException
Overview Package Class Use Tree Deprecated Index Help
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Package com.tibco.xml.runtime
This is the main XML Runtime package.
See:
Description

Interface Summary
IBlackBox A Black Box is a component with a hidden implementation.
The IConfigurable interface allows an instance to have configuration information
IConfigurable
set at runtime.

IConnectionBuilder This interface is implemented for each pair of message interfaces so that a script
may be used to connect together the channels of black boxes at execution time.

IContextConsumer This interface should be implemented by all black box components that require
contextual information or the creation of other components.
This interface is implemented to provide contextual information to black box
IContextProvider
components.
IFactory This interface implements the standard factory pattern for black box components.

Exception Summary
MissingConnectionException This class is used to indicate that a required connection on a processor
was not made.

Package com.tibco.xml.runtime Description


This is the main XML Runtime package.

Overview Package Class Use Tree Deprecated Index Help


PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


com.tibco.xml.runtime.data
Interfaces
BooleanHandler
BooleanSupplier
DocumentLocatorConsumer
DocumentLocatorProvider
DTDSupplier
StringHandler
StringSupplier
UriHandler
UriSupplier
UrlHandler
UrlSupplier

Classes
Entity
Overview Package Class Use Tree Deprecated Index Help
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Package com.tibco.xml.runtime.data
This package contains some standard "channel" interfaces for XML Runtime.
See:
Description

Interface Summary
BooleanHandler
BooleanSupplier
DocumentLocatorConsumer Implemented by components that require a SAX Locator.
DocumentLocatorProvider Implemented by components that can provide a SAX Locator.
DTDSupplier
StringHandler
StringSupplier
UriHandler
UriSupplier
UrlHandler
UrlSupplier

Class Summary
Entity

Package com.tibco.xml.runtime.data Description


This package contains some standard "channel" interfaces for XML Runtime.
Overview Package Class Use Tree Deprecated Index Help
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


com.tibco.xml.schema
Interfaces
NamespaceEntityResolver
NewSchemaParser
SmAttribute
SmAttributeGroup
SmComponent
SmConverter
SmDataComponent
SmElement
SmFlavor
SmIdentityConstraint
SmIdentityConstraint.Path
SmMetaForeignAttribute
SmMetaInfo
SmModelGroup
SmNotation
SmParser
SmParticle
SmParticleTerm
SmSchema
SmSchemaError
SmSchemaError.Handler
SmSchemaError.Source
SmSchemaSpace
SmType
SmTypeFacet
SmVisitor
SmWildcard

Classes
SmFactory
SmSupport
SmVisitor.Default

Exceptions
SmException
SmVisitor.Failure
SmVisitor.Result
SmVisitor.Success
Overview Package Class Use Tree Deprecated Index Help
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Package com.tibco.xml.schema
This package contains a collection of interfaces for representation of a schema.
See:
Description

Interface Summary
NamespaceEntityResolver A resolver that maps a namespace URI and an optional location URI
"hint" to an InputSource, typically for a schema.
NewSchemaParser A generalized schema/DTD parser.
SmAttribute represents an attribute declaration, which may be global or
SmAttribute
local to some type.
SmAttributeGroup is a SmModelGroup with the constraint that all
SmAttributeGroup
particles are attributes and the compositor is ALL.
SmComponent is the base interface for all schema components, such as
SmComponent
element and attribute declarations.
SmConverter is an interface used by SmFactory for creating a SmSchema
SmConverter
from an existing object (such as Extensibility's SmSchema).
SmDataComponent represents an data object in a schema (either an
SmDataComponent element or attribute), which may be global to a schema or local to some
type.

SmElement The SmElement interface models an element declaration, which could be


global within the schema or local to some other element.
SmFlavor SmFlavor identifies the "flavor" of a schema, such as DTD or XSDL.
SmIdentityConstraint SmIdentityConstraint describes key/key/unique constraints on the schema.
SmIdentityConstraint.Path An interface for representing parsed field / selector XPaths.
SmMetaForeignAttribute
SmMetaInfo Parent of meta-information holders
SmModelGroup SmModelGroup represents a group of content sequences.
SmNotation Notation
SmParser is an interface used by SmFactory for creating a SmSchema
SmParser
from an InputSource.
SmParticle A SmParticle is a component of a group.
SmParticleTerm is a marker interface for items that can be the term of a
SmParticleTerm
particle.
SmSchema SmSchema is an model for a read-only schema.
SmSchemaError
SmSchemaError.Handler
SmSchemaError.Source
SmSchemaSpace SmSchemaSpace is a collection of namespace-to-schema mappings.
SmType represents all types in a schema, both simple types and complex
SmType
types, though some methods are only applicable to one or the other.
SmTypeFacet SmTypeFacet represents data-type facets.
SmVisitor
SmWildcard SmWildcard represent wildcard terms of content models.

Class Summary
SmFactory keeps a set of converters and a parser for use in creating SmSchema
SmFactory
objects.
SmSupport SmSupport contains static utility methods.
SmVisitor.Default

Exception Summary
SmException
SmVisitor.Failure
SmVisitor.Result Result of a "search" visit.
SmVisitor.Success
Package com.tibco.xml.schema Description
This package contains a collection of interfaces for representation of a schema.
A schema is, most basically, a namespace and a collection of components, such as types and elements.
Though we use XML terminology, in particular XSD (XML Schema Definition) terminology, the
interfaces are intended to support schemas for any kind of data.
The classes and interfaces of this package are listed here with brief descriptions. Subinterfaces are
indented from their parent interface.
Note we use the "Sm" prefix for all items in this package. "Sm" stands for Schema Model. It hasn't been
determined how best to pronounce the "Sm".
Interfaces:
● SmSchema - the schema itself

● SmFlavor - the kind of schema (e.g., XSD or DTD)


● SmComponent - base interface for all components
❍ SmIdentityConstraint - key/keyref and uniqueness constraints
❍ SmNotation - an XML notation
❍ SmParticle - a member of a group with occurrence info
❍ SmParticleTerm - a particle's term (no occurrence info)
■ SmDataComponent - a typed data definition (an attribute or element)
■ SmAttribute - an attribute definition
■ SmElement - an element definition
■ SmModelGroup - a model for content
■ SmAttributeGroup - a model for attribute content
■ SmWildcard - a wildcard within a model
❍ SmType a type definition (simple or complex)
❍ SmTypeFacet - a facet of a type (e.g., maxlength)
● SmConverter - interface for converting objects into SmSchemas
● SmParser - interface for parsing text into SmSchemas
Classes:
● SmSchemaSpace - a collection of related schemas

● SmFactory - factory for creating schemas and schema spaces


● SmSupport - static utility methods
CONFIDENTIAL TIBCO Software, Inc.
Overview Package Class Use Tree Deprecated Index Help
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


com.tibco.xml.schema.channel
Interfaces
NamespaceEntityConsumer
SchemaModelConsumer
SchemaModelHandler
SchemaModelProvider
SchemaModelSupplier
Overview Package Class Use Tree Deprecated Index Help
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Package com.tibco.xml.schema.channel
Schema provisioning interfaces.
See:
Description

Interface Summary
NamespaceEntityConsumer
Implemented by components that require the services of a
SchemaModelConsumer
SchemaModelProvider.
SchemaModelHandler Implemented by components to handle schemas.
Implemented by components to provide a schema through a pull
SchemaModelProvider
mechanism.
Implemented by components that supply a schema model, through a push
SchemaModelSupplier
mechanism, to a SchemaModelHandler.

Package com.tibco.xml.schema.channel
Description
Schema provisioning interfaces.

Overview Package Class Use Tree Deprecated Index Help


PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


com.tibco.xml.validation
Interfaces
SchemaMap
XMLValidator

Classes
ErrorCode
PrintWriterErrorHandler
StringValidation
ValidationFactory
ValidationUtilities
Version

Exceptions
SchemaException
XMLValidationException
Overview Package Class Use Tree Deprecated Index Help
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Package com.tibco.xml.validation
XML Validation in a pure SAX 2.0 environment.
See:
Description

Interface Summary
A collection of pre-parsed schema/DTD representations for use by an
SchemaMap
XMLValidator.
An XMLFilter that performs schema validation on the SAX2
XMLValidator
ContentHandler event stream.

Class Summary
ErrorCode

PrintWriterErrorHandler A sample ErrorHandler that simply prints errors and warnings to a


PrintWriter.
StringValidation A sample class for use in a simple JNI invocation of XML Validate.
ValidationFactory A factory class to construct XMLValidator and SchemaMap instances.
ValidationUtilities A set of static utility methods for performing XML validation.
Version Shows the current version number and build date.

Exception Summary
An exception class for problems encountered while parsing or checking a
SchemaException
schema.
XMLValidationException An exception indicating a violation of a schema validation constraint.
Package com.tibco.xml.validation Description
XML Validation in a pure SAX 2.0 environment. The key interfaces are XMLValidator and
SchemaMap, and a factory class for constructing them (ValidationFactory). A set of static utility methods
for common use-cases is also provided in the ValidationUtilities class.
XMLValidator is designed to fit into a SAX 2.0 based architecture with minimal coding. As an
XMLFilter, an XMLValidator can be easily interposed into an existing SAX event stream. The
implementation is also optimized for situations in which a set of known schemas can be pre-parsed and
otherwise prepared for fast validation of an arbitrary number of instance documents. The prepared
schemas are stored in the SchemaMap, indexed by target namespace (or possibly by public identifier, for
DTDs).
Several policies are provided. XMLValidator.USE_SCHEMA_LOCATION_POLICY controls whether
instance documents can explicitly indicate a schema document that was not pre-parsed and stored in the
SchemaMap. XMLValidator.USE_DTD_PUBLIC_ID_POLICY allows DTDs to be pre-parsed and
stored by public identifier. Finally, SchemaMap.CHECK_ERRORS_POLICY lets the client application
control whether schemas are explicitly checked for errors or simply assumed to be correct, avoiding the
cost of the check.

Overview Package Class Use Tree Deprecated Index Help


PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


com.tibco.xml.validation.channel
Interfaces
LocationHintHandler
LocationHintSupplier
Overview Package Class Use Tree Deprecated Index Help
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Package com.tibco.xml.validation.channel
Interfaces used by the validator to communicate schema location hints in documents.
See:
Description

Interface Summary
LocationHintHandler
LocationHintSupplier

Package com.tibco.xml.validation.channel
Description
Interfaces used by the validator to communicate schema location hints in documents.
Note: the connection builder class for the "LocationHint" channel is not implemented yet.

Overview Package Class Use Tree Deprecated Index Help


PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


com.tibco.xml.validation.constraints
Interfaces
ConstraintChecker

Classes
DefaultConstraintChecker
ValidationConstraintEngine

Exceptions
DefaultConstraintViolation
Overview Package Class Use Tree Deprecated Index Help
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Package com.tibco.xml.validation.constraints
A mechanism for adding custom constraints to the validator.
See:
Description

Interface Summary
ConstraintChecker Interface that a custom constraint checker must support.

Class Summary
DefaultConstraintChecker Default implementation of ConstraintChecker.

ValidationConstraintEngine Metadata handling engine that dispatches metadata events to the


appropriate ConstraintChecker implementations by namespace.

Exception Summary
DefaultConstraintViolation Exception class for constraint violations reported by the
DefaultConstraintChecker.

Package com.tibco.xml.validation.constraints
Description
A mechanism for adding custom constraints to the validator.
A custom constraint implementation must implement the interface ConstraintChecker. The simplest way
to implement this is to extend class DefaultConstraintChecker. The implementation is registered with a
StreamingConstraintEngine (that is connected to the XMLStream output of the Validator).
This architecture is built upon the metadata handling facilities in com.tibco.xml.adjuncts.streaming. For
more information, including sample code, see the ConstraintChecker.rtf document.
CONFIDENTIAL TIBCO Software, Inc.
Overview Package Class Use Tree Deprecated Index Help
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


com.tibco.xml.validation.helpers
Classes
ValidatingFilter_ExternalCache
ValidatingFilter_InternalCache
Validator_DOM_Remark_ExternalCache
Validator_SAX_Error_ExternalCache
Validator_SAX_Error_InternalCache
Validator_SAX_Remark_ExternalCache
Validator_SAX_Remark_InternalCache
XMLValidatorFilterImplMk1
Overview Package Class Use Tree Deprecated Index Help
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Package com.tibco.xml.validation.helpers
Ready-to-use validation patterns.
See:
Description

Class Summary
A SAX validating filter employing an external schema
ValidatingFilter_ExternalCache
cache.
ValidatingFilter_InternalCache A SAX validating filter with an internal schema cache.

Validator_DOM_Remark_ExternalCache A DOM validator producing XML remarks and


employing an external schema cache.
A validator with SAX interfaces but not a SAX Filter,
Validator_SAX_Error_ExternalCache
and employing an external schema model provider.
A validator with SAX interfaces but not a SAX Filter,
Validator_SAX_Error_InternalCache
and with an internal schema cache.
A validator that accepts SAX Content, generates XML
Validator_SAX_Remark_ExternalCache
remarks, with an external schema cache.
A validator with SAX interfaces but not a SAX Filter,
Validator_SAX_Remark_InternalCache
emits XML remarks, and with an internal schema cache.
XML Validate XML Filter based upon the version 2.0
XMLValidatorFilterImplMk1 validation components but using the SchemaMap for
caching schemas.

Package com.tibco.xml.validation.helpers
Description
Ready-to-use validation patterns.
CONFIDENTIAL TIBCO Software, Inc.
Overview Package Class Use Tree Deprecated Index Help
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


com.tibco.xml.validation.kernel
Classes
DefaultAdjunctCache
DefaultAdjunctSupplier
DefaultNamespaceConverter
DefaultSchemaCache
DefaultSchemaSupplier
NativeSchemaProvider
SAXLocationHintSupplier
ValidationControl
ValidationKernel
Validator
Overview Package Class Use Tree Deprecated Index Help
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Package com.tibco.xml.validation.kernel
Validation components that may be used to assemble a specialized validator.
See:
Description

Class Summary
DefaultAdjunctCache Maps namespaceURI to an Adjunct (Document).
DefaultAdjunctSupplier Supplies adjunct Document(s) when driven by Location Hints.

DefaultNamespaceConverter Converts schema requests by namespace for the null namespace to


requests using the normalized document element name.
DefaultSchemaCache Maps namespaceURI to an SmSchema.
DefaultSchemaSupplier Supplies SmSchema(s) when driven by Location Hints.
NativeSchemaProvider Maps namespaceURI to an SmSchema for built-in XML schemas.
Extracts schema location and document hints from a SAX stream and
SAXLocationHintSupplier
provides them to listeners.
ValidationControl
Validates the XmlStream against the associated schema type
ValidationKernel
information.
Validator The core XML Validator implementation.

Package com.tibco.xml.validation.kernel
Description
Validation components that may be used to assemble a specialized validator.
CONFIDENTIAL TIBCO Software, Inc.

Overview Package Class Use Tree Deprecated Index Help


PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES
Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.
com.tibco.xml.validation.scripting
Classes
ScriptingAdjunctValidator
ScriptingSimpleTypeCompilers
ScriptingValidatorMk1
Overview Package Class Use Tree Deprecated Index Help
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Package com.tibco.xml.validation.scripting
A mechanism for extending standard validation using XML Processing Language (XPL) script.
See:
Description

Class Summary
ScriptingAdjunctValidator
ScriptingSimpleTypeCompilers Read-only storage of XML Schema built-in type compilers.
ScriptingValidatorMk1 Scripting Extended Validation Implementation.

Package com.tibco.xml.validation.scripting
Description
A mechanism for extending standard validation using XML Processing Language (XPL) script.
Scripting Extended Validation may be applied when validation is required beyond that which is available
using conventional schema-based validation. Scripting Extended Validation combines XPath, variables
and a procedural language (similar to XSL) to provide a powerful extension to standard validation.
Scripting Extended Validation may itself be extended by implementing user-defined XPath functions and
language elements.
Scripting Extended Validation is described further in the User Manual and is illustrated in the samples.
CONFIDENTIAL TIBCO Software, Inc.

Overview Package Class Use Tree Deprecated Index Help


PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

TIBCO Extensibility XML Validate API


XML Validate is a Java library for performing validation of XML documents against DTDs and schemas
of various dialects.
See:
Description

Validation Helpers
com.tibco.xml.validation.helpers Ready-to-use validation patterns.

Validation Kernel
com.tibco.xml.validation.kernel Validation components that may be used to assemble a specialized
validator.

Custom Extended Validation


com.tibco.xml.validation.constraints A mechanism for adding custom constraints to the validator.

Scripting Extended Validation


com.tibco.xml.validation.scripting A mechanism for extending standard validation using XML
Processing Language (XPL) script.

Schema Model
This package contains a collection of interfaces for representation of
com.tibco.xml.schema
a schema.
com.tibco.xml.schema.channel Schema provisioning interfaces.
Validation Filter
com.tibco.xml.validation XML Validation in a pure SAX 2.0 environment.

Other Packages
com.tibco.xml.adjuncts.channel Provisioning of schema adjuncts.
com.tibco.xml.channel.boundary XML document boundary notifications.
com.tibco.xml.channel.content SAX content information channels.
com.tibco.xml.channel.context XML Context information channels.
This package contains interfaces and implementations
com.tibco.xml.channel.dom
supporting org.w3c.dom information channels.
com.tibco.xml.channel.entity Entity resolution.
com.tibco.xml.channel.error Error information channels.
com.tibco.xml.channel.property Property information channels.
com.tibco.xml.channel.remark Remark information channels.
com.tibco.xml.channel.stream XML stream information channels.
com.tibco.xml.channel.stream.helpers Utility classes for operating on XML streams.
com.tibco.xml.channel.typeuri TypeURI information channels.
The XmlContext interface, representing a context in an XML
com.tibco.xml.data.context
information set.
com.tibco.xml.data.context.helpers Utility classes for operating on XML contexts.
The XmlCursor interface, representing a cursor over an XML
com.tibco.xml.data.cursor
information set.
com.tibco.xml.data.cursor.helpers Utility classes for operating on XML cursors.
The XmlNode interface, representing information common to
com.tibco.xml.data.node
an XML context and an XML cursor.
com.tibco.xml.data.primitive XML primitive types.
com.tibco.xml.processor Processors for manipulating XML information sets.
com.tibco.xml.runtime This is the main XML Runtime package.
This package contains some standard "channel" interfaces for
com.tibco.xml.runtime.data
XML Runtime.
Interfaces used by the validator to communicate schema
com.tibco.xml.validation.channel
location hints in documents.

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 Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.adjuncts.channel.AdjunctConsumer
Packages that use AdjunctConsumer
Validation components that may be used to assemble a
com.tibco.xml.validation.kernel
specialized validator.

com.tibco.xml.validation.scripting A mechanism for extending standard validation using XML


Processing Language (XPL) script.

Uses of AdjunctConsumer in
com.tibco.xml.validation.kernel

Classes in com.tibco.xml.validation.kernel that implement AdjunctConsumer


class DefaultAdjunctSupplier
Supplies adjunct Document(s) when driven by Location Hints.

Uses of AdjunctConsumer in
com.tibco.xml.validation.scripting

Classes in com.tibco.xml.validation.scripting that implement AdjunctConsumer


class ScriptingValidatorMk1
Scripting Extended Validation Implementation.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES
Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Hierarchy For Package


com.tibco.xml.adjuncts.channel
Package Hierarchies:
All Packages

Interface Hierarchy
❍ interface com.tibco.xml.adjuncts.channel.AdjunctConsumer
❍ interface com.tibco.xml.adjuncts.channel.AdjunctHandler
❍ interface com.tibco.xml.adjuncts.channel.AdjunctProvider
❍ interface com.tibco.xml.adjuncts.channel.AdjunctSupplier

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Deprecated API
Deprecated Methods
com.tibco.xml.validation.SchemaMap.addSchema(String, InputSource)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

ABCDEFGHIKLMNOPQRSTUVWX

A
accept(SmVisitor) - Method in interface com.tibco.xml.schema.SmComponent
Visit this component.
accept(SmVisitor) - Method in interface com.tibco.xml.schema.SmSchema
Visit this schema and its components.
adapter - Variable in class com.tibco.xml.validation.kernel.Validator

add(SmSchema) - Method in interface com.tibco.xml.schema.SmSchemaSpace


Adds a schema to this schemaSpace.
add(SmSchemaSpace) - Method in interface com.tibco.xml.schema.SmSchemaSpace
Adds another schemaSpace to this schemaSpace.
add(SmSchema, String) - Method in interface com.tibco.xml.schema.SmSchemaSpace
Adds a schema to this schemaSpace.
addAllElements(SmSchema, SmElement, Set) - Static method in class
com.tibco.xml.schema.SmSupport

addAllElements(SmSchema, SmType, Set) - Static method in class com.tibco.xml.schema.SmSupport

addBooleanHandler(BooleanHandler) - Method in interface


com.tibco.xml.runtime.data.BooleanSupplier

addContentHandler(ContentHandler) - Method in interface


com.tibco.xml.channel.content.ContentSupplierMulticast

addConverter(Class, SmConverter) - Method in class com.tibco.xml.schema.SmFactory


Adds a Class/SmConverter pairs to this factory.
addDocumentBoundaryHandler(DocumentBoundaryHandler) - Method in interface
com.tibco.xml.channel.boundary.DocumentBoundarySupplier

addDocumentBoundaryHandler(DocumentBoundaryHandler) - Method in class


com.tibco.xml.processor.SAXContent2XmlStream

addDocumentBoundaryHandler(DocumentBoundaryHandler) - Method in class


com.tibco.xml.processor.SAXContent2XmlStream.SAXContent2XmlKernel

addDocumentBoundaryHandler(DocumentBoundaryHandler) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Remark_ExternalCache

addDOMHandler(DOMHandler) - Method in interface com.tibco.xml.channel.dom.DOMSupplier

addDOMHandler(DOMHandler) - Method in class com.tibco.xml.processor.DOM2XmlStream

addDOMHandler(DOMHandler) - Method in class com.tibco.xml.processor.SAXContent2DOM

addDOMHandler(DOMHandler) - Method in class com.tibco.xml.processor.XmlStream2DOM

addDOMHandler(DOMHandler) - Method in class


com.tibco.xml.validation.helpers.Validator_DOM_Remark_ExternalCache

addDOMHandler(DOMHandler) - Method in class


com.tibco.xml.validation.scripting.ScriptingValidatorMk1

addDTD(InputSource) - Method in interface com.tibco.xml.validation.SchemaMap


Adds a DTD to this schemaMap.
addDTD(SmSchema, String) - Method in interface com.tibco.xml.schema.SmSchemaSpace
Adds a DTD to this schemaSpace.
addDTDHandler(DTDHandler) - Method in interface com.tibco.xml.runtime.data.DTDSupplier

addErrorHandler(ErrorHandler) - Method in interface


com.tibco.xml.channel.error.ErrorSupplierMulticast

addFirstTerms(List, SmParticleTerm) - Static method in class com.tibco.xml.schema.SmSupport

addLocationHintHandler(LocationHintHandler) - Method in interface


com.tibco.xml.validation.channel.LocationHintSupplier
addLocationHintHandler(LocationHintHandler) - Method in class
com.tibco.xml.validation.kernel.Validator

addLocationHintHandler(LocationHintHandler) - Method in class


com.tibco.xml.validation.kernel.SAXLocationHintSupplier

addLocationHintHandler(LocationHintHandler) - Method in class


com.tibco.xml.processor.XmlStreamParser

addPotentialFollowers(List, SmModelGroup, String, String) - Static method in class


com.tibco.xml.schema.SmSupport
Determines possible followers of a node of the given name and namespace.
addPropertyHandler(PropertyHandler) - Method in interface
com.tibco.xml.channel.property.PropertySupplierMulticast
Allows a component to register a PropertyHandler for this supplier.
addSchema(InputSource) - Method in interface com.tibco.xml.validation.SchemaMap
Add a schema to the map, using the target namespace URI as a key.
addSchema(String, InputSource) - Method in interface com.tibco.xml.validation.SchemaMap
Deprecated.
addStringHandler(StringHandler) - Method in interface com.tibco.xml.runtime.data.StringSupplier

addTypeURIHandler(TypeURIHandler) - Method in class


com.tibco.xml.validation.kernel.SAXLocationHintSupplier

addTypeURIHandler(TypeURIHandler) - Method in interface


com.tibco.xml.channel.typeuri.TypeURISupplier

addTypeURIHandler(TypeURIHandler) - Method in class


com.tibco.xml.processor.DOM2XmlStream

addTypeURIHandler(TypeURIHandler) - Method in class


com.tibco.xml.validation.helpers.Validator_DOM_Remark_ExternalCache

addUriHandler(UriHandler) - Method in interface com.tibco.xml.runtime.data.UriSupplier

addUrlHandler(UrlHandler) - Method in interface com.tibco.xml.runtime.data.UrlSupplier


addXDR(SmSchema, String) - Method in interface com.tibco.xml.schema.SmSchemaSpace
Adds an XDR schema to this schemaSpace.
addXDR(String, InputSource) - Method in interface com.tibco.xml.validation.SchemaMap
Add an XDR schema to the map specifying the target namespace URI as a key.
addXmlRemarkHandler(XmlRemarkHandler) - Method in interface
com.tibco.xml.channel.remark.XmlRemarkSupplierMulticast
Allows an application to register an XmlRemarkHandler for this supplier.
addXmlStreamHandler(XmlStreamHandler) - Method in interface
com.tibco.xml.channel.stream.XmlStreamSupplierMulticast
Allows an application to register an XmlStreamHandler for this supplier.
addXmlStreamHandler(XmlStreamHandler) - Method in class
com.tibco.xml.channel.stream.helpers.XmlStreamMulticastHelper

AdjunctConsumer - interface com.tibco.xml.adjuncts.channel.AdjunctConsumer.


Implemented by components that require the services of an AdjunctProvider.
AdjunctHandler - interface com.tibco.xml.adjuncts.channel.AdjunctHandler.
Implemented by components to handle adjuncts.
AdjunctProvider - interface com.tibco.xml.adjuncts.channel.AdjunctProvider.
Implemented by components to provide an adjunct through a pull mechanism.
AdjunctSupplier - interface com.tibco.xml.adjuncts.channel.AdjunctSupplier.
Implemented by components that supply an adjunct, through a push mechanism, to an
AdjunctHandler.
Aggregate - class com.tibco.xml.processor.Aggregate.

Aggregate() - Constructor for class com.tibco.xml.processor.Aggregate

ALL - Static variable in interface com.tibco.xml.schema.SmModelGroup

ALL_TYPES - Static variable in interface com.tibco.xml.schema.SmComponent

ALLOW_AMBIGUOUS_CONTENTMODELS_POLICY - Static variable in interface


com.tibco.xml.validation.XMLValidator
A policy to avoid reporting of ambiguous content models.
allowsText(SmDataComponent) - Static method in class com.tibco.xml.schema.SmSupport
Returns whether this type of this component allows text content.
allowsText(SmType) - Static method in class com.tibco.xml.schema.SmSupport
Returns whether this type allows text content.
ATTRIBUTE_GROUP_TYPE - Static variable in interface com.tibco.xml.schema.SmComponent

ATTRIBUTE_NODE - Static variable in interface com.tibco.xml.data.node.XmlTypes


The node is an Attribute.
ATTRIBUTE_TYPE - Static variable in interface com.tibco.xml.schema.SmComponent

attribute() - Method in class com.tibco.xml.validation.kernel.ValidationKernel

attribute() - Method in interface com.tibco.xml.channel.stream.XmlStreamHandler


Receive notification of an attribute.
attribute() - Method in class com.tibco.xml.channel.stream.helpers.DefaultXmlStreamHandler

attribute() - Method in class com.tibco.xml.channel.stream.helpers.XmlStreamMulticastHelper

attribute() - Method in class com.tibco.xml.channel.stream.helpers.XmlStreamTracer

attribute() - Method in class com.tibco.xml.channel.stream.helpers.XmlStreamProfiler

attribute() - Method in class com.tibco.xml.channel.stream.helpers.XmlStreamTermination

attribute() - Method in class com.tibco.xml.processor.XmlStreamEnhancer

attribute() - Method in class com.tibco.xml.processor.XmlStreamCompiler

attribute() - Method in class com.tibco.xml.processor.XmlStreamCompiler.XmlStreamCompilerContext

attribute() - Method in class com.tibco.xml.processor.XmlStreamSerializer


Receive notification of an attribute.
attribute() - Method in class com.tibco.xml.processor.C14NSerializer
Receive notification of an attribute.
attribute() - Method in class com.tibco.xml.processor.XmlStreamSimplEx

attribute() - Method in class com.tibco.xml.processor.XmlStreamSimplEx.XmlStreamCompilerContext


attribute() - Method in class com.tibco.xml.processor.XmlStream2DOM

attributeIsPredefined(String, String, SmFlavor) - Static method in class


com.tibco.xml.schema.SmSupport

AUTO_NAMESPACE_POLICY - Static variable in interface com.tibco.xml.schema.SmSchemaSpace


The name of the policy that controls QName resolution in the schema.

B
BooleanHandler - interface com.tibco.xml.runtime.data.BooleanHandler.

BooleanSupplier - interface com.tibco.xml.runtime.data.BooleanSupplier.

C
C14NSerializer - class com.tibco.xml.processor.C14NSerializer.
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.
C14NSerializer(Writer) - Constructor for class com.tibco.xml.processor.C14NSerializer
C14N Constructor.
cacheSchema(String) - Static method in class com.tibco.xml.validation.StringValidation
Cached a schema in the static SchemaMap.
calculateXPath(XmlContext, XmlContext, int, NamespaceToPrefixResolver) - Static method in class
com.tibco.xml.data.context.helpers.XPathHelper
Calculates an XPath expression that assumes a context node specified by from parameter and
uniquely selects the node specified by the to parameter.
CDATA_SECTION_NODE - Static variable in interface com.tibco.xml.data.node.XmlTypes
The node is a CDATASection.
cdata(char[], int, int) - Method in class com.tibco.xml.processor.SAXContent2DOM

CHANNEL_ADJUNCT_MODEL_CONSUMER - Static variable in class


com.tibco.xml.validation.kernel.DefaultAdjunctSupplier

CHANNEL_ADJUNCT_MODEL_SUPPLIER - Static variable in class


com.tibco.xml.validation.kernel.DefaultAdjunctSupplier

CHANNEL_BOUNDARY - Static variable in class


com.tibco.xml.validation.kernel.DefaultAdjunctCache

CHANNEL_BOUNDARY - Static variable in class


com.tibco.xml.validation.kernel.DefaultSchemaCache

CHANNEL_BOUNDARY_HANDLER - Static variable in class


com.tibco.xml.validation.kernel.ValidationControl

CHANNEL_BOUNDARY_SUPPLIER - Static variable in class


com.tibco.xml.processor.SAXContent2XmlStream

CHANNEL_CONTENT_HANDLER - Static variable in class


com.tibco.xml.validation.kernel.SAXLocationHintSupplier

CHANNEL_CONTENT_HANDLER - Static variable in class


com.tibco.xml.processor.SAXContentNormalizer

CHANNEL_CONTENT_HANDLER - Static variable in class


com.tibco.xml.processor.SAXContent2XmlStream

CHANNEL_CONTENT_HANDLER - Static variable in class


com.tibco.xml.processor.SAXContent2DOM

CHANNEL_CONTENT_SUPPLIER - Static variable in class


com.tibco.xml.validation.kernel.SAXLocationHintSupplier

CHANNEL_CONTENT_SUPPLIER - Static variable in class


com.tibco.xml.processor.SAXContentNormalizer

CHANNEL_CONTENT_SUPPLIER - Static variable in class


com.tibco.xml.processor.SAXContent2XmlStream

CHANNEL_DOM_HANDLER - Static variable in class com.tibco.xml.processor.DOM2XmlStream

CHANNEL_DOM_SUPPLIER - Static variable in class com.tibco.xml.processor.SAXContent2DOM

CHANNEL_ENTITY_CONSUMER - Static variable in class


com.tibco.xml.validation.kernel.DefaultSchemaSupplier

CHANNEL_ENTITY_CONSUMER - Static variable in class


com.tibco.xml.validation.kernel.SAXLocationHintSupplier

CHANNEL_ENTITY_RESOLVER - Static variable in class


com.tibco.xml.validation.kernel.SAXLocationHintSupplier

CHANNEL_ERROR_SUPPLIER - Static variable in class


com.tibco.xml.validation.kernel.DefaultAdjunctSupplier

CHANNEL_HANDLER - Static variable in class


com.tibco.xml.validation.kernel.DefaultAdjunctCache

CHANNEL_HANDLER - Static variable in class com.tibco.xml.validation.kernel.DefaultSchemaCache

CHANNEL_INPUT - Static variable in class com.tibco.xml.processor.DOM2Content

CHANNEL_INPUT - Static variable in class com.tibco.xml.processor.XmlStream2DOM

CHANNEL_INPUT - Static variable in class com.tibco.xml.validation.scripting.ScriptingValidatorMk1

CHANNEL_LEXICAL_HANDLER - Static variable in class


com.tibco.xml.processor.SAXContent2DOM

CHANNEL_LOCATION_HINT_HANDLER - Static variable in class


com.tibco.xml.validation.kernel.DefaultSchemaSupplier

CHANNEL_LOCATION_HINT_HANDLER - Static variable in class


com.tibco.xml.validation.kernel.DefaultAdjunctSupplier

CHANNEL_LOCATION_HINT_SUPPLIER - Static variable in class


com.tibco.xml.validation.kernel.SAXLocationHintSupplier

CHANNEL_MODE_SINK - Static variable in interface com.tibco.xml.runtime.IBlackBox


Defines the role of an interface for a component as the callee.
CHANNEL_MODE_SOURCE - Static variable in interface com.tibco.xml.runtime.IBlackBox
Defines the role of an interface for a component as the caller.
CHANNEL_OUTPUT - Static variable in class com.tibco.xml.processor.DOM2Content

CHANNEL_OUTPUT - Static variable in class com.tibco.xml.processor.XmlStream2DOM

CHANNEL_PROPERTY_CONSUMER - Static variable in class


com.tibco.xml.validation.kernel.DefaultSchemaSupplier

CHANNEL_PROPERTY_CONSUMER - Static variable in class


com.tibco.xml.validation.kernel.SAXLocationHintSupplier

CHANNEL_PROVIDER - Static variable in class


com.tibco.xml.validation.kernel.DefaultAdjunctCache

CHANNEL_PROVIDER - Static variable in class


com.tibco.xml.validation.kernel.DefaultSchemaCache

CHANNEL_REMARK - Static variable in class


com.tibco.xml.validation.scripting.ScriptingValidatorMk1

CHANNEL_REMARK_HANDLER - Static variable in class


com.tibco.xml.validation.kernel.ValidationControl

CHANNEL_REMARK_SUPPLIER - Static variable in class


com.tibco.xml.validation.kernel.DefaultSchemaSupplier

CHANNEL_REMARK_SUPPLIER - Static variable in class


com.tibco.xml.validation.kernel.ValidationKernel
CHANNEL_REMARK_SUPPLIER - Static variable in class
com.tibco.xml.validation.kernel.ValidationControl

CHANNEL_REMARK_SUPPLIER - Static variable in class


com.tibco.xml.processor.XmlStreamEnhancer

CHANNEL_REMARK_SUPPLIER - Static variable in class


com.tibco.xml.processor.SAXContent2XmlStream

CHANNEL_SCHEMA_CONSUMER - Static variable in class


com.tibco.xml.processor.XmlStreamEnhancer

CHANNEL_SCHEMA_MODEL_CONSUMER - Static variable in class


com.tibco.xml.validation.kernel.DefaultSchemaSupplier

CHANNEL_SCHEMA_MODEL_PROVIDER - Static variable in class


com.tibco.xml.validation.kernel.NativeSchemaProvider

CHANNEL_SCHEMA_MODEL_SUPPLIER - Static variable in class


com.tibco.xml.validation.kernel.DefaultSchemaSupplier

CHANNEL_STREAM_HANDLER - Static variable in class


com.tibco.xml.validation.kernel.ValidationKernel

CHANNEL_STREAM_HANDLER - Static variable in class


com.tibco.xml.channel.stream.helpers.XmlStreamMulticastHelper
The input channel is an XmlStreamHandler.
CHANNEL_STREAM_HANDLER - Static variable in class
com.tibco.xml.channel.stream.helpers.XmlStreamTracer

CHANNEL_STREAM_HANDLER - Static variable in class


com.tibco.xml.channel.stream.helpers.XmlStreamProfiler

CHANNEL_STREAM_HANDLER - Static variable in class


com.tibco.xml.channel.stream.helpers.XmlStreamTermination
CHANNEL_STREAM_HANDLER - Static variable in class
com.tibco.xml.processor.XmlStreamEnhancer

CHANNEL_STREAM_SUPPLIER - Static variable in class


com.tibco.xml.validation.kernel.ValidationKernel

CHANNEL_STREAM_SUPPLIER - Static variable in class


com.tibco.xml.channel.stream.helpers.XmlStreamMulticastHelper
The output channel is an XmlStreamSupplier.
CHANNEL_STREAM_SUPPLIER - Static variable in class
com.tibco.xml.channel.stream.helpers.XmlStreamTracer

CHANNEL_STREAM_SUPPLIER - Static variable in class


com.tibco.xml.channel.stream.helpers.XmlStreamProfiler

CHANNEL_STREAM_SUPPLIER - Static variable in class


com.tibco.xml.processor.DOM2XmlStream

CHANNEL_STREAM_SUPPLIER - Static variable in class


com.tibco.xml.processor.XmlStreamEnhancer

CHANNEL_STREAM_SUPPLIER - Static variable in class


com.tibco.xml.processor.SAXContent2XmlStream

CHANNEL_TYPE - Static variable in class com.tibco.xml.validation.scripting.ScriptingValidatorMk1

characters(char[], int, int) - Method in class com.tibco.xml.validation.kernel.Validator

characters(char[], int, int) - Method in class com.tibco.xml.validation.kernel.SAXLocationHintSupplier

characters(char[], int, int) - Method in class com.tibco.xml.processor.SAXContentNormalizer

characters(char[], int, int) - Method in class com.tibco.xml.processor.SAXContent2XmlStream

characters(char[], int, int) - Method in class


com.tibco.xml.processor.SAXContent2XmlStream.SAXContent2XmlKernel
characters(char[], int, int) - Method in class com.tibco.xml.processor.SAXContent2DOM

characters(char[], int, int) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Remark_InternalCache

characters(char[], int, int) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Remark_ExternalCache

characters(char[], int, int) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Error_InternalCache

characters(char[], int, int) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Error_ExternalCache

characters(char[], int, int) - Method in class


com.tibco.xml.validation.scripting.ScriptingAdjunctValidator

CHECK_ERRORS_POLICY - Static variable in interface com.tibco.xml.validation.SchemaMap


The name of the policy that controls schema error-checking, used as the first argument to
"setPolicy()".
CHECK_ERRORS_POLICY - Static variable in interface com.tibco.xml.schema.SmSchemaSpace
The name of the policy that controls schema error-checking.
checkErrors(SmSchemaError.Handler) - Method in interface com.tibco.xml.schema.SmComponent
Check for errors.
checkErrors(SmSchemaError.Handler) - Method in interface com.tibco.xml.schema.SmSchema
Check for errors in the schema.
CHOICE - Static variable in interface com.tibco.xml.schema.SmModelGroup

clone() - Method in interface com.tibco.xml.data.cursor.XmlCursor


Makes a copy of the cursor.
clone() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursorNoNavigation
Descendants should override.
clone() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursor4DOM

clone() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext


closeTag() - Method in class com.tibco.xml.processor.XmlStreamSerializer

closeTag() - Method in class com.tibco.xml.processor.C14NSerializer

com.tibco.xml.adjuncts.channel - package com.tibco.xml.adjuncts.channel


Provisioning of schema adjuncts.
com.tibco.xml.channel.boundary - package com.tibco.xml.channel.boundary
XML document boundary notifications.
com.tibco.xml.channel.content - package com.tibco.xml.channel.content
SAX content information channels.
com.tibco.xml.channel.context - package com.tibco.xml.channel.context
XML Context information channels.
com.tibco.xml.channel.dom - package com.tibco.xml.channel.dom
This package contains interfaces and implementations supporting org.w3c.dom information
channels.
com.tibco.xml.channel.entity - package com.tibco.xml.channel.entity
Entity resolution.
com.tibco.xml.channel.error - package com.tibco.xml.channel.error
Error information channels.
com.tibco.xml.channel.property - package com.tibco.xml.channel.property
Property information channels.
com.tibco.xml.channel.remark - package com.tibco.xml.channel.remark
Remark information channels.
com.tibco.xml.channel.stream - package com.tibco.xml.channel.stream
XML stream information channels.
com.tibco.xml.channel.stream.helpers - package com.tibco.xml.channel.stream.helpers
Utility classes for operating on XML streams.
com.tibco.xml.channel.typeuri - package com.tibco.xml.channel.typeuri
TypeURI information channels.
com.tibco.xml.data.context - package com.tibco.xml.data.context
The XmlContext interface, representing a context in an XML information set.
com.tibco.xml.data.context.helpers - package com.tibco.xml.data.context.helpers
Utility classes for operating on XML contexts.
com.tibco.xml.data.cursor - package com.tibco.xml.data.cursor
The XmlCursor interface, representing a cursor over an XML information set.
com.tibco.xml.data.cursor.helpers - package com.tibco.xml.data.cursor.helpers
Utility classes for operating on XML cursors.
com.tibco.xml.data.node - package com.tibco.xml.data.node
The XmlNode interface, representing information common to an XML context and an XML
cursor.
com.tibco.xml.data.primitive - package com.tibco.xml.data.primitive
XML primitive types.
com.tibco.xml.processor - package com.tibco.xml.processor
Processors for manipulating XML information sets.
com.tibco.xml.runtime - package com.tibco.xml.runtime
This is the main XML Runtime package.
com.tibco.xml.runtime.data - package com.tibco.xml.runtime.data
This package contains some standard "channel" interfaces for XML Runtime.
com.tibco.xml.schema - package com.tibco.xml.schema
This package contains a collection of interfaces for representation of a schema.
com.tibco.xml.schema.channel - package com.tibco.xml.schema.channel
Schema provisioning interfaces.
com.tibco.xml.validation - package com.tibco.xml.validation
XML Validation in a pure SAX 2.0 environment.
com.tibco.xml.validation.channel - package com.tibco.xml.validation.channel
Interfaces used by the validator to communicate schema location hints in documents.
com.tibco.xml.validation.constraints - package com.tibco.xml.validation.constraints
A mechanism for adding custom constraints to the validator.
com.tibco.xml.validation.helpers - package com.tibco.xml.validation.helpers
Ready-to-use validation patterns.
com.tibco.xml.validation.kernel - package com.tibco.xml.validation.kernel
Validation components that may be used to assemble a specialized validator.
com.tibco.xml.validation.scripting - package com.tibco.xml.validation.scripting
A mechanism for extending standard validation using XML Processing Language (XPL) script.
COMMENT_NODE - Static variable in interface com.tibco.xml.data.node.XmlTypes
The node is a Comment.
comment(char[], int, int) - Method in class com.tibco.xml.processor.SAXContent2DOM

connect(IBlackBox, String, IBlackBox, String) - Method in interface


com.tibco.xml.runtime.IConnectionBuilder
Connects the specified channels of two black box components together.
ConstraintChecker - interface com.tibco.xml.validation.constraints.ConstraintChecker.
Interface that a custom constraint checker must support.
CONTENT_MODEL_ERROR_AMBIGUOUS_CONTENT_MODEL - Static variable in class
com.tibco.xml.validation.ErrorCode

CONTENT_MODEL_ERROR_DERIVED_TYPE_SCHEMA_VERSION_MISMATCH - Static
variable in class com.tibco.xml.validation.ErrorCode

CONTENT_MODEL_ERROR_ELEMENT_IS_ABSTRACT - Static variable in class


com.tibco.xml.validation.ErrorCode

CONTENT_MODEL_ERROR_ELEMENT_NOT_NILLABLE - Static variable in class


com.tibco.xml.validation.ErrorCode

CONTENT_MODEL_ERROR_ELEMENTS_NOT_ALLOWED_IN_EMPTY_CONTENT - Static
variable in class com.tibco.xml.validation.ErrorCode

CONTENT_MODEL_ERROR_ELEMENTS_NOT_ALLOWED_IN_TEXT_ONLY_CONTENT -
Static variable in class com.tibco.xml.validation.ErrorCode

CONTENT_MODEL_ERROR_ENUMERATION_FACET_MISMATCH - Static variable in class


com.tibco.xml.validation.ErrorCode

CONTENT_MODEL_ERROR_MISSING_ATTRIBUTE - Static variable in class


com.tibco.xml.validation.ErrorCode

CONTENT_MODEL_ERROR_MISSING_ELEMENT_DECLARATION - Static variable in class


com.tibco.xml.validation.ErrorCode

CONTENT_MODEL_ERROR_MISSING_SCHEMA - Static variable in class


com.tibco.xml.validation.ErrorCode

CONTENT_MODEL_ERROR_MISSING_TYPE_DECLARATION - Static variable in class


com.tibco.xml.validation.ErrorCode
CONTENT_MODEL_ERROR_NO_NAMESPACE_FOR_PREFIX - Static variable in class
com.tibco.xml.validation.ErrorCode

CONTENT_MODEL_ERROR_TEXT_NOT_ALLOWED_IN_EMPTY_CONTENT - Static
variable in class com.tibco.xml.validation.ErrorCode

CONTENT_MODEL_ERROR_TYPE_IS_ABSTRACT - Static variable in class


com.tibco.xml.validation.ErrorCode

CONTENT_MODEL_ERROR_TYPE_IS_MISSING - Static variable in class


com.tibco.xml.validation.ErrorCode

CONTENT_MODEL_ERROR_TYPE_NOT_FOUND_IN_NAMESPACE - Static variable in class


com.tibco.xml.validation.ErrorCode

CONTENT_MODEL_ERROR_UNDECLARED_ATTRIBUTE - Static variable in class


com.tibco.xml.validation.ErrorCode

CONTENT_MODEL_ERROR_UNDECLARED_ELEMENT - Static variable in class


com.tibco.xml.validation.ErrorCode

CONTENT_MODEL_ERROR_UNDECLARED_IDREF - Static variable in class


com.tibco.xml.validation.ErrorCode

CONTENT_MODEL_ERROR_UNEXPECTED_CONTENT - Static variable in class


com.tibco.xml.validation.ErrorCode

CONTENT_MODEL_ERROR_UNEXPECTED_END_OF_CONTENT - Static variable in class


com.tibco.xml.validation.ErrorCode

CONTENT_MODEL_ERROR_UNEXPECTED_TEXT - Static variable in class


com.tibco.xml.validation.ErrorCode

ContentConsumer - interface com.tibco.xml.channel.content.ContentConsumer.


Implemented by components that require SAX Content from a ContentProvider to operate.
ContentFilter - interface com.tibco.xml.channel.content.ContentFilter.
Implemented by components that handle and supply SAX Content.
ContentProvider - interface com.tibco.xml.channel.content.ContentProvider.
Implemented by components that can provide SAX Content through a pull mechanism to a
ContentConsumer.
ContentSupplier - interface com.tibco.xml.channel.content.ContentSupplier.
Implemented by components that supply SAX Content to one SAX ContentHandler.
ContentSupplierMulticast - interface com.tibco.xml.channel.content.ContentSupplierMulticast.
Implemented by components that supply SAX Content to multiple SAX ContentHandler(s).
convert(Object, SmSchemaSpace) - Method in interface com.tibco.xml.schema.SmConverter
Converts the given object into an equivalent SmSchema.
convert(Object, SmSchemaSpace) - Method in class com.tibco.xml.schema.SmFactory
Converts the input into a SmSchema with a stored SmConverter.
copyPolicies(SmSchemaSpace, SmSchemaSpace) - Static method in class
com.tibco.xml.schema.SmSupport

createDefaultXMLReader() - Static method in class com.tibco.xml.validation.ValidationUtilities


Create an instance of the default SAX2 parser, as determined by the JAXP factory mechanism.
createDefaultXMLReader(boolean) - Static method in class
com.tibco.xml.validation.ValidationUtilities
Create an instance of the default SAX2 parser, as determined by the JAXP factory mechanism.
createInstance(String) - Method in interface com.tibco.xml.runtime.IFactory

createMetadataHandler(String) - Method in class


com.tibco.xml.validation.constraints.ValidationConstraintEngine

createMutableSchema() - Method in class com.tibco.xml.schema.SmFactory


Provides an interface for creating new schemas programmatically.
createSchemaMap() - Static method in class com.tibco.xml.validation.ValidationFactory
Create an instance of SchemaMap.
createSchemaSpace() - Static method in class com.tibco.xml.schema.SmFactory
Create a default implementation of SmSchemaSpace.
createValidator(SchemaMap, ErrorHandler) - Static method in class
com.tibco.xml.validation.ValidationUtilities
Create an XMLValidator with a given set of schemas, already inserted into a SchemaMap object,
and with a given ErrorHandler.
createValidator(XMLReader) - Static method in class com.tibco.xml.validation.ValidationFactory
Create an XMLValidator instance using the given parser (SAX2 XMLReader).

D
DefaultAdjunctCache - class com.tibco.xml.validation.kernel.DefaultAdjunctCache.
Maps namespaceURI to an Adjunct (Document).
DefaultAdjunctCache() - Constructor for class com.tibco.xml.validation.kernel.DefaultAdjunctCache

DefaultAdjunctSupplier - class com.tibco.xml.validation.kernel.DefaultAdjunctSupplier.


Supplies adjunct Document(s) when driven by Location Hints.
DefaultAdjunctSupplier() - Constructor for class
com.tibco.xml.validation.kernel.DefaultAdjunctSupplier

DefaultConstraintChecker - class com.tibco.xml.validation.constraints.DefaultConstraintChecker.


Default implementation of ConstraintChecker.
DefaultConstraintChecker() - Constructor for class
com.tibco.xml.validation.constraints.DefaultConstraintChecker

DefaultConstraintViolation - exception
com.tibco.xml.validation.constraints.DefaultConstraintViolation.
Exception class for constraint violations reported by the DefaultConstraintChecker.
DefaultConstraintViolation(String) - Constructor for class
com.tibco.xml.validation.constraints.DefaultConstraintViolation

DefaultNamespaceConverter - class com.tibco.xml.validation.kernel.DefaultNamespaceConverter.


Converts schema requests by namespace for the null namespace to requests using the normalized
document element name.
DefaultNamespaceConverter() - Constructor for class
com.tibco.xml.validation.kernel.DefaultNamespaceConverter

DefaultSchemaCache - class com.tibco.xml.validation.kernel.DefaultSchemaCache.


Maps namespaceURI to an SmSchema.
DefaultSchemaCache() - Constructor for class com.tibco.xml.validation.kernel.DefaultSchemaCache
DefaultSchemaSupplier - class com.tibco.xml.validation.kernel.DefaultSchemaSupplier.
Supplies SmSchema(s) when driven by Location Hints.
DefaultSchemaSupplier() - Constructor for class
com.tibco.xml.validation.kernel.DefaultSchemaSupplier

DefaultXmlStreamHandler - class com.tibco.xml.channel.stream.helpers.DefaultXmlStreamHandler.


Acts as a dummy filter
DefaultXmlStreamHandler() - Constructor for class
com.tibco.xml.channel.stream.helpers.DefaultXmlStreamHandler

disconnect(IBlackBox, String, IBlackBox, String) - Method in interface


com.tibco.xml.runtime.IConnectionBuilder
Disconnects the specified channels of two black box components.
DOCUMENT_FRAGMENT_NODE - Static variable in interface com.tibco.xml.data.node.XmlTypes
The node is a DocumentFragment.
DOCUMENT_NODE - Static variable in interface com.tibco.xml.data.node.XmlTypes
The node is a Document.
DOCUMENT_TYPE_NODE - Static variable in interface com.tibco.xml.data.node.XmlTypes
The node is a DocumentType.
DocumentBoundaryHandler - interface com.tibco.xml.channel.boundary.DocumentBoundaryHandler.

DocumentBoundarySupplier - interface com.tibco.xml.channel.boundary.DocumentBoundarySupplier.

DocumentConsumer - interface com.tibco.xml.channel.dom.DocumentConsumer.


Implemented by components that require org.w3c.dom Document(s) from a DocumentProvider to
operate.
documentElement(ExpandedName) - Method in interface
com.tibco.xml.validation.channel.LocationHintHandler

documentElement(ExpandedName) - Method in class


com.tibco.xml.validation.kernel.DefaultSchemaSupplier

documentElement(ExpandedName) - Method in class


com.tibco.xml.validation.kernel.DefaultNamespaceConverter

DocumentLocatorConsumer - interface com.tibco.xml.runtime.data.DocumentLocatorConsumer.


Implemented by components that require a SAX Locator.
DocumentLocatorProvider - interface com.tibco.xml.runtime.data.DocumentLocatorProvider.
Implemented by components that can provide a SAX Locator.
DocumentProvider - interface com.tibco.xml.channel.dom.DocumentProvider.
Implemented by components that can provide org.w3c.dom Document(s) through a pull
mechanism to a DocumentConsumer.
DOM2Content - class com.tibco.xml.processor.DOM2Content.
Traverses a Document to generate SAX Content.
DOM2Content() - Constructor for class com.tibco.xml.processor.DOM2Content

DOM2XmlStream - class com.tibco.xml.processor.DOM2XmlStream.


Traverses a Document to generate an XML stream.
DOM2XmlStream() - Constructor for class com.tibco.xml.processor.DOM2XmlStream

DOMHandler - interface com.tibco.xml.channel.dom.DOMHandler.


Implemented by components that process Document(s).
DOMSupplier - interface com.tibco.xml.channel.dom.DOMSupplier.
Implemented by components that supply Document(s) to DOMHandler(s).
dtdIterator() - Method in interface com.tibco.xml.schema.SmSchemaSpace
Returns an Iterator over all DTD public identifiers in this schemaspace.
DTDSupplier - interface com.tibco.xml.runtime.data.DTDSupplier.

E
ELEMENT_ID_ERROR_DUPLICATE - Static variable in class com.tibco.xml.validation.ErrorCode

ELEMENT_ID_ERROR_MULTIPLE_ID_ATTRIBUTES - Static variable in class


com.tibco.xml.validation.ErrorCode

ELEMENT_ID_ERROR_UNDECLARED_IDREF - Static variable in class


com.tibco.xml.validation.ErrorCode

ELEMENT_NODE - Static variable in interface com.tibco.xml.data.node.XmlTypes


The node is an Element.
ELEMENT_TYPE - Static variable in interface com.tibco.xml.schema.SmComponent

endCDATA() - Method in class com.tibco.xml.processor.SAXContent2DOM

endDocument() - Method in interface com.tibco.xml.validation.channel.LocationHintHandler

endDocument() - Method in class com.tibco.xml.validation.kernel.Validator

endDocument() - Method in class com.tibco.xml.validation.kernel.DefaultSchemaSupplier

endDocument() - Method in class com.tibco.xml.validation.kernel.DefaultAdjunctCache

endDocument() - Method in class com.tibco.xml.validation.kernel.DefaultNamespaceConverter

endDocument() - Method in class com.tibco.xml.validation.kernel.DefaultSchemaCache

endDocument() - Method in class com.tibco.xml.validation.kernel.ValidationKernel

endDocument() - Method in class com.tibco.xml.validation.kernel.SAXLocationHintSupplier

endDocument() - Method in class com.tibco.xml.validation.kernel.ValidationControl

endDocument() - Method in interface com.tibco.xml.channel.boundary.DocumentBoundaryHandler

endDocument() - Method in interface com.tibco.xml.channel.stream.XmlStreamHandler


Receive notification of the end of a document.
endDocument() - Method in class com.tibco.xml.channel.stream.helpers.DefaultXmlStreamHandler

endDocument() - Method in class com.tibco.xml.channel.stream.helpers.XmlStreamMulticastHelper

endDocument() - Method in class com.tibco.xml.channel.stream.helpers.XmlStreamTracer

endDocument() - Method in class com.tibco.xml.channel.stream.helpers.XmlStreamProfiler

endDocument() - Method in class com.tibco.xml.channel.stream.helpers.XmlStreamTermination


endDocument() - Method in class com.tibco.xml.processor.XmlStreamEnhancer

endDocument() - Method in class com.tibco.xml.processor.XmlStreamCompiler

endDocument() - Method in class


com.tibco.xml.processor.XmlStreamCompiler.XmlStreamCompilerContext

endDocument() - Method in class com.tibco.xml.processor.SAXContentNormalizer

endDocument() - Method in class com.tibco.xml.processor.XmlStreamSerializer


Receive notification of the end of a document.
endDocument() - Method in class com.tibco.xml.processor.SAXContent2XmlStream

endDocument() - Method in class


com.tibco.xml.processor.SAXContent2XmlStream.SAXContent2XmlKernel

endDocument() - Method in class com.tibco.xml.processor.SAXContent2DOM

endDocument() - Method in class com.tibco.xml.processor.XmlStreamSimplEx

endDocument() - Method in class


com.tibco.xml.processor.XmlStreamSimplEx.XmlStreamCompilerContext

endDocument() - Method in class com.tibco.xml.processor.XmlStream2DOM

endDocument() - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Remark_InternalCache

endDocument() - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Remark_ExternalCache

endDocument() - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Error_InternalCache

endDocument() - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Error_ExternalCache

endDocument() - Method in class com.tibco.xml.validation.constraints.DefaultConstraintChecker

endDocument() - Method in class com.tibco.xml.validation.scripting.ScriptingAdjunctValidator

endDTD() - Method in class com.tibco.xml.processor.SAXContent2DOM

endElement() - Method in class com.tibco.xml.validation.kernel.ValidationKernel

endElement() - Method in interface com.tibco.xml.channel.stream.XmlStreamHandler


Receive notification of the end of an element.
endElement() - Method in class com.tibco.xml.channel.stream.helpers.DefaultXmlStreamHandler

endElement() - Method in class com.tibco.xml.channel.stream.helpers.XmlStreamMulticastHelper

endElement() - Method in class com.tibco.xml.channel.stream.helpers.XmlStreamTracer

endElement() - Method in class com.tibco.xml.channel.stream.helpers.XmlStreamProfiler

endElement() - Method in class com.tibco.xml.channel.stream.helpers.XmlStreamTermination

endElement() - Method in class com.tibco.xml.processor.XmlStreamEnhancer

endElement() - Method in class com.tibco.xml.processor.XmlStreamCompiler

endElement() - Method in class


com.tibco.xml.processor.XmlStreamCompiler.XmlStreamCompilerContext

endElement() - Method in class com.tibco.xml.processor.XmlStreamSerializer


Receive notification of the end of an element.
endElement() - Method in class com.tibco.xml.processor.C14NSerializer
Receive notification of the end of an element.
endElement() - Method in class com.tibco.xml.processor.XmlStreamSimplEx
endElement() - Method in class
com.tibco.xml.processor.XmlStreamSimplEx.XmlStreamCompilerContext

endElement() - Method in class com.tibco.xml.processor.XmlStream2DOM

endElement(String, String, String) - Method in class com.tibco.xml.validation.kernel.Validator

endElement(String, String, String) - Method in class


com.tibco.xml.validation.kernel.SAXLocationHintSupplier

endElement(String, String, String) - Method in class com.tibco.xml.processor.SAXContentNormalizer

endElement(String, String, String) - Method in class


com.tibco.xml.processor.SAXContent2XmlStream

endElement(String, String, String) - Method in class


com.tibco.xml.processor.SAXContent2XmlStream.SAXContent2XmlKernel

endElement(String, String, String) - Method in class com.tibco.xml.processor.SAXContent2DOM

endElement(String, String, String) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Remark_InternalCache

endElement(String, String, String) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Remark_ExternalCache

endElement(String, String, String) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Error_InternalCache

endElement(String, String, String) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Error_ExternalCache

endElement(String, String, String) - Method in class


com.tibco.xml.validation.scripting.ScriptingAdjunctValidator

endEntity(String) - Method in class com.tibco.xml.processor.SAXContent2DOM


endPrefixMapping(String) - Method in class com.tibco.xml.validation.kernel.Validator

endPrefixMapping(String) - Method in class


com.tibco.xml.validation.kernel.SAXLocationHintSupplier

endPrefixMapping(String) - Method in class com.tibco.xml.processor.SAXContentNormalizer

endPrefixMapping(String) - Method in class com.tibco.xml.processor.SAXContent2XmlStream

endPrefixMapping(String) - Method in class


com.tibco.xml.processor.SAXContent2XmlStream.SAXContent2XmlKernel

endPrefixMapping(String) - Method in class com.tibco.xml.processor.SAXContent2DOM

endPrefixMapping(String) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Remark_InternalCache

endPrefixMapping(String) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Remark_ExternalCache

endPrefixMapping(String) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Error_InternalCache

endPrefixMapping(String) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Error_ExternalCache

endPrefixMapping(String) - Method in class


com.tibco.xml.validation.scripting.ScriptingAdjunctValidator

enhancer - Variable in class com.tibco.xml.validation.kernel.Validator

Entity - class com.tibco.xml.runtime.data.Entity.

ENTITY_NODE - Static variable in interface com.tibco.xml.data.node.XmlTypes


The node is an Entity.
ENTITY_REFERENCE_NODE - Static variable in interface com.tibco.xml.data.node.XmlTypes
The node is an EntityReference.
Entity(String, String) - Constructor for class com.tibco.xml.runtime.data.Entity

EntityConsumer - interface com.tibco.xml.channel.entity.EntityConsumer.

equalReferences(SmComponent, SmComponent) - Static method in class


com.tibco.xml.schema.SmSupport
Returns whether two components have the same name and namespace.
equals(Object) - Method in class com.tibco.xml.data.primitive.QName
Override equals and agree that we're equal if the passed object is a QName and it matches the
name of the arg.
equals(Object) - Method in class com.tibco.xml.data.primitive.ExpandedName
Override equals and agree that we're equal if the passed object is a NormalizedName and it
matches the name of the arg.
equalStrings(String, String) - Static method in class com.tibco.xml.schema.SmSupport

error(SAXParseException) - Method in class com.tibco.xml.validation.PrintWriterErrorHandler

error(SmSchemaError) - Method in interface com.tibco.xml.schema.SmSchemaError.Handler

error(XmlContext, Locator, Exception, String) - Method in class


com.tibco.xml.validation.kernel.ValidationControl

error(XmlContext, Locator, Exception, String) - Method in interface


com.tibco.xml.channel.remark.XmlRemarkHandler
Notifies the handler of an error condition.
error(XmlContext, Locator, Exception, String) - Method in class
com.tibco.xml.validation.helpers.Validator_SAX_Remark_InternalCache

error(XmlContext, Locator, Exception, String) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Remark_ExternalCache

error(XmlContext, Locator, Exception, String) - Method in class


com.tibco.xml.validation.helpers.Validator_DOM_Remark_ExternalCache
error(XmlContext, String) - Method in class
com.tibco.xml.validation.constraints.DefaultConstraintChecker

ErrorCode - class com.tibco.xml.validation.ErrorCode.

ErrorCode() - Constructor for class com.tibco.xml.validation.ErrorCode

ErrorSupplier - interface com.tibco.xml.channel.error.ErrorSupplier.


Implemented by components that supply SAX Error(s) to SAX ErrorHandler(s).
ErrorSupplierMulticast - interface com.tibco.xml.channel.error.ErrorSupplierMulticast.
Implemented by components that supply SAX Error(s) to SAX ErrorHandler(s).
ExpandedName - class com.tibco.xml.data.primitive.ExpandedName.

ExpandedName(String, String) - Constructor for class com.tibco.xml.data.primitive.ExpandedName

EXTENSION - Static variable in interface com.tibco.xml.schema.SmComponent


possible values for derivation and substitution methods.
extractExtendedParticles(SmModelGroup, SmModelGroup) - Static method in class
com.tibco.xml.schema.SmSupport
Extract the particles which are extended to a base content model
extractModelContent(SmModelGroup, List) - Static method in class
com.tibco.xml.schema.SmSupport
Walks the content model tree and fills in the given List with the SmDataComponents in the model.
extractRestrictingAttributes(SmAttributeGroup, SmAttributeGroup) - Static method in class
com.tibco.xml.schema.SmSupport
Extract the particles which are restricted from a base content model

F
FACET_CR_FRACTIONDIGITS_NAME - Static variable in interface
com.tibco.xml.schema.SmTypeFacet

FACET_CR_TOTALDIGITS_NAME - Static variable in interface


com.tibco.xml.schema.SmTypeFacet
FACET_DECIMALS_NAME - Static variable in interface com.tibco.xml.schema.SmTypeFacet

FACET_DIGITS_NAME - Static variable in interface com.tibco.xml.schema.SmTypeFacet

FACET_DURATION_NAME - Static variable in interface com.tibco.xml.schema.SmTypeFacet

FACET_ENCODING_NAME - Static variable in interface com.tibco.xml.schema.SmTypeFacet

FACET_ENUM_NAME - Static variable in interface com.tibco.xml.schema.SmTypeFacet


currently known and support facets
FACET_FRACTIONDIGITS_NAME - Static variable in interface
com.tibco.xml.schema.SmTypeFacet

FACET_LENGTH_NAME - Static variable in interface com.tibco.xml.schema.SmTypeFacet

FACET_MAX_NAME - Static variable in interface com.tibco.xml.schema.SmTypeFacet

FACET_MAXEX_FLG_NAME - Static variable in interface com.tibco.xml.schema.SmTypeFacet

FACET_MAXEX_NAME - Static variable in interface com.tibco.xml.schema.SmTypeFacet

FACET_MAXIN_NAME - Static variable in interface com.tibco.xml.schema.SmTypeFacet

FACET_MAXLENGTH_NAME - Static variable in interface com.tibco.xml.schema.SmTypeFacet

FACET_MIN_NAME - Static variable in interface com.tibco.xml.schema.SmTypeFacet

FACET_MINEX_FLG_NAME - Static variable in interface com.tibco.xml.schema.SmTypeFacet

FACET_MINEX_NAME - Static variable in interface com.tibco.xml.schema.SmTypeFacet

FACET_MININ_NAME - Static variable in interface com.tibco.xml.schema.SmTypeFacet

FACET_MINLENGTH_NAME - Static variable in interface com.tibco.xml.schema.SmTypeFacet


FACET_PATTERN_NAME - Static variable in interface com.tibco.xml.schema.SmTypeFacet

FACET_TOTALDIGITS_NAME - Static variable in interface com.tibco.xml.schema.SmTypeFacet

fatalError(SAXParseException) - Method in class com.tibco.xml.validation.PrintWriterErrorHandler

fatalError(XmlContext, Locator, Exception, String) - Method in class


com.tibco.xml.validation.kernel.ValidationControl

fatalError(XmlContext, Locator, Exception, String) - Method in interface


com.tibco.xml.channel.remark.XmlRemarkHandler
Notifies the handler of an unrecoverable error condition.
fatalError(XmlContext, Locator, Exception, String) - Method in class
com.tibco.xml.validation.helpers.Validator_SAX_Remark_InternalCache

fatalError(XmlContext, Locator, Exception, String) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Remark_ExternalCache

fatalError(XmlContext, Locator, Exception, String) - Method in class


com.tibco.xml.validation.helpers.Validator_DOM_Remark_ExternalCache

FILE_NOT_FOUND_EXCEPTION - Static variable in class com.tibco.xml.validation.ErrorCode

FORMAT_ABBREVIATE - Static variable in class com.tibco.xml.data.context.helpers.XPathHelper


The XPath expression should be in the abbreviated form e.g.
FORMAT_VERBOSE - Static variable in class com.tibco.xml.data.context.helpers.XPathHelper
The XPath expression should be in the verbose form e.g.

G
gatherDescendentInfo(SmSchema, Map, Map, SmElement, SmElement) - Static method in class
com.tibco.xml.schema.SmSupport

gatherDescendentInfo(SmSchema, Map, Map, SmElement, SmModelGroup) - Static method in


class com.tibco.xml.schema.SmSupport
gatherDescendentInfo(SmSchema, Map, Map, SmElement, SmType) - Static method in class
com.tibco.xml.schema.SmSupport

get(String) - Method in interface com.tibco.xml.schema.SmSchemaSpace


Looks up the given namespace and returns the associated schema.
getAdjunct(String) - Method in class com.tibco.xml.validation.kernel.DefaultAdjunctCache

getAdjunct(String) - Method in interface com.tibco.xml.adjuncts.channel.AdjunctProvider


Retrieves an adjunct based on it's namespace.
getAllElements(SmSchema) - Static method in class com.tibco.xml.schema.SmSupport
Return iterator of all elements defined in the schema, local and global.
getAllowedDerivation() - Method in interface com.tibco.xml.schema.SmElement
Returns the set of type derivation methods that may be used for elements that declare this element
as their substitutionGroup head.
getAllowedDerivation() - Method in interface com.tibco.xml.schema.SmType
Returns the kinds of derivations allowed from this type.
getAllowedNamespaces() - Method in interface com.tibco.xml.schema.SmWildcard
Returns a iterator over namespaces that the wildcard matches.
getAllowedSubstitution() - Method in interface com.tibco.xml.schema.SmElement
Returns the set of derivation methods that may be used for elements that can be substituted for this
element in the instance document.
getAllowedSubstitution() - Method in interface com.tibco.xml.schema.SmType
Returns the set of derivation methods that may be used for elements that can be substituted for
element's of this type in the instance document.
getAttribute(ExpandedName) - Method in interface com.tibco.xml.data.context.XmlContext
Return the attribute with the specified name.
getAttribute(ExpandedName) - Method in class
com.tibco.xml.data.context.helpers.XmlContextOnXmlCursor

getAttribute(SmSchema, String) - Static method in class com.tibco.xml.schema.SmSupport

getAttributeInContext(SmType, String, String) - Static method in class


com.tibco.xml.schema.SmSupport
name MAY be prefixed by "@"
getAttributeModel() - Method in interface com.tibco.xml.schema.SmType
Returns a SmAttributeGroup which represents the attributes for this element.
getAttributes(SmSchema) - Static method in class com.tibco.xml.schema.SmSupport

getAttributeValue(ExpandedName) - Method in interface com.tibco.xml.data.node.XmlNode


Returns the value of the attribute with the specified name.
getAttributeValue(ExpandedName) - Method in class
com.tibco.xml.data.context.helpers.XmlContextOnXmlCursor

getAttributeValue(ExpandedName) - Method in class


com.tibco.xml.data.cursor.helpers.XmlCursor4DOM

getAttributeValue(ExpandedName) - Method in class


com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext

getBaseType() - Method in interface com.tibco.xml.schema.SmType


Returns the base type of this type.
getBaseURI() - Method in interface com.tibco.xml.data.node.XmlNode
Return the value of the xml:base attribute, if defined or null.
getBaseURI() - Method in class com.tibco.xml.data.context.helpers.XmlContextOnXmlCursor

getBaseURI() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursor4DOM

getBaseURI() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext

getBaseURI(Element) - Static method in class com.tibco.xml.data.cursor.helpers.XmlCursor4DOM


The value of the xml:base attribute on an element.
getBestRoot(SmSchema) - Static method in class com.tibco.xml.schema.SmSupport
Returns the "best" root element for the given schema.
getCategory() - Method in interface com.tibco.xml.schema.SmIdentityConstraint
Returns this constraint's "category".
getChannel(String) - Method in class com.tibco.xml.validation.kernel.DefaultSchemaSupplier

getChannel(String) - Method in class com.tibco.xml.validation.kernel.DefaultAdjunctSupplier

getChannel(String) - Method in class com.tibco.xml.validation.kernel.DefaultAdjunctCache


getChannel(String) - Method in class com.tibco.xml.validation.kernel.DefaultSchemaCache

getChannel(String) - Method in class com.tibco.xml.validation.kernel.ValidationKernel

getChannel(String) - Method in class com.tibco.xml.validation.kernel.SAXLocationHintSupplier

getChannel(String) - Method in class com.tibco.xml.validation.kernel.NativeSchemaProvider

getChannel(String) - Method in class com.tibco.xml.validation.kernel.ValidationControl

getChannel(String) - Method in class com.tibco.xml.channel.stream.helpers.XmlStreamMulticastHelper

getChannel(String) - Method in class com.tibco.xml.channel.stream.helpers.XmlStreamTracer

getChannel(String) - Method in class com.tibco.xml.channel.stream.helpers.XmlStreamProfiler

getChannel(String) - Method in class com.tibco.xml.channel.stream.helpers.XmlStreamTermination

getChannel(String) - Method in class com.tibco.xml.processor.DOM2XmlStream

getChannel(String) - Method in class com.tibco.xml.processor.XmlStreamEnhancer

getChannel(String) - Method in class com.tibco.xml.processor.Aggregate


Declared in com.tibco.xml.runtime.IBlackBox
getChannel(String) - Method in class com.tibco.xml.processor.SAXContentNormalizer

getChannel(String) - Method in class com.tibco.xml.processor.SAXContent2XmlStream

getChannel(String) - Method in class com.tibco.xml.processor.SAXContent2DOM

getChannel(String) - Method in class com.tibco.xml.processor.DOM2Content

getChannel(String) - Method in class com.tibco.xml.processor.XmlStream2DOM

getChannel(String) - Method in interface com.tibco.xml.runtime.IBlackBox


Returns an interface that can be used to send messages to or receive messages from the Black Box.
getChannel(String) - Method in class com.tibco.xml.validation.scripting.ScriptingValidatorMk1

getChannelMode(String) - Method in class com.tibco.xml.validation.kernel.DefaultSchemaSupplier

getChannelMode(String) - Method in class com.tibco.xml.validation.kernel.DefaultAdjunctSupplier

getChannelMode(String) - Method in class com.tibco.xml.validation.kernel.DefaultAdjunctCache

getChannelMode(String) - Method in class com.tibco.xml.validation.kernel.DefaultSchemaCache

getChannelMode(String) - Method in class com.tibco.xml.validation.kernel.ValidationKernel

getChannelMode(String) - Method in class com.tibco.xml.validation.kernel.SAXLocationHintSupplier

getChannelMode(String) - Method in class com.tibco.xml.validation.kernel.NativeSchemaProvider

getChannelMode(String) - Method in class com.tibco.xml.validation.kernel.ValidationControl

getChannelMode(String) - Method in class


com.tibco.xml.channel.stream.helpers.XmlStreamMulticastHelper

getChannelMode(String) - Method in class com.tibco.xml.channel.stream.helpers.XmlStreamTracer

getChannelMode(String) - Method in class com.tibco.xml.channel.stream.helpers.XmlStreamProfiler

getChannelMode(String) - Method in class


com.tibco.xml.channel.stream.helpers.XmlStreamTermination

getChannelMode(String) - Method in class com.tibco.xml.processor.DOM2XmlStream

getChannelMode(String) - Method in class com.tibco.xml.processor.XmlStreamEnhancer

getChannelMode(String) - Method in class com.tibco.xml.processor.Aggregate


Declared in com.tibco.xml.runtime.IBlackBox
getChannelMode(String) - Method in class com.tibco.xml.processor.SAXContentNormalizer

getChannelMode(String) - Method in class com.tibco.xml.processor.SAXContent2XmlStream

getChannelMode(String) - Method in class com.tibco.xml.processor.SAXContent2DOM

getChannelMode(String) - Method in class com.tibco.xml.processor.DOM2Content

getChannelMode(String) - Method in class com.tibco.xml.processor.XmlStream2DOM

getChannelMode(String) - Method in interface com.tibco.xml.runtime.IBlackBox


Returns the mode of the interface that is returned when getChannel is called.
getChannelMode(String) - Method in class com.tibco.xml.validation.scripting.ScriptingValidatorMk1

getChannelNames() - Method in class com.tibco.xml.validation.kernel.DefaultSchemaSupplier

getChannelNames() - Method in class com.tibco.xml.validation.kernel.DefaultAdjunctSupplier

getChannelNames() - Method in class com.tibco.xml.validation.kernel.DefaultAdjunctCache

getChannelNames() - Method in class com.tibco.xml.validation.kernel.DefaultSchemaCache

getChannelNames() - Method in class com.tibco.xml.validation.kernel.ValidationKernel

getChannelNames() - Method in class com.tibco.xml.validation.kernel.SAXLocationHintSupplier

getChannelNames() - Method in class com.tibco.xml.validation.kernel.NativeSchemaProvider

getChannelNames() - Method in class com.tibco.xml.validation.kernel.ValidationControl

getChannelNames() - Method in class


com.tibco.xml.channel.stream.helpers.XmlStreamMulticastHelper

getChannelNames() - Method in class com.tibco.xml.channel.stream.helpers.XmlStreamTracer


getChannelNames() - Method in class com.tibco.xml.channel.stream.helpers.XmlStreamProfiler

getChannelNames() - Method in class com.tibco.xml.channel.stream.helpers.XmlStreamTermination

getChannelNames() - Method in class com.tibco.xml.processor.DOM2XmlStream

getChannelNames() - Method in class com.tibco.xml.processor.XmlStreamEnhancer

getChannelNames() - Method in class com.tibco.xml.processor.Aggregate


Declared in com.tibco.xml.runtime.IBlackBox
getChannelNames() - Method in class com.tibco.xml.processor.SAXContentNormalizer

getChannelNames() - Method in class com.tibco.xml.processor.SAXContent2XmlStream

getChannelNames() - Method in class com.tibco.xml.processor.SAXContent2DOM

getChannelNames() - Method in class com.tibco.xml.processor.DOM2Content

getChannelNames() - Method in class com.tibco.xml.processor.XmlStream2DOM

getChannelNames() - Method in interface com.tibco.xml.runtime.IBlackBox


Returns a String array of channel names for this Black Box.
getChannelNames() - Method in class com.tibco.xml.validation.scripting.ScriptingValidatorMk1

getChannelType(String) - Method in class com.tibco.xml.validation.kernel.DefaultSchemaSupplier

getChannelType(String) - Method in class com.tibco.xml.validation.kernel.DefaultAdjunctSupplier

getChannelType(String) - Method in class com.tibco.xml.validation.kernel.DefaultAdjunctCache

getChannelType(String) - Method in class com.tibco.xml.validation.kernel.DefaultSchemaCache

getChannelType(String) - Method in class com.tibco.xml.validation.kernel.ValidationKernel

getChannelType(String) - Method in class com.tibco.xml.validation.kernel.SAXLocationHintSupplier


getChannelType(String) - Method in class com.tibco.xml.validation.kernel.NativeSchemaProvider

getChannelType(String) - Method in class com.tibco.xml.validation.kernel.ValidationControl

getChannelType(String) - Method in class


com.tibco.xml.channel.stream.helpers.XmlStreamMulticastHelper

getChannelType(String) - Method in class com.tibco.xml.channel.stream.helpers.XmlStreamTracer

getChannelType(String) - Method in class com.tibco.xml.channel.stream.helpers.XmlStreamProfiler

getChannelType(String) - Method in class


com.tibco.xml.channel.stream.helpers.XmlStreamTermination

getChannelType(String) - Method in class com.tibco.xml.processor.DOM2XmlStream

getChannelType(String) - Method in class com.tibco.xml.processor.XmlStreamEnhancer

getChannelType(String) - Method in class com.tibco.xml.processor.Aggregate


Declared in com.tibco.xml.runtime.IBlackBox
getChannelType(String) - Method in class com.tibco.xml.processor.SAXContentNormalizer

getChannelType(String) - Method in class com.tibco.xml.processor.SAXContent2XmlStream

getChannelType(String) - Method in class com.tibco.xml.processor.SAXContent2DOM

getChannelType(String) - Method in class com.tibco.xml.processor.DOM2Content

getChannelType(String) - Method in class com.tibco.xml.processor.XmlStream2DOM

getChannelType(String) - Method in interface com.tibco.xml.runtime.IBlackBox


Returns the type of the interface that is returned when getChannel is called.
getChannelType(String) - Method in class com.tibco.xml.validation.scripting.ScriptingValidatorMk1
getComponent() - Method in class com.tibco.xml.schema.SmVisitor.Result

getComponent(int, String) - Method in interface com.tibco.xml.schema.SmSchema


Returns the (global) component of the given type and name, or null if there is none.
getComponentByPath(SmSchema, String) - Static method in class com.tibco.xml.schema.SmSupport

getComponentInContext(SmType, String, String) - Static method in class


com.tibco.xml.schema.SmSupport
use "@" to prefix the name of an attribute
getComponents(int) - Method in interface com.tibco.xml.schema.SmSchema
Returns an Iterator over all global components of the given type.
getComponentType() - Method in interface com.tibco.xml.schema.SmComponent
Returns the component type of this component, which will be a value such as ELEMENT_TYPE.
getCompositor() - Method in interface com.tibco.xml.schema.SmModelGroup
Returns the "compositor" type for this group.
getConnectionBuilder(String) - Method in interface com.tibco.xml.runtime.IContextProvider
Retrieves a connection builder for the specified channel type.
getContent(String, ContentHandler) - Method in interface
com.tibco.xml.channel.content.ContentProvider

getContentHandler() - Method in class com.tibco.xml.validation.helpers.XMLValidatorFilterImplMk1

getContentHandler() - Method in class com.tibco.xml.validation.helpers.ValidatingFilter_InternalCache

getContentHandler() - Method in class


com.tibco.xml.validation.helpers.ValidatingFilter_ExternalCache

getContentModel() - Method in interface com.tibco.xml.schema.SmType


Returns the model group for the element content, or null for simple content.
getContentString(SmType) - Static method in class com.tibco.xml.schema.SmSupport
Creates a human-friendy representation of the type.
getContext() - Method in interface com.tibco.xml.schema.SmIdentityConstraint
Returns the element definition in which the constraint is defined.
getCulprit() - Method in class com.tibco.xml.schema.SmException
getCurrentNode() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursor4DOM

getDeclaration() - Method in interface com.tibco.xml.data.node.XmlNode


Returns the declaration for this context.
getDeclaration() - Method in class com.tibco.xml.data.context.helpers.XmlContextOnXmlCursor

getDeclaration() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursor4DOM

getDeclaration() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext

getDefaultValue() - Method in interface com.tibco.xml.schema.SmDataComponent


Returns the default value for this object.
getDerivationMethod() - Method in interface com.tibco.xml.schema.SmType
Returns the derivation method of this type from its base type.
getDocument(String) - Method in interface com.tibco.xml.channel.dom.DocumentProvider

getDocumentLocator() - Method in interface com.tibco.xml.runtime.data.DocumentLocatorProvider

getDocumentXmlContext() - Method in interface com.tibco.xml.channel.context.XmlContextProvider

getDTD(String) - Method in interface com.tibco.xml.schema.SmSchemaSpace


Looks up the given public identifier and returns the associated DTD.
getDTDHandler() - Method in class com.tibco.xml.validation.helpers.XMLValidatorFilterImplMk1

getDTDHandler() - Method in class com.tibco.xml.validation.helpers.ValidatingFilter_InternalCache

getDTDHandler() - Method in class com.tibco.xml.validation.helpers.ValidatingFilter_ExternalCache

getElement(SmSchema, String) - Static method in class com.tibco.xml.schema.SmSupport

getElementInContext(SmType, String, String) - Static method in class


com.tibco.xml.schema.SmSupport

getElements(SmSchema) - Static method in class com.tibco.xml.schema.SmSupport


getEntityResolver() - Method in class com.tibco.xml.validation.helpers.XMLValidatorFilterImplMk1

getEntityResolver() - Method in class com.tibco.xml.validation.helpers.ValidatingFilter_InternalCache

getEntityResolver() - Method in class com.tibco.xml.validation.helpers.ValidatingFilter_ExternalCache

getEnumerationValues(SmType) - Static method in class com.tibco.xml.schema.SmSupport


Determines to enumeration values for the given node and returns them as a list of strings.
getErrorCode() - Method in class com.tibco.xml.validation.constraints.DefaultConstraintChecker

getErrorHandler() - Method in interface com.tibco.xml.schema.SmSchemaSpace


Get the handler for errors encountered when adding a schema.
getErrorHandler() - Method in class com.tibco.xml.validation.helpers.XMLValidatorFilterImplMk1

getErrorHandler() - Method in class com.tibco.xml.validation.helpers.ValidatingFilter_InternalCache

getErrorHandler() - Method in class com.tibco.xml.validation.helpers.ValidatingFilter_ExternalCache

getExpandedForm() - Method in interface com.tibco.xml.data.node.XmlValue


Returns a String representation that has prefixes replaced by the corresponding expanded name
representation.
getExpandedForm() - Method in class com.tibco.xml.data.cursor.helpers.XmlStringValue

getExpandedForm() - Method in class com.tibco.xml.data.primitive.ExpandedName


The expanded form of an ExpandedName is a normalized name, using the the
'{namespace}localName' notation.
getExpandedName(PrefixToNamespaceResolver) - Method in class
com.tibco.xml.data.primitive.QName
Returns the ExpandedName for this QName given a prefix to namespace resolver.
getExpandedXPath(XmlCursor, XmlCursor, boolean) - Static method in class
com.tibco.xml.data.cursor.XmlCursorSupport
Calculates an XPath expression containing expanded names.
getFacet(String) - Method in interface com.tibco.xml.schema.SmType
Returns the first facet with the given facet name.
getFacets() - Method in interface com.tibco.xml.schema.SmType
Returns an interator of facets that apply to this simple type.
getFactory(String) - Method in interface com.tibco.xml.runtime.IContextProvider
Retrieves a factory for the specified class identifier.
getFeature(String) - Method in class com.tibco.xml.validation.helpers.XMLValidatorFilterImplMk1

getFeature(String) - Method in class com.tibco.xml.validation.helpers.ValidatingFilter_InternalCache

getFeature(String) - Method in class com.tibco.xml.validation.helpers.ValidatingFilter_ExternalCache

getFields() - Method in interface com.tibco.xml.schema.SmIdentityConstraint


Returns the fields of the constraint.
getFirstAttribute() - Method in interface com.tibco.xml.data.context.XmlContext
Return the first attribute context of this context.
getFirstAttribute() - Method in class com.tibco.xml.data.context.helpers.XmlContextOnXmlCursor

getFirstChild() - Method in interface com.tibco.xml.data.context.XmlContext


Return the first child context of this context.
getFirstChild() - Method in class com.tibco.xml.data.context.helpers.XmlContextOnXmlCursor

getFirstNamespace() - Method in interface com.tibco.xml.data.context.XmlContext


Return the first namespace context of this context.
getFirstNamespace() - Method in class com.tibco.xml.data.context.helpers.XmlContextOnXmlCursor

getFixedValue() - Method in interface com.tibco.xml.schema.SmDataComponent


Returns the fixed value for this object.
getFlavor() - Method in interface com.tibco.xml.schema.SmSchema
Returns the "flavor" of the schema.
getFollowingSibling() - Method in interface com.tibco.xml.data.context.XmlContext
Return the context immediately following this context.
getFollowingSibling() - Method in class com.tibco.xml.data.context.helpers.XmlContextOnXmlCursor

getIdentityConstraint(SmSchema, String) - Static method in class com.tibco.xml.schema.SmSupport

getIdentityConstraints() - Method in interface com.tibco.xml.schema.SmElement


Returns the set of identity constraints defined for this element.
getIdentityConstraints(SmSchema) - Static method in class com.tibco.xml.schema.SmSupport

getInstanceUsers(SmSchema, SmComponent) - Static method in class


com.tibco.xml.schema.SmSupport
Returns components that "use" the given component in the instance sense.
getLastChild() - Method in interface com.tibco.xml.data.context.XmlContext
Return the last child context of this context.
getLastChild() - Method in class com.tibco.xml.data.context.helpers.XmlContextOnXmlCursor

getListTypeMember(SmType) - Static method in class com.tibco.xml.schema.SmSupport


Returns the member type of a list type, or null if not a list type.
getLocalName() - Method in class com.tibco.xml.data.primitive.QName
Returns the local part of the normalized name.
getLocalName() - Method in class com.tibco.xml.data.primitive.ExpandedName
Returns the local part of the normalized name.
getLocalName(String) - Static method in class com.tibco.xml.data.primitive.QName

getLocation() - Method in interface com.tibco.xml.schema.SmSchema


Returns the location uri of the schema.
getMaxOccurrence() - Method in interface com.tibco.xml.schema.SmParticle
Returns the maximum number of occurrences of this term.
getMemberTypes() - Method in interface com.tibco.xml.schema.SmType
Returns the member types for union and list simple types.
getMessage() - Method in class com.tibco.xml.validation.SchemaException

getMessage() - Method in class com.tibco.xml.schema.SmException

getMetaForeignAttribute(SmComponent, String, String) - Static method in class


com.tibco.xml.schema.SmSupport
Return the SmMetaForeignAttribute with the given namespace and name from the given
component
getMetaForeignAttributes() - Method in interface com.tibco.xml.schema.SmComponent
Returns an Iterator of SmMetaForeignAttribute declared in foreign namespaces.
getMetaForeignAttributes() - Method in interface com.tibco.xml.schema.SmSchema
Return an Iterator of SmMetaForeignAttribute declared in the top-level element
getMinOccurrence() - Method in interface com.tibco.xml.schema.SmParticle
Returns the minimum number of occurrences of this term.
getModelCompositorSymbol(int) - Static method in class com.tibco.xml.schema.SmSupport
Returns the compositor symbol for the given model group compositor value, which must be one of
the SmModelGroup constants ALL, CHOICE, or SEQUENCE.
getModelContentList(SmModelGroup) - Static method in class com.tibco.xml.schema.SmSupport
Given a model group, returns a list of SmDataComponent particle terms in the model group.
getModelGroup(SmSchema, String) - Static method in class com.tibco.xml.schema.SmSupport

getModelGroups(SmSchema) - Static method in class com.tibco.xml.schema.SmSupport

getModelString(SmModelGroup) - Static method in class com.tibco.xml.schema.SmSupport


Builds a DTD-like string representation of the given model group.
getName() - Method in interface com.tibco.xml.schema.SmFlavor
Returns the "family" name of the schema.
getName() - Method in interface com.tibco.xml.schema.SmComponent
Returns the local name of this component.
getName() - Method in interface com.tibco.xml.data.node.XmlNode
Return the expanded name of this node, depending upon the type.
getName() - Method in class com.tibco.xml.data.context.helpers.XmlContextOnXmlCursor

getName() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursor4DOM

getName() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext

getNamespace() - Method in interface com.tibco.xml.schema.SmFlavor


Returns the namespace of this flavor.
getNamespace() - Method in interface com.tibco.xml.schema.SmComponent
Could be null for local components, otherwise it will be the same as the schema's namespace.
getNamespace() - Method in interface com.tibco.xml.schema.SmSchema
Returns the namespace of the schema.
getNamespace(String) - Method in interface com.tibco.xml.data.context.XmlContext
Return the namespace with the specified prefix.
getNamespace(String) - Method in class com.tibco.xml.data.context.helpers.XmlContextOnXmlCursor
getNamespaceURI() - Method in class
com.tibco.xml.data.primitive.NamespaceToPrefixResolver.NamespaceNotFoundException

getNamespaceURI() - Method in class com.tibco.xml.data.primitive.ExpandedName


Returns the namespace URI.
getNamespaceURIForPrefix(String) - Method in class
com.tibco.xml.data.context.helpers.XmlContextOnXmlCursor

getNamespaceURIForPrefix(String) - Method in class


com.tibco.xml.data.cursor.helpers.XmlCursor4DOM

getNamespaceURIForPrefix(String) - Method in class


com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext

getNamespaceURIForPrefix(String) - Method in interface


com.tibco.xml.data.primitive.PrefixToNamespaceResolver
Given a prefix, get the corresponding namespace URI.
getNativeType(SmType) - Static method in class com.tibco.xml.schema.SmSupport
Returns the closest ancestor type which is a native type.
getNativeType(String) - Method in interface com.tibco.xml.schema.SmFlavor
Returns the "native" type by the given name.
getNativeTypeFacet(String) - Method in interface com.tibco.xml.schema.SmFlavor
Returns the "native" type facet by the given name.
getNativeTypeFacets() - Method in interface com.tibco.xml.schema.SmFlavor
Returns an Iterator of all type facets "native" to this flavor.
getNativeTypes() - Method in interface com.tibco.xml.schema.SmFlavor
Returns an Iterator of all types "native" to this flavor.
getNextAttribute() - Method in interface com.tibco.xml.data.context.XmlContext
Return the next sibling attribute context of this attribute.
getNextAttribute() - Method in class com.tibco.xml.data.context.helpers.XmlContextOnXmlCursor

getNextNamespace() - Method in interface com.tibco.xml.data.context.XmlContext


Return the next namespace context of this namespace.
getNextNamespace() - Method in class com.tibco.xml.data.context.helpers.XmlContextOnXmlCursor
getNode() - Method in class com.tibco.xml.processor.DOM2XmlStream

getNodeType() - Method in interface com.tibco.xml.data.node.XmlNode


A code corresponding to the underlying node type.
getNodeType() - Method in class com.tibco.xml.data.context.helpers.XmlContextOnXmlCursor

getNodeType() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursor4DOM

getNodeType() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext

getNodeTypeName(short) - Static method in class


com.tibco.xml.data.cursor.UndefinedPropertyException

getNotation(SmSchema, String) - Static method in class com.tibco.xml.schema.SmSupport

getNotations(SmSchema) - Static method in class com.tibco.xml.schema.SmSupport

getParent() - Method in interface com.tibco.xml.data.context.XmlContext


Return the parent context of this context.
getParent() - Method in class com.tibco.xml.data.context.helpers.XmlContextOnXmlCursor

getParent() - Method in class com.tibco.xml.validation.helpers.XMLValidatorFilterImplMk1

getParent() - Method in class com.tibco.xml.validation.helpers.ValidatingFilter_InternalCache

getParent() - Method in class com.tibco.xml.validation.helpers.ValidatingFilter_ExternalCache

getParser() - Method in class com.tibco.xml.schema.SmFactory


Returns the current parser.
getParticleOccurrenceString(SmParticle) - Static method in class com.tibco.xml.schema.SmSupport
Returns a string representation for the occurrence values of the given group particle.
getParticles() - Method in interface com.tibco.xml.schema.SmModelGroup
Returns an iterator of all particles in this group.
getPolicy(String) - Method in interface com.tibco.xml.validation.SchemaMap
Get the string value of a policy (typically SOX_SCHEMA_PATH).
getPolicy(String) - Method in interface com.tibco.xml.schema.SmSchemaSpace
Get the string value of a policy (typically SOX_SCHEMA_PATH).
getPosition() - Method in interface com.tibco.xml.data.node.XmlNode
Return the position of this context in the set of siblings that contains this context and that have the
same name.
getPosition() - Method in class com.tibco.xml.data.context.helpers.XmlContextOnXmlCursor

getPosition() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursorNoNavigation

getPosition() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursor4DOM

getPosition() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext

getPotentialFollowers(SmModelGroup, String, String) - Static method in class


com.tibco.xml.schema.SmSupport
Determines possible followers of a node of the given name and namespace.
getPrecedingSibling() - Method in interface com.tibco.xml.data.context.XmlContext
Return the context immediately preceeding this context.
getPrecedingSibling() - Method in class com.tibco.xml.data.context.helpers.XmlContextOnXmlCursor

getPredefinedAttribute(String) - Method in interface com.tibco.xml.schema.SmFlavor


Returns the predeclared attribute by the given name.
getPredefinedAttributes() - Method in interface com.tibco.xml.schema.SmFlavor
Returns an Iterator of all attributes predeclared by this flavor.
getPreferredPrefix(String) - Method in interface com.tibco.xml.schema.SmSchemaSpace
Looks up the given namespace and returns the associated prefix.
getPrefix() - Method in interface com.tibco.xml.data.node.XmlNode
Return the prefix of this node, depending upon the type.
getPrefix() - Method in class com.tibco.xml.data.context.helpers.XmlContextOnXmlCursor

getPrefix() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursor4DOM

getPrefix() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext

getPrefix() - Method in class


com.tibco.xml.data.primitive.PrefixToNamespaceResolver.PrefixNotFoundException

getPrefix() - Method in class com.tibco.xml.data.primitive.QName


Returns the prefix.
getPrefix(String) - Static method in class com.tibco.xml.data.primitive.QName

getPrefixForNamespaceURI(String) - Method in class


com.tibco.xml.data.context.helpers.XmlContextOnXmlCursor

getPrefixForNamespaceURI(String) - Method in class


com.tibco.xml.data.cursor.helpers.XmlCursor4DOM

getPrefixForNamespaceURI(String) - Method in class


com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext

getPrefixForNamespaceURI(String) - Method in interface


com.tibco.xml.data.primitive.NamespaceToPrefixResolver
Given a namespace, get the corrisponding prefix.
getProcessContents() - Method in interface com.tibco.xml.schema.SmWildcard
Returns how this term should be processed once it is matches against this wildcard term.
getProhibitedNamespaces() - Method in interface com.tibco.xml.schema.SmWildcard
Returns a iterator over namespaces that the wildcard prohibits.
getProperty(String) - Method in class com.tibco.xml.validation.helpers.XMLValidatorFilterImplMk1

getProperty(String) - Method in class com.tibco.xml.validation.helpers.ValidatingFilter_InternalCache

getProperty(String) - Method in class com.tibco.xml.validation.helpers.ValidatingFilter_ExternalCache

getPublicId() - Method in interface com.tibco.xml.schema.SmNotation


Returns the notation's public identifier.
getPublicId() - Method in class com.tibco.xml.runtime.data.Entity

getQName(NamespaceToPrefixResolver) - Method in class


com.tibco.xml.data.primitive.ExpandedName
Returns the QName for this ExpandedName given a namespace to prefix resolver.
getReferencedKey() - Method in interface com.tibco.xml.schema.SmIdentityConstraint
In the case of keyref constraints, returns the corresponding key constraint.
getRoot() - Method in interface com.tibco.xml.data.context.XmlContext
Return the document node context.
getRoot() - Method in class com.tibco.xml.data.context.helpers.XmlContextOnXmlCursor

getRootCandidates(SmSchema) - Static method in class com.tibco.xml.schema.SmSupport


Returns Iterator of SmElement definition that are not referenced by any other element definition,
unless all referencing definitions are themselves referenced the the referenced element.
getRootScore(SmSchema, SmElement) - Static method in class com.tibco.xml.schema.SmSupport
return a score for this element name as root.
getSchema() - Method in interface com.tibco.xml.schema.SmComponent
Returns the schema that declares this component.
getSchema() - Method in interface com.tibco.xml.data.node.XmlNode
Returns the schema for this context.
getSchema() - Method in class com.tibco.xml.data.context.helpers.XmlContextOnXmlCursor

getSchema() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursor4DOM

getSchema() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext

getSchema(String) - Method in class com.tibco.xml.validation.kernel.DefaultNamespaceConverter

getSchema(String) - Method in class com.tibco.xml.validation.kernel.DefaultSchemaCache

getSchema(String) - Method in class com.tibco.xml.validation.kernel.NativeSchemaProvider

getSchema(String) - Method in interface com.tibco.xml.schema.channel.SchemaModelProvider


Retrieves a schema model based on it's namespace URI.
getSchemaComponent() - Method in interface com.tibco.xml.schema.SmSchemaError

getSchemaMap() - Method in interface com.tibco.xml.validation.XMLValidator


Return the current schema map in use.
getSchemaMap() - Method in class com.tibco.xml.validation.helpers.XMLValidatorFilterImplMk1
getSelector() - Method in interface com.tibco.xml.schema.SmIdentityConstraint
Returns the selector path of the constraint.
getSerializedForm(NamespaceToPrefixResolver) - Method in interface
com.tibco.xml.data.node.XmlValue
Returns a string representation of the value that is suitable for serialization.
getSerializedForm(NamespaceToPrefixResolver) - Method in class
com.tibco.xml.data.cursor.helpers.XmlStringValue

getSerializedForm(NamespaceToPrefixResolver) - Method in class


com.tibco.xml.data.primitive.ExpandedName
The serialized form of an ExpandedName is a QName.
getSimpleTypeCompiler(ExpandedName) - Method in class
com.tibco.xml.validation.scripting.ScriptingSimpleTypeCompilers

getStandardXPath(XmlCursor, XmlCursor, boolean) - Static method in class


com.tibco.xml.data.cursor.XmlCursorSupport
Calculates an XPath expression containing qualified names.
getStepName(int) - Method in interface com.tibco.xml.schema.SmIdentityConstraint.Path

getStepNamespace(int) - Method in interface com.tibco.xml.schema.SmIdentityConstraint.Path

getStringValue(Node, StringBuffer) - Static method in class


com.tibco.xml.data.cursor.helpers.XmlCursor4DOM

getSubstitutionGroup() - Method in interface com.tibco.xml.schema.SmElement


Returns the head element of the substition group that this element belongs to.
getSuffix() - Method in interface com.tibco.xml.schema.SmFlavor
Returns the suffix to use as a file extension for files of this type of flavor.
getSystemId() - Method in interface com.tibco.xml.schema.SmNotation
Returns the notation's system identifier.
getSystemId() - Method in class com.tibco.xml.runtime.data.Entity

getTerm() - Method in interface com.tibco.xml.schema.SmParticle


Returns the SmParticleTerm for this SmParticle.
getType() - Method in interface com.tibco.xml.schema.SmDataComponent
Returns the type of data.
getType() - Method in interface com.tibco.xml.data.node.XmlNode
Returns the type for this context.
getType() - Method in class com.tibco.xml.data.context.helpers.XmlContextOnXmlCursor

getType() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursor4DOM

getType() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext

getType(SmSchema, String) - Static method in class com.tibco.xml.schema.SmSupport

getTypes(SmSchema) - Static method in class com.tibco.xml.schema.SmSupport

getValue() - Method in interface com.tibco.xml.schema.SmTypeFacet


Returns the facet value as a String.
getValue() - Method in interface com.tibco.xml.schema.SmMetaForeignAttribute
Returns the value of this foreign attribute (metadata declared in a foreign namespace)
getValue() - Method in interface com.tibco.xml.data.node.XmlNode
Return the value of this node.
getValue() - Method in class com.tibco.xml.data.context.helpers.XmlContextOnXmlCursor

getValue() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursor4DOM

getValue() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext

getValue(String) - Method in interface com.tibco.xml.channel.property.PropertyProvider

getValueType() - Method in interface com.tibco.xml.schema.SmType


Returns one of the VALUE_TYPE_xxx constants, which indicates the ultimate simple value type
of this simple type, or null if this is not a simple type.
getVersion() - Method in interface com.tibco.xml.schema.SmFlavor
Returns the version of this flavor.
getXmlContext() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext

getXmlStreamHandlers() - Method in interface


com.tibco.xml.channel.stream.XmlStreamSupplierMulticast
Allows an application to inspect the current set of registered XmlStreamHandlers.
getXmlStreamHandlers() - Method in class
com.tibco.xml.channel.stream.helpers.XmlStreamMulticastHelper

getXsiNil() - Method in interface com.tibco.xml.data.node.XmlNode


Return the value of the xsi:nil attribute.
getXsiNil() - Method in class com.tibco.xml.data.context.helpers.XmlContextOnXmlCursor

getXsiNil() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursor4DOM

getXsiNil() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext

getXsiNil(Element) - Static method in class com.tibco.xml.data.cursor.helpers.XmlCursor4DOM


The value of the xsi:nil or xsi:null attribute on an element.
getXsiType() - Method in interface com.tibco.xml.data.node.XmlNode
Return the value of the xsi:type attribute if defined, or null.
getXsiType() - Method in class com.tibco.xml.data.context.helpers.XmlContextOnXmlCursor

getXsiType() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursor4DOM

getXsiType() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext

getXsiType(Element) - Static method in class com.tibco.xml.data.cursor.helpers.XmlCursor4DOM


The value of the xsi:type attribute on an element.

H
hasAttributes() - Method in interface com.tibco.xml.data.node.XmlNode
Determines whether the current information item has any attributes.
hasAttributes() - Method in class com.tibco.xml.data.context.helpers.XmlContextOnXmlCursor

hasAttributes() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursorNoNavigation

hasAttributes() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursor4DOM


hasAttributes() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext

hasChildren() - Method in interface com.tibco.xml.data.node.XmlNode


Determines whether the current information item has any attributes.
hasChildren() - Method in class com.tibco.xml.data.context.helpers.XmlContextOnXmlCursor

hasChildren() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursorNoNavigation

hasChildren() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursor4DOM

hasChildren() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext

hasDTD(String) - Method in interface com.tibco.xml.validation.SchemaMap


Returns true if the indicated public identifier has a non-null schema associated in this map.
hashCode() - Method in class com.tibco.xml.data.primitive.QName

hashCode() - Method in class com.tibco.xml.data.primitive.ExpandedName

hasSchema(String) - Method in interface com.tibco.xml.validation.SchemaMap


Returns true if the indicated namespace URI has a non-null schema associated in this map.
hints - Variable in class com.tibco.xml.validation.kernel.Validator

I
IBlackBox - interface com.tibco.xml.runtime.IBlackBox.
A Black Box is a component with a hidden implementation.
IConfigurable - interface com.tibco.xml.runtime.IConfigurable.
The IConfigurable interface allows an instance to have configuration information set at runtime.
IConnectionBuilder - interface com.tibco.xml.runtime.IConnectionBuilder.
This interface is implemented for each pair of message interfaces so that a script may be used to
connect together the channels of black boxes at execution time.
IContextConsumer - interface com.tibco.xml.runtime.IContextConsumer.
This interface should be implemented by all black box components that require contextual
information or the creation of other components.
IContextProvider - interface com.tibco.xml.runtime.IContextProvider.
This interface is implemented to provide contextual information to black box components.
id() - Static method in class com.tibco.xml.validation.Version

IDENTITY_CONSTRAINT_ERROR_DUPLICATE_FIELD - Static variable in class


com.tibco.xml.validation.ErrorCode

IDENTITY_CONSTRAINT_ERROR_DUPLICATE_TARGET - Static variable in class


com.tibco.xml.validation.ErrorCode

IDENTITY_CONSTRAINT_ERROR_MISSING_FIELD - Static variable in class


com.tibco.xml.validation.ErrorCode

IDENTITY_CONSTRAINT_TYPE - Static variable in interface com.tibco.xml.schema.SmComponent

IFactory - interface com.tibco.xml.runtime.IFactory.


This interface implements the standard factory pattern for black box components.
ignorableWhitespace(char[], int, int) - Method in class com.tibco.xml.validation.kernel.Validator

ignorableWhitespace(char[], int, int) - Method in class


com.tibco.xml.validation.kernel.SAXLocationHintSupplier

ignorableWhitespace(char[], int, int) - Method in class


com.tibco.xml.processor.SAXContentNormalizer

ignorableWhitespace(char[], int, int) - Method in class


com.tibco.xml.processor.SAXContent2XmlStream

ignorableWhitespace(char[], int, int) - Method in class


com.tibco.xml.processor.SAXContent2XmlStream.SAXContent2XmlKernel

ignorableWhitespace(char[], int, int) - Method in class com.tibco.xml.processor.SAXContent2DOM

ignorableWhitespace(char[], int, int) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Remark_InternalCache
ignorableWhitespace(char[], int, int) - Method in class
com.tibco.xml.validation.helpers.Validator_SAX_Remark_ExternalCache

ignorableWhitespace(char[], int, int) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Error_InternalCache

ignorableWhitespace(char[], int, int) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Error_ExternalCache

ignorableWhitespace(char[], int, int) - Method in class


com.tibco.xml.validation.scripting.ScriptingAdjunctValidator

ILLEGAL_NIL_VALUE - Static variable in class com.tibco.xml.validation.ErrorCode

info(XmlContext, Locator, Exception, String) - Method in class


com.tibco.xml.validation.kernel.ValidationControl

info(XmlContext, Locator, Exception, String) - Method in interface


com.tibco.xml.channel.remark.XmlRemarkHandler
Notifies the handler of an information condition.
info(XmlContext, Locator, Exception, String) - Method in class
com.tibco.xml.validation.helpers.Validator_SAX_Remark_InternalCache

info(XmlContext, Locator, Exception, String) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Remark_ExternalCache

info(XmlContext, Locator, Exception, String) - Method in class


com.tibco.xml.validation.helpers.Validator_DOM_Remark_ExternalCache

isAbstract() - Method in interface com.tibco.xml.schema.SmElement


Returns whether this element is declared as abstract.
isAbstract() - Method in interface com.tibco.xml.schema.SmType
Returns whether object of this type can be instantiated.
isAnyContent(SmType) - Static method in class com.tibco.xml.schema.SmSupport
Returns whether this type is a DTD anyType in order to determine if the content model of the
element may be DTD 'ANY'
isAttribute() - Method in interface com.tibco.xml.schema.SmIdentityConstraint.Path
returns true if path ended with "@something"
isBeCaseInsensitive(SmSchema) - Static method in class com.tibco.xml.schema.SmSupport
this was put in because ORACLE wanted the validator to do case insensitive compares for
enumerated values.
isDataComponentLocal(SmDataComponent) - Static method in class
com.tibco.xml.schema.SmSupport

isElementOnlyContent(SmType) - Static method in class com.tibco.xml.schema.SmSupport


Returns whether this type requires only element content.
isEmptyContent(SmDataComponent) - Static method in class com.tibco.xml.schema.SmSupport
Returns whether this component requires empty element content.
isEmptyContent(SmType) - Static method in class com.tibco.xml.schema.SmSupport
Returns whether this type requires empty element content.
isExpanded() - Method in interface com.tibco.xml.data.node.XmlValue
Determines whether the XmlValue implementation has been expanded from the serialized
String format.
isExpanded() - Method in class com.tibco.xml.data.cursor.helpers.XmlStringValue

isExpanded() - Method in class com.tibco.xml.data.primitive.ExpandedName


By definition, an ExpandedName is expanded.
isFixed() - Method in interface com.tibco.xml.schema.SmTypeFacet
Returns whether the value of this facet is fixed.
isGlobalComponent(SmSchema, SmComponent) - Static method in class
com.tibco.xml.schema.SmSupport
Returns whether the given component is a global component in the given schema.
isInstanceUserOf(SmComponent, SmComponent) - Static method in class
com.tibco.xml.schema.SmSupport

isListDataType(SmType) - Static method in class com.tibco.xml.schema.SmSupport

isMixedContent() - Method in interface com.tibco.xml.schema.SmType


Returns the complex content can have text intermixed with the elements.
isNative() - Method in interface com.tibco.xml.schema.SmType
Returns whether this type is a native simple type for the owning schema's flavor.
isNillable() - Method in interface com.tibco.xml.schema.SmElement
Returns whether this element is declared as nillable.
isNoPrefix(String) - Static method in class com.tibco.xml.data.primitive.QName
Determines if this prefix is the no prefix.
isNormalizedPrefix(String) - Static method in class com.tibco.xml.data.primitive.QName
Determines if this prefix is normalized according to the no prefix convention.
isOnAttributesOnly() - Method in interface com.tibco.xml.schema.SmType
Some types may be assigned on attribute types only, XSD defines it for ID, IDREF, etc.
isPolicySet(String) - Method in interface com.tibco.xml.validation.XMLValidator
Returns true or false for boolean-valued policies
isPolicySet(String) - Method in interface com.tibco.xml.validation.SchemaMap
Get the value of a boolean policy.
isPolicySet(String) - Method in interface com.tibco.xml.schema.SmSchemaSpace
Get the value of a boolean policy.
isPolicySet(String) - Method in interface com.tibco.xml.schema.SmParser
Get the value of a boolean policy.
isPolicySet(String) - Method in class com.tibco.xml.validation.helpers.XMLValidatorFilterImplMk1

isRelocatable() - Method in interface com.tibco.xml.schema.SmIdentityConstraint.Path


returns true if path started with ".//"
isTextOnlyContent(SmDataComponent) - Static method in class com.tibco.xml.schema.SmSupport
Returns whether this component requires text only content.
isTextOnlyContent(SmType) - Static method in class com.tibco.xml.schema.SmSupport
Returns whether this type requires text only content.
isValidating() - Method in interface com.tibco.xml.validation.XMLValidator
Returns true if the validating flag is set AND there is a non-null SchemaMap
isValidating() - Method in class com.tibco.xml.validation.helpers.XMLValidatorFilterImplMk1

K
kernel - Variable in class com.tibco.xml.validation.kernel.Validator

KEY - Static variable in interface com.tibco.xml.schema.SmIdentityConstraint


KEYREF - Static variable in interface com.tibco.xml.schema.SmIdentityConstraint

L
LAX - Static variable in interface com.tibco.xml.schema.SmWildcard
Indicates that the processor should try to validate the contents of the element when it can.
locationHintDTD(String, Entity) - Method in interface
com.tibco.xml.validation.channel.LocationHintHandler

locationHintDTD(String, Entity) - Method in class


com.tibco.xml.validation.kernel.DefaultSchemaSupplier

locationHintDTD(String, Entity) - Method in class


com.tibco.xml.validation.kernel.DefaultNamespaceConverter

LocationHintHandler - interface com.tibco.xml.validation.channel.LocationHintHandler.

locationHintSOX(String, String) - Method in interface


com.tibco.xml.validation.channel.LocationHintHandler
Notifies the handler of SOX schema location hints.
locationHintSOX(String, String) - Method in class
com.tibco.xml.validation.kernel.DefaultSchemaSupplier

locationHintSOX(String, String) - Method in class


com.tibco.xml.validation.kernel.DefaultNamespaceConverter

LocationHintSupplier - interface com.tibco.xml.validation.channel.LocationHintSupplier.

locationHintXDR(String, String) - Method in interface


com.tibco.xml.validation.channel.LocationHintHandler

locationHintXDR(String, String) - Method in class


com.tibco.xml.validation.kernel.DefaultSchemaSupplier

locationHintXDR(String, String) - Method in class


com.tibco.xml.validation.kernel.DefaultNamespaceConverter

locationHintXSD(String, String) - Method in interface


com.tibco.xml.validation.channel.LocationHintHandler

locationHintXSD(String, String) - Method in class


com.tibco.xml.validation.kernel.DefaultSchemaSupplier

locationHintXSD(String, String) - Method in class


com.tibco.xml.validation.kernel.DefaultNamespaceConverter

M
m_component - Variable in class com.tibco.xml.schema.SmVisitor.Result

m_convertMap - Variable in class com.tibco.xml.schema.SmFactory

m_culprit - Variable in class com.tibco.xml.schema.SmException

m_cursor - Variable in class com.tibco.xml.channel.stream.helpers.DefaultXmlStreamHandler

m_entities - Variable in class com.tibco.xml.validation.kernel.Validator

m_entityResolver - Variable in class com.tibco.xml.schema.SmFactory

m_errorHandler - Variable in class com.tibco.xml.schema.SmFactory

m_errors - Variable in class com.tibco.xml.validation.constraints.DefaultConstraintChecker

m_handler - Variable in class com.tibco.xml.channel.stream.helpers.DefaultXmlStreamHandler

m_locator - Variable in class com.tibco.xml.validation.kernel.Validator

m_locator - Variable in class com.tibco.xml.channel.stream.helpers.DefaultXmlStreamHandler


m_parser - Variable in class com.tibco.xml.schema.SmFactory

main(String[]) - Static method in class com.tibco.xml.validation.Version


Print the version string to System.out.
main(String[]) - Static method in class com.tibco.xml.processor.XmlStreamSerializer

main(String[]) - Static method in class com.tibco.xml.processor.C14NSerializer

makeExpandedName(SmComponent) - Static method in class com.tibco.xml.schema.SmSupport

matches(SmDataComponent, SmParticleTerm) - Static method in class


com.tibco.xml.schema.SmSupport
Determines whether the given element or attribute (and type) matches the term.
matches(SmParticleTerm, String, String) - Static method in class com.tibco.xml.schema.SmSupport
Determines whether the given term matches the given namespace and name.
mAttIndent - Variable in class com.tibco.xml.processor.XmlStreamSerializer

mCursor - Variable in class com.tibco.xml.processor.XmlStreamSerializer

mDepth - Variable in class com.tibco.xml.processor.XmlStreamSerializer


zero-based tree depth
mElIndent - Variable in class com.tibco.xml.processor.XmlStreamSerializer

message(SAXParseException) - Method in class com.tibco.xml.validation.PrintWriterErrorHandler

META_FOREIGN_ATT_TYPE - Static variable in interface com.tibco.xml.schema.SmComponent

MissingConnectionException - exception com.tibco.xml.runtime.MissingConnectionException.


This class is used to indicate that a required connection on a processor was not made.
MissingConnectionException(String) - Constructor for class
com.tibco.xml.runtime.MissingConnectionException

MODEL_GROUP_TYPE - Static variable in interface com.tibco.xml.schema.SmComponent


mOut - Variable in class com.tibco.xml.processor.XmlStreamSerializer

moveToAttribute(ExpandedName) - Method in class


com.tibco.xml.data.cursor.helpers.XmlCursorNoNavigation

moveToAttribute(ExpandedName) - Method in class


com.tibco.xml.data.cursor.helpers.XmlCursor4DOM

moveToAttribute(ExpandedName) - Method in class


com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext

moveToFirstAttribute() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursorNoNavigation

moveToFirstAttribute() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursor4DOM

moveToFirstAttribute() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext

moveToFirstChild() - Method in interface com.tibco.xml.data.cursor.XmlCursor


Moves the cursor to the current information item's first child information item.
moveToFirstChild() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursorNoNavigation

moveToFirstChild() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursor4DOM

moveToFirstChild() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext

moveToFirstNamespace() - Method in class


com.tibco.xml.data.cursor.helpers.XmlCursorNoNavigation

moveToFirstNamespace() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursor4DOM

moveToFirstNamespace() - Method in class


com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext

moveToFollowingSibling() - Method in interface com.tibco.xml.data.cursor.XmlCursor


Moves the cursor to the current information item's next sibling information item.
moveToFollowingSibling() - Method in class
com.tibco.xml.data.cursor.helpers.XmlCursorNoNavigation

moveToFollowingSibling() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursor4DOM

moveToFollowingSibling() - Method in class


com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext

moveToLastChild() - Method in interface com.tibco.xml.data.cursor.XmlCursor


Moves the cursor to the current information item's last child information item.
moveToLastChild() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursorNoNavigation

moveToLastChild() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursor4DOM

moveToLastChild() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext

moveToNamespace(String) - Method in class


com.tibco.xml.data.cursor.helpers.XmlCursorNoNavigation

moveToNamespace(String) - Method in class com.tibco.xml.data.cursor.helpers.XmlCursor4DOM

moveToNamespace(String) - Method in class


com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext

moveToNextAttribute() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursorNoNavigation

moveToNextAttribute() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursor4DOM

moveToNextAttribute() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext

moveToNextNamespace() - Method in class


com.tibco.xml.data.cursor.helpers.XmlCursorNoNavigation

moveToNextNamespace() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursor4DOM


moveToNextNamespace() - Method in class
com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext

moveToParent() - Method in interface com.tibco.xml.data.cursor.XmlCursor


Moves the cursor up to the current information item's parent information item.
moveToParent() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursor4DOM

moveToParent() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext

moveToPrecedingSibling() - Method in interface com.tibco.xml.data.cursor.XmlCursor


Moves the cursor to the current information item's previous sibling information item.
moveToPrecedingSibling() - Method in class
com.tibco.xml.data.cursor.helpers.XmlCursorNoNavigation

moveToPrecedingSibling() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursor4DOM

moveToPrecedingSibling() - Method in class


com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext

moveToRoot() - Method in interface com.tibco.xml.data.cursor.XmlCursor


Moves the cursor back to the document information item.
moveToRoot() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursor4DOM

moveToRoot() - Method in class com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext

mWriteXML_PI - Variable in class com.tibco.xml.processor.XmlStreamSerializer

N
NAME_ATTRIBUTE - Static variable in interface com.tibco.xml.data.node.XmlTypes

NAME_CDATA_SECTION - Static variable in interface com.tibco.xml.data.node.XmlTypes

NAME_COMMENT - Static variable in interface com.tibco.xml.data.node.XmlTypes


NAME_DOCUMENT - Static variable in interface com.tibco.xml.data.node.XmlTypes

NAME_DOCUMENT_FRAGMENT - Static variable in interface com.tibco.xml.data.node.XmlTypes

NAME_DOCUMENT_TYPE - Static variable in interface com.tibco.xml.data.node.XmlTypes

NAME_ELEMENT - Static variable in interface com.tibco.xml.data.node.XmlTypes

NAME_ENTITY - Static variable in interface com.tibco.xml.data.node.XmlTypes

NAME_ENTITY_REFERENCE - Static variable in interface com.tibco.xml.data.node.XmlTypes

NAME_NAMESPACE - Static variable in interface com.tibco.xml.data.node.XmlTypes

NAME_NOTATION - Static variable in interface com.tibco.xml.data.node.XmlTypes

NAME_PROCESSING_INSTRUCTION - Static variable in interface


com.tibco.xml.data.node.XmlTypes

NAME_TEXT - Static variable in interface com.tibco.xml.data.node.XmlTypes

nameEquals(SmComponent, String, String) - Static method in class com.tibco.xml.schema.SmSupport


Returns whether the given component has the same name and namespace as the given values.
NAMESPACE_NODE - Static variable in interface com.tibco.xml.data.node.XmlTypes
The node is a Namespace.
NAMESPACE_TIBCO - Static variable in class com.tibco.xml.validation.ErrorCode

NAMESPACE_TIBCO_XML - Static variable in class com.tibco.xml.validation.ErrorCode

NAMESPACE_VALIDATION - Static variable in class com.tibco.xml.validation.ErrorCode

NamespaceEntityConsumer - interface com.tibco.xml.schema.channel.NamespaceEntityConsumer.

NamespaceEntityResolver - interface com.tibco.xml.schema.NamespaceEntityResolver.


A resolver that maps a namespace URI and an optional location URI "hint" to an InputSource,
typically for a schema.
NamespaceResolver - interface com.tibco.xml.data.primitive.NamespaceResolver.
A bidirectional namespace-prefix resolver
namespacesSupported(SmSchemaSpace) - Static method in class com.tibco.xml.schema.SmSupport

NamespaceToPrefixResolver - interface com.tibco.xml.data.primitive.NamespaceToPrefixResolver.

NamespaceToPrefixResolver.NamespaceNotFoundException - exception
com.tibco.xml.data.primitive.NamespaceToPrefixResolver.NamespaceNotFoundException.
Indicates that a namespace could not be found by the NamespaceToPrefixResolver
NamespaceToPrefixResolver.NamespaceNotFoundException(String) - Constructor for class
com.tibco.xml.data.primitive.NamespaceToPrefixResolver.NamespaceNotFoundException

NativeSchemaProvider - class com.tibco.xml.validation.kernel.NativeSchemaProvider.


Maps namespaceURI to an SmSchema for built-in XML schemas.
NativeSchemaProvider() - Constructor for class com.tibco.xml.validation.kernel.NativeSchemaProvider

newInstance() - Static method in class com.tibco.xml.schema.SmFactory


Obtain a new instance of a SmFactory.
NewSchemaParser - interface com.tibco.xml.schema.NewSchemaParser.
A generalized schema/DTD parser.
next() - Method in interface com.tibco.xml.data.cursor.XmlReader
Moves the cursor to the next information set item.
normal - Variable in class com.tibco.xml.validation.kernel.Validator

normalizePrefix(String) - Static method in class com.tibco.xml.data.primitive.QName


Normalizes a prefix to the convention.
NOTATION_NODE - Static variable in interface com.tibco.xml.data.node.XmlTypes
The node is a Notation.
NOTATION_TYPE - Static variable in interface com.tibco.xml.schema.SmComponent

NULL_NODE - Static variable in interface com.tibco.xml.data.node.XmlTypes


An unitialized node type (for implementations only).
NUM_COMPONENT_TYPES - Static variable in interface com.tibco.xml.schema.SmComponent
NUM_GLOBAL_COMPONENT_TYPES - Static variable in interface
com.tibco.xml.schema.SmComponent

O
output - Variable in class com.tibco.xml.validation.PrintWriterErrorHandler

P
parse(InputSource) - Method in class com.tibco.xml.processor.XmlStreamParser

parse(InputSource) - Method in class com.tibco.xml.validation.helpers.XMLValidatorFilterImplMk1

parse(InputSource) - Method in class com.tibco.xml.validation.helpers.ValidatingFilter_InternalCache

parse(InputSource) - Method in class com.tibco.xml.validation.helpers.ValidatingFilter_ExternalCache

parse(InputSource, SmSchemaSpace, String) - Method in interface com.tibco.xml.schema.SmParser


Parses the given input into an equivalent SmSchema.
parse(InputSource, SmSchemaSpace, String) - Method in class com.tibco.xml.schema.SmFactory
Parses the input with the stored SmParser.
parse(String) - Static method in class com.tibco.xml.data.primitive.QName
Given a string, create and return a QName object
parse(String) - Static method in class com.tibco.xml.data.primitive.ExpandedName
Given a string, create and return a ExpandedName object
parse(String) - Method in class com.tibco.xml.validation.helpers.XMLValidatorFilterImplMk1

parse(String) - Method in class com.tibco.xml.validation.helpers.ValidatingFilter_InternalCache

parse(String) - Method in class com.tibco.xml.validation.helpers.ValidatingFilter_ExternalCache


parseSchema(InputSource, String) - Method in interface com.tibco.xml.schema.NewSchemaParser
Parses the given input into an equivalent SmSchema.
parseThrowErrors(InputSource, XmlStreamHandler) - Static method in class
com.tibco.xml.channel.stream.helpers.XmlStreamUtilities

PARTICLE_TYPE - Static variable in interface com.tibco.xml.schema.SmComponent

POLICY_FALSE - Static variable in interface com.tibco.xml.validation.XMLValidator

POLICY_TRUE - Static variable in interface com.tibco.xml.validation.XMLValidator

POSITION_UNIQUE - Static variable in interface com.tibco.xml.data.node.XmlNode


The position sentinel indicating that the element or attribute is unique within its siblings.
POSITION_UNKNOWN - Static variable in interface com.tibco.xml.data.node.XmlNode
The position sentinel indicating that a reliable position of the context within its siblings cannot be
determined.
PREFIX_UNQUALIFIED - Static variable in class com.tibco.xml.data.primitive.QName
The value of a prefix when a prefix is not specified.
PrefixToNamespaceResolver - interface com.tibco.xml.data.primitive.PrefixToNamespaceResolver.

PrefixToNamespaceResolver.PrefixNotFoundException - exception
com.tibco.xml.data.primitive.PrefixToNamespaceResolver.PrefixNotFoundException.
Indicates that a prefix could not be found by the PrefixToNamespaceResolver
PrefixToNamespaceResolver.PrefixNotFoundException(String) - Constructor for class
com.tibco.xml.data.primitive.PrefixToNamespaceResolver.PrefixNotFoundException

PrintWriterErrorHandler - class com.tibco.xml.validation.PrintWriterErrorHandler.


A sample ErrorHandler that simply prints errors and warnings to a PrintWriter.
PrintWriterErrorHandler(PrintStream) - Constructor for class
com.tibco.xml.validation.PrintWriterErrorHandler
Construct a PrintWriterErrorHandler from a PrintStream.
PrintWriterErrorHandler(PrintWriter) - Constructor for class
com.tibco.xml.validation.PrintWriterErrorHandler
Construct a PrintWriterErrorHandler from a PrintWriter.
process(boolean) - Method in interface com.tibco.xml.runtime.data.BooleanHandler
process(Document, String) - Method in interface com.tibco.xml.channel.dom.DOMHandler
Receive notification of an XML document.
process(Document, String) - Method in class com.tibco.xml.processor.DOM2XmlStream

process(Document, String) - Method in class com.tibco.xml.processor.DOM2Content

process(Document, String) - Method in class


com.tibco.xml.validation.helpers.Validator_DOM_Remark_ExternalCache

process(Document, String) - Method in class com.tibco.xml.validation.scripting.ScriptingValidatorMk1

process(String) - Method in interface com.tibco.xml.runtime.data.StringHandler

process(String) - Method in interface com.tibco.xml.runtime.data.UriHandler

process(URL) - Method in interface com.tibco.xml.runtime.data.UrlHandler

PROCESSING_INSTRUCTION_NODE - Static variable in interface


com.tibco.xml.data.node.XmlTypes
The node is a ProcessingInstruction.
processingInstruction() - Method in class com.tibco.xml.validation.kernel.ValidationKernel

processingInstruction() - Method in interface com.tibco.xml.channel.stream.XmlStreamHandler


Receive notification of a processing instruction.
processingInstruction() - Method in class
com.tibco.xml.channel.stream.helpers.DefaultXmlStreamHandler

processingInstruction() - Method in class


com.tibco.xml.channel.stream.helpers.XmlStreamMulticastHelper

processingInstruction() - Method in class com.tibco.xml.channel.stream.helpers.XmlStreamTracer

processingInstruction() - Method in class com.tibco.xml.channel.stream.helpers.XmlStreamProfiler

processingInstruction() - Method in class


com.tibco.xml.channel.stream.helpers.XmlStreamTermination

processingInstruction() - Method in class com.tibco.xml.processor.XmlStreamEnhancer

processingInstruction() - Method in class com.tibco.xml.processor.XmlStreamCompiler

processingInstruction() - Method in class


com.tibco.xml.processor.XmlStreamCompiler.XmlStreamCompilerContext

processingInstruction() - Method in class com.tibco.xml.processor.XmlStreamSerializer


Receive notification of a processing instruction.
processingInstruction() - Method in class com.tibco.xml.processor.XmlStreamSimplEx

processingInstruction() - Method in class


com.tibco.xml.processor.XmlStreamSimplEx.XmlStreamCompilerContext

processingInstruction() - Method in class com.tibco.xml.processor.XmlStream2DOM

processingInstruction(String, String) - Method in class com.tibco.xml.validation.kernel.Validator

processingInstruction(String, String) - Method in class


com.tibco.xml.validation.kernel.SAXLocationHintSupplier

processingInstruction(String, String) - Method in class


com.tibco.xml.processor.SAXContentNormalizer

processingInstruction(String, String) - Method in class


com.tibco.xml.processor.SAXContent2XmlStream

processingInstruction(String, String) - Method in class


com.tibco.xml.processor.SAXContent2XmlStream.SAXContent2XmlKernel

processingInstruction(String, String) - Method in class com.tibco.xml.processor.SAXContent2DOM

processingInstruction(String, String) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Remark_InternalCache
processingInstruction(String, String) - Method in class
com.tibco.xml.validation.helpers.Validator_SAX_Remark_ExternalCache

processingInstruction(String, String) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Error_InternalCache

processingInstruction(String, String) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Error_ExternalCache

processingInstruction(String, String) - Method in class


com.tibco.xml.validation.scripting.ScriptingAdjunctValidator

PROP_ATTRIBUTES - Static variable in interface com.tibco.xml.data.node.XmlProps

PROP_BASE_URI - Static variable in interface com.tibco.xml.data.node.XmlProps

PROP_CHILDREN - Static variable in interface com.tibco.xml.data.node.XmlProps

PROP_CONTENT - Static variable in interface com.tibco.xml.data.node.XmlProps

PROP_DECLARATION - Static variable in interface com.tibco.xml.data.node.XmlProps

PROP_NAME - Static variable in interface com.tibco.xml.data.node.XmlProps

PROP_NAMESPACES - Static variable in interface com.tibco.xml.data.node.XmlProps

PROP_PREFIX - Static variable in interface com.tibco.xml.data.node.XmlProps

PROP_SCHEMA - Static variable in interface com.tibco.xml.data.node.XmlProps

PROP_TYPE - Static variable in interface com.tibco.xml.data.node.XmlProps

PROP_VALUE - Static variable in interface com.tibco.xml.data.node.XmlProps


PROP_XSI_NIL - Static variable in interface com.tibco.xml.data.node.XmlProps

PROP_XSI_TYPE - Static variable in interface com.tibco.xml.data.node.XmlProps

PropertyConsumer - interface com.tibco.xml.channel.property.PropertyConsumer.


Implemented by components that require property values from a PropertyProvider to operate.
PropertyHandler - interface com.tibco.xml.channel.property.PropertyHandler.
Implemented by components that receive property values pushed by a PropertySupplier.
PropertyProvider - interface com.tibco.xml.channel.property.PropertyProvider.
Implemented by components that can provide property values through a pull mechanism to a
PropertyConsumer.
PropertySupplier - interface com.tibco.xml.channel.property.PropertySupplier.
Implemented by components that can supply property values through a push mechanism to
PropertyHandler(s).
PropertySupplierMulticast - interface com.tibco.xml.channel.property.PropertySupplierMulticast.
Implemented by components that can supply property values through a push mechanism to
PropertyHandler(s).
putAdjunct(String, Document) - Method in class
com.tibco.xml.validation.kernel.DefaultAdjunctCache

putAdjunct(String, Document) - Method in interface com.tibco.xml.adjuncts.channel.AdjunctHandler

putSchema(String, SmSchema) - Method in class


com.tibco.xml.validation.kernel.DefaultNamespaceConverter

putSchema(String, SmSchema) - Method in class


com.tibco.xml.validation.kernel.DefaultSchemaCache

putSchema(String, SmSchema) - Method in interface


com.tibco.xml.schema.channel.SchemaModelHandler

putValue(String, Object) - Method in interface com.tibco.xml.channel.property.PropertyHandler


Q
QName - class com.tibco.xml.data.primitive.QName.

QName(String) - Constructor for class com.tibco.xml.data.primitive.QName

QName(String, String) - Constructor for class com.tibco.xml.data.primitive.QName

R
remark(XmlContext, Locator, Exception, String) - Method in class
com.tibco.xml.validation.kernel.ValidationControl

remark(XmlContext, Locator, Exception, String) - Method in interface


com.tibco.xml.channel.remark.XmlRemarkHandler
Notifies the handler of a remark condition.
remark(XmlContext, Locator, Exception, String) - Method in class
com.tibco.xml.validation.helpers.Validator_SAX_Remark_InternalCache

remark(XmlContext, Locator, Exception, String) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Remark_ExternalCache

remark(XmlContext, Locator, Exception, String) - Method in class


com.tibco.xml.validation.helpers.Validator_DOM_Remark_ExternalCache

remove(SmSchema) - Method in interface com.tibco.xml.schema.SmSchemaSpace


Removes the given schema from the schemaspace.
remove(SmSchemaSpace) - Method in interface com.tibco.xml.schema.SmSchemaSpace
Removes a shared schemaSpace from this schemaSpace.
remove(String) - Method in interface com.tibco.xml.schema.SmSchemaSpace
Removes the schema for the given namespace from the schemaspace.
removeBooleanHandler(BooleanHandler) - Method in interface
com.tibco.xml.runtime.data.BooleanSupplier
removeContentHandler(ContentHandler) - Method in interface
com.tibco.xml.channel.content.ContentSupplierMulticast

removeConverter(Class) - Method in class com.tibco.xml.schema.SmFactory


Removes the converter, if any, for the given Class.
removeDocumentBoundaryHandler(DocumentBoundaryHandler) - Method in interface
com.tibco.xml.channel.boundary.DocumentBoundarySupplier

removeDocumentBoundaryHandler(DocumentBoundaryHandler) - Method in class


com.tibco.xml.processor.SAXContent2XmlStream

removeDocumentBoundaryHandler(DocumentBoundaryHandler) - Method in class


com.tibco.xml.processor.SAXContent2XmlStream.SAXContent2XmlKernel

removeDocumentBoundaryHandler(DocumentBoundaryHandler) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Remark_ExternalCache

removeDOMHandler(DOMHandler) - Method in interface com.tibco.xml.channel.dom.DOMSupplier

removeDOMHandler(DOMHandler) - Method in class com.tibco.xml.processor.DOM2XmlStream

removeDOMHandler(DOMHandler) - Method in class com.tibco.xml.processor.SAXContent2DOM

removeDOMHandler(DOMHandler) - Method in class com.tibco.xml.processor.XmlStream2DOM

removeDOMHandler(DOMHandler) - Method in class


com.tibco.xml.validation.helpers.Validator_DOM_Remark_ExternalCache

removeDOMHandler(DOMHandler) - Method in class


com.tibco.xml.validation.scripting.ScriptingValidatorMk1

removeDTD(String) - Method in interface com.tibco.xml.validation.SchemaMap


Remove the DTD associated with the given public identifier.
removeDTD(String) - Method in interface com.tibco.xml.schema.SmSchemaSpace
Removes the DTD with the given public identifier from the schemaspace.
removeDTDHandler(DTDHandler) - Method in interface com.tibco.xml.runtime.data.DTDSupplier
removeErrorHandler(ErrorHandler) - Method in interface
com.tibco.xml.channel.error.ErrorSupplierMulticast

removeLocationHintHandler(LocationHintHandler) - Method in interface


com.tibco.xml.validation.channel.LocationHintSupplier

removeLocationHintHandler(LocationHintHandler) - Method in class


com.tibco.xml.validation.kernel.Validator

removeLocationHintHandler(LocationHintHandler) - Method in class


com.tibco.xml.validation.kernel.SAXLocationHintSupplier

removeLocationHintHandler(LocationHintHandler) - Method in class


com.tibco.xml.processor.XmlStreamParser

removePropertyHandler(PropertyHandler) - Method in interface


com.tibco.xml.channel.property.PropertySupplierMulticast
Allows a component to unregister a PropertyHandler for this supplier.
removeSchema(String) - Method in interface com.tibco.xml.validation.SchemaMap
Remove the schema associated with the given namespace URI.
removeStringHandler(StringHandler) - Method in interface
com.tibco.xml.runtime.data.StringSupplier

removeTypeURIHandler(TypeURIHandler) - Method in class


com.tibco.xml.validation.kernel.SAXLocationHintSupplier

removeTypeURIHandler(TypeURIHandler) - Method in interface


com.tibco.xml.channel.typeuri.TypeURISupplier

removeTypeURIHandler(TypeURIHandler) - Method in class


com.tibco.xml.processor.DOM2XmlStream

removeTypeURIHandler(TypeURIHandler) - Method in class


com.tibco.xml.validation.helpers.Validator_DOM_Remark_ExternalCache
removeUriHandler(UriHandler) - Method in interface com.tibco.xml.runtime.data.UriSupplier

removeUrlHandler(UrlHandler) - Method in interface com.tibco.xml.runtime.data.UrlSupplier

removeXmlRemarkHandler(XmlRemarkHandler) - Method in interface


com.tibco.xml.channel.remark.XmlRemarkSupplierMulticast
Allows an application to unregister an XmlRemarkHandler for this supplier.
removeXmlStreamHandler(XmlStreamHandler) - Method in interface
com.tibco.xml.channel.stream.XmlStreamSupplierMulticast
Allows an application to unregister an XmlStreamHandler for this supplier.
removeXmlStreamHandler(XmlStreamHandler) - Method in class
com.tibco.xml.channel.stream.helpers.XmlStreamMulticastHelper

RESOLVE_NAMESPACE_URI_POLICY - Static variable in interface


com.tibco.xml.validation.XMLValidator
If this policy has the value of "true", and a schema has not been discovered either in the
SchemaMap or using schemaLocation, the validator will attempt to to use the namespace URI as a
schemaLocation, resolving it (after removing any "x-schema:" prefix ) and parsing the schema.
resolveEntity(String, String) - Method in class com.tibco.xml.validation.kernel.Validator

resolveEntity(String, String) - Method in class


com.tibco.xml.validation.kernel.SAXLocationHintSupplier

resolveEntity(String, String) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Remark_InternalCache

resolveEntity(String, String) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Error_InternalCache

resolveNamespaceEntity(String, String) - Method in interface


com.tibco.xml.schema.NamespaceEntityResolver

RESTRICTION - Static variable in interface com.tibco.xml.schema.SmComponent


S
SAX_PARSE_EXCEPTION - Static variable in class com.tibco.xml.validation.ErrorCode

SAXContent2DOM - class com.tibco.xml.processor.SAXContent2DOM.


Performs conversion from SAX Content to a Document.
SAXContent2DOM() - Constructor for class com.tibco.xml.processor.SAXContent2DOM

SAXContent2XmlStream - class com.tibco.xml.processor.SAXContent2XmlStream.


Performs conversion from SAX Content to an untyped XML Stream.
SAXContent2XmlStream.SAXContent2XmlKernel - class
com.tibco.xml.processor.SAXContent2XmlStream.SAXContent2XmlKernel.
The internal helper class that actually does all the work.
SAXContent2XmlStream.SAXContent2XmlKernel(SAXContent2XmlStream) - Constructor for
class com.tibco.xml.processor.SAXContent2XmlStream.SAXContent2XmlKernel

SAXContent2XmlStream() - Constructor for class com.tibco.xml.processor.SAXContent2XmlStream

SAXContentNormalizer - class com.tibco.xml.processor.SAXContentNormalizer.


Performs normalization of SAX Content.
SAXContentNormalizer() - Constructor for class com.tibco.xml.processor.SAXContentNormalizer

SAXLocationHintSupplier - class com.tibco.xml.validation.kernel.SAXLocationHintSupplier.


Extracts schema location and document hints from a SAX stream and provides them to listeners.
SAXLocationHintSupplier() - Constructor for class
com.tibco.xml.validation.kernel.SAXLocationHintSupplier

scheduleVisit(SmComponent) - Method in class com.tibco.xml.schema.SmVisitor.Default

SchemaException - exception com.tibco.xml.validation.SchemaException.


An exception class for problems encountered while parsing or checking a schema.
SchemaException(String) - Constructor for class com.tibco.xml.validation.SchemaException
Construct a SchemaException with the given error message.
SchemaException(String, Exception) - Constructor for class
com.tibco.xml.validation.SchemaException
Construct a SchemaException with the given error message and "culprit" exception.
schemaIterator() - Method in interface com.tibco.xml.schema.SmSchemaSpace
Returns an Iterator over all schemas in this schemaspace.
SchemaMap - interface com.tibco.xml.validation.SchemaMap.
A collection of pre-parsed schema/DTD representations for use by an XMLValidator.
SchemaModelConsumer - interface com.tibco.xml.schema.channel.SchemaModelConsumer.
Implemented by components that require the services of a SchemaModelProvider.
SchemaModelHandler - interface com.tibco.xml.schema.channel.SchemaModelHandler.
Implemented by components to handle schemas.
SchemaModelProvider - interface com.tibco.xml.schema.channel.SchemaModelProvider.
Implemented by components to provide a schema through a pull mechanism.
SchemaModelSupplier - interface com.tibco.xml.schema.channel.SchemaModelSupplier.
Implemented by components that supply a schema model, through a push mechanism, to a
SchemaModelHandler.
schemas - Static variable in class com.tibco.xml.validation.StringValidation

schemaSpaceIterator() - Method in interface com.tibco.xml.schema.SmSchemaSpace


Returns an Iterator over all schemaspaces in this schemaspace.
ScriptingAdjunctValidator - class com.tibco.xml.validation.scripting.ScriptingAdjunctValidator.

ScriptingAdjunctValidator() - Constructor for class


com.tibco.xml.validation.scripting.ScriptingAdjunctValidator

ScriptingSimpleTypeCompilers - class
com.tibco.xml.validation.scripting.ScriptingSimpleTypeCompilers.
Read-only storage of XML Schema built-in type compilers.
ScriptingSimpleTypeCompilers() - Constructor for class
com.tibco.xml.validation.scripting.ScriptingSimpleTypeCompilers

ScriptingValidatorMk1 - class com.tibco.xml.validation.scripting.ScriptingValidatorMk1.


Scripting Extended Validation Implementation.
ScriptingValidatorMk1() - Constructor for class
com.tibco.xml.validation.scripting.ScriptingValidatorMk1

SEQUENCE - Static variable in interface com.tibco.xml.schema.SmModelGroup


possible values for the compositor.
setAdjunctHandler(AdjunctHandler) - Method in class
com.tibco.xml.validation.kernel.DefaultAdjunctSupplier

setAdjunctHandler(AdjunctHandler) - Method in interface


com.tibco.xml.adjuncts.channel.AdjunctSupplier

setAdjunctProvider(AdjunctProvider) - Method in class


com.tibco.xml.validation.kernel.DefaultAdjunctSupplier

setAdjunctProvider(AdjunctProvider) - Method in interface


com.tibco.xml.adjuncts.channel.AdjunctConsumer

setAdjunctProvider(AdjunctProvider) - Method in class


com.tibco.xml.validation.scripting.ScriptingValidatorMk1

setConfiguration(String) - Method in class com.tibco.xml.processor.Aggregate


Declared in com.tibco.xml.runtime.IConfigurable
setConfiguration(String) - Method in interface com.tibco.xml.runtime.IConfigurable

setContentHandler(ContentHandler) - Method in class


com.tibco.xml.validation.kernel.SAXLocationHintSupplier

setContentHandler(ContentHandler) - Method in interface


com.tibco.xml.channel.content.ContentSupplier
Allows an application to register and unregister a ContentHandler for this supplier.
setContentHandler(ContentHandler) - Method in class
com.tibco.xml.processor.SAXContentNormalizer

setContentHandler(ContentHandler) - Method in class


com.tibco.xml.processor.SAXContent2XmlStream

setContentHandler(ContentHandler) - Method in class


com.tibco.xml.processor.SAXContent2XmlStream.SAXContent2XmlKernel

setContentHandler(ContentHandler) - Method in class com.tibco.xml.processor.DOM2Content


setContentHandler(ContentHandler) - Method in class
com.tibco.xml.validation.helpers.Validator_SAX_Remark_InternalCache

setContentHandler(ContentHandler) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Remark_ExternalCache

setContentHandler(ContentHandler) - Method in class


com.tibco.xml.validation.helpers.XMLValidatorFilterImplMk1

setContentHandler(ContentHandler) - Method in class


com.tibco.xml.validation.helpers.ValidatingFilter_InternalCache

setContentHandler(ContentHandler) - Method in class


com.tibco.xml.validation.helpers.ValidatingFilter_ExternalCache

setContentHandler(ContentHandler) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Error_InternalCache

setContentHandler(ContentHandler) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Error_ExternalCache

setContentHandler(ContentHandler) - Method in class


com.tibco.xml.validation.scripting.ScriptingAdjunctValidator

setContentProvider(ContentProvider) - Method in interface


com.tibco.xml.channel.content.ContentConsumer

setContentProvider(ContentProvider) - Method in class com.tibco.xml.processor.Aggregate

setContextProvider(IContextProvider) - Method in class com.tibco.xml.processor.Aggregate

setContextProvider(IContextProvider) - Method in interface


com.tibco.xml.runtime.IContextConsumer

setCurrentNode(Node) - Method in class com.tibco.xml.data.cursor.helpers.XmlCursor4DOM


setDeclaration(SmDataComponent) - Method in interface com.tibco.xml.data.node.XmlNode
Sets the declaration for this context.
setDeclaration(SmDataComponent) - Method in class
com.tibco.xml.data.context.helpers.XmlContextOnXmlCursor

setDeclaration(SmDataComponent) - Method in class


com.tibco.xml.data.cursor.helpers.XmlCursor4DOM

setDeclaration(SmDataComponent) - Method in class


com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext

setDocumentCursor(XmlCursor) - Method in class com.tibco.xml.validation.kernel.ValidationKernel

setDocumentCursor(XmlCursor) - Method in interface


com.tibco.xml.channel.stream.XmlStreamHandler
Receive an interface for accessing and navigating the XML information set.
setDocumentCursor(XmlCursor) - Method in class
com.tibco.xml.channel.stream.helpers.DefaultXmlStreamHandler

setDocumentCursor(XmlCursor) - Method in class


com.tibco.xml.channel.stream.helpers.XmlStreamMulticastHelper

setDocumentCursor(XmlCursor) - Method in class


com.tibco.xml.channel.stream.helpers.XmlStreamTracer

setDocumentCursor(XmlCursor) - Method in class


com.tibco.xml.channel.stream.helpers.XmlStreamProfiler

setDocumentCursor(XmlCursor) - Method in class


com.tibco.xml.channel.stream.helpers.XmlStreamTermination

setDocumentCursor(XmlCursor) - Method in class com.tibco.xml.processor.XmlStreamEnhancer

setDocumentCursor(XmlCursor) - Method in class com.tibco.xml.processor.XmlStreamCompiler

setDocumentCursor(XmlCursor) - Method in class


com.tibco.xml.processor.XmlStreamCompiler.XmlStreamCompilerContext

setDocumentCursor(XmlCursor) - Method in class com.tibco.xml.processor.XmlStreamSerializer


Receive an interface for accessing and navigating the XML information set.
setDocumentCursor(XmlCursor) - Method in class com.tibco.xml.processor.XmlStreamSimplEx

setDocumentCursor(XmlCursor) - Method in class


com.tibco.xml.processor.XmlStreamSimplEx.XmlStreamCompilerContext

setDocumentCursor(XmlCursor) - Method in class com.tibco.xml.processor.XmlStream2DOM

setDocumentLocator(Locator) - Method in class com.tibco.xml.validation.kernel.Validator

setDocumentLocator(Locator) - Method in class com.tibco.xml.validation.kernel.ValidationKernel

setDocumentLocator(Locator) - Method in class


com.tibco.xml.validation.kernel.SAXLocationHintSupplier

setDocumentLocator(Locator) - Method in interface com.tibco.xml.channel.stream.XmlStreamHandler


Receive an interface for determining the physical location of any XML Stream event.
setDocumentLocator(Locator) - Method in class
com.tibco.xml.channel.stream.helpers.DefaultXmlStreamHandler

setDocumentLocator(Locator) - Method in class


com.tibco.xml.channel.stream.helpers.XmlStreamMulticastHelper

setDocumentLocator(Locator) - Method in class


com.tibco.xml.channel.stream.helpers.XmlStreamTracer

setDocumentLocator(Locator) - Method in class


com.tibco.xml.channel.stream.helpers.XmlStreamProfiler

setDocumentLocator(Locator) - Method in class


com.tibco.xml.channel.stream.helpers.XmlStreamTermination

setDocumentLocator(Locator) - Method in class com.tibco.xml.processor.XmlStreamEnhancer


setDocumentLocator(Locator) - Method in class com.tibco.xml.processor.XmlStreamCompiler

setDocumentLocator(Locator) - Method in class


com.tibco.xml.processor.XmlStreamCompiler.XmlStreamCompilerContext

setDocumentLocator(Locator) - Method in class com.tibco.xml.processor.SAXContentNormalizer

setDocumentLocator(Locator) - Method in class com.tibco.xml.processor.XmlStreamSerializer


Receive an interface for determining the physical location of any XML Stream event.
setDocumentLocator(Locator) - Method in class com.tibco.xml.processor.SAXContent2XmlStream

setDocumentLocator(Locator) - Method in class


com.tibco.xml.processor.SAXContent2XmlStream.SAXContent2XmlKernel

setDocumentLocator(Locator) - Method in class com.tibco.xml.processor.SAXContent2DOM

setDocumentLocator(Locator) - Method in class com.tibco.xml.processor.XmlStreamSimplEx

setDocumentLocator(Locator) - Method in class


com.tibco.xml.processor.XmlStreamSimplEx.XmlStreamCompilerContext

setDocumentLocator(Locator) - Method in class com.tibco.xml.processor.XmlStream2DOM

setDocumentLocator(Locator) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Remark_InternalCache

setDocumentLocator(Locator) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Remark_ExternalCache

setDocumentLocator(Locator) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Error_InternalCache

setDocumentLocator(Locator) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Error_ExternalCache
setDocumentLocator(Locator) - Method in class
com.tibco.xml.validation.scripting.ScriptingAdjunctValidator

setDocumentLocatorProvider(DocumentLocatorProvider) - Method in interface


com.tibco.xml.runtime.data.DocumentLocatorConsumer

setDocumentProvider(DocumentProvider) - Method in interface


com.tibco.xml.channel.dom.DocumentConsumer

setDocumentProvider(DocumentProvider) - Method in class com.tibco.xml.processor.Aggregate

setDTDHandler(DTDHandler) - Method in class


com.tibco.xml.validation.helpers.XMLValidatorFilterImplMk1

setDTDHandler(DTDHandler) - Method in class


com.tibco.xml.validation.helpers.ValidatingFilter_InternalCache

setDTDHandler(DTDHandler) - Method in class


com.tibco.xml.validation.helpers.ValidatingFilter_ExternalCache

setEntityResolver(EntityResolver) - Method in interface com.tibco.xml.validation.SchemaMap


Set the EntityResolver used while parsing schemas and DTDs.
setEntityResolver(EntityResolver) - Method in class com.tibco.xml.validation.kernel.Validator

setEntityResolver(EntityResolver) - Method in class


com.tibco.xml.validation.kernel.DefaultSchemaSupplier

setEntityResolver(EntityResolver) - Method in class


com.tibco.xml.validation.kernel.SAXLocationHintSupplier

setEntityResolver(EntityResolver) - Method in interface com.tibco.xml.schema.SmParser


Provides the parser a method to resolve entities.
setEntityResolver(EntityResolver) - Method in class com.tibco.xml.schema.SmFactory
Provides the parser a method to resolve entities.
setEntityResolver(EntityResolver) - Method in interface com.tibco.xml.channel.entity.EntityConsumer
setEntityResolver(EntityResolver) - Method in class com.tibco.xml.processor.XmlStreamParser

setEntityResolver(EntityResolver) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Remark_InternalCache

setEntityResolver(EntityResolver) - Method in class


com.tibco.xml.validation.helpers.XMLValidatorFilterImplMk1

setEntityResolver(EntityResolver) - Method in class


com.tibco.xml.validation.helpers.ValidatingFilter_InternalCache

setEntityResolver(EntityResolver) - Method in class


com.tibco.xml.validation.helpers.ValidatingFilter_ExternalCache

setEntityResolver(EntityResolver) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Error_InternalCache

setErrorHandler(ErrorHandler) - Method in interface com.tibco.xml.validation.SchemaMap


Set the error handler to use for reporting errors in the schema.
setErrorHandler(ErrorHandler) - Method in class
com.tibco.xml.validation.kernel.DefaultAdjunctSupplier

setErrorHandler(ErrorHandler) - Method in interface com.tibco.xml.schema.SmConverter


Provides the converter a place to report errors.
setErrorHandler(ErrorHandler) - Method in interface com.tibco.xml.schema.SmParser
Provides the parser a place to report errors.
setErrorHandler(ErrorHandler) - Method in class com.tibco.xml.schema.SmFactory
Provides the parser a place to report errors.
setErrorHandler(ErrorHandler) - Method in interface com.tibco.xml.channel.error.ErrorSupplier

setErrorHandler(ErrorHandler) - Method in class


com.tibco.xml.validation.helpers.XMLValidatorFilterImplMk1

setErrorHandler(ErrorHandler) - Method in class


com.tibco.xml.validation.helpers.ValidatingFilter_InternalCache
setErrorHandler(ErrorHandler) - Method in class
com.tibco.xml.validation.helpers.ValidatingFilter_ExternalCache

setErrorHandler(ErrorHandler) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Error_InternalCache

setErrorHandler(ErrorHandler) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Error_ExternalCache

setErrorHandler(SmSchemaError.Handler) - Method in interface


com.tibco.xml.schema.SmSchemaSpace
Set the handler for errors encountered when adding a schema.
setErrorHandler(SmSchemaError.Handler) - Method in interface
com.tibco.xml.schema.SmSchemaError.Source

setFeature(String, boolean) - Method in class


com.tibco.xml.validation.helpers.XMLValidatorFilterImplMk1

setFeature(String, boolean) - Method in class


com.tibco.xml.validation.helpers.ValidatingFilter_InternalCache

setFeature(String, boolean) - Method in class


com.tibco.xml.validation.helpers.ValidatingFilter_ExternalCache

setNamespaceEntityResolver(NamespaceEntityResolver) - Method in interface


com.tibco.xml.schema.channel.NamespaceEntityConsumer

setParent(XMLReader) - Method in class


com.tibco.xml.validation.helpers.XMLValidatorFilterImplMk1

setParent(XMLReader) - Method in class


com.tibco.xml.validation.helpers.ValidatingFilter_InternalCache

setParent(XMLReader) - Method in class


com.tibco.xml.validation.helpers.ValidatingFilter_ExternalCache
setParser(SmParser) - Method in class com.tibco.xml.schema.SmFactory
Sets the parser for parsing InputSources.
setPolicy(String, String) - Method in interface com.tibco.xml.validation.XMLValidator
Set the value of a policy.
setPolicy(String, String) - Method in interface com.tibco.xml.validation.SchemaMap
Set the value of a policy.
setPolicy(String, String) - Method in interface com.tibco.xml.schema.SmSchemaSpace

setPolicy(String, String) - Method in interface com.tibco.xml.schema.SmParser

setPolicy(String, String) - Method in class


com.tibco.xml.validation.helpers.XMLValidatorFilterImplMk1

setProperty(String, Object) - Method in class


com.tibco.xml.validation.helpers.XMLValidatorFilterImplMk1

setProperty(String, Object) - Method in class


com.tibco.xml.validation.helpers.ValidatingFilter_InternalCache

setProperty(String, Object) - Method in class


com.tibco.xml.validation.helpers.ValidatingFilter_ExternalCache

setPropertyHandler(PropertyHandler) - Method in interface


com.tibco.xml.channel.property.PropertySupplier
Allows a component to register and unregister a PropertyHandler for this supplier.
setPropertyHandler(PropertyHandler) - Method in class
com.tibco.xml.validation.scripting.ScriptingValidatorMk1

setPropertyProvider(PropertyProvider) - Method in class


com.tibco.xml.validation.kernel.DefaultSchemaSupplier

setPropertyProvider(PropertyProvider) - Method in class


com.tibco.xml.validation.kernel.SAXLocationHintSupplier

setPropertyProvider(PropertyProvider) - Method in interface


com.tibco.xml.channel.property.PropertyConsumer
setPropertyProvider(PropertyProvider) - Method in class
com.tibco.xml.validation.helpers.Validator_SAX_Remark_InternalCache

setPropertyProvider(PropertyProvider) - Method in class


com.tibco.xml.validation.helpers.ValidatingFilter_InternalCache

setPropertyProvider(PropertyProvider) - Method in class


com.tibco.xml.validation.helpers.ValidatingFilter_ExternalCache

setPropertyProvider(PropertyProvider) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Error_InternalCache

setPropertyProvider(PropertyProvider) - Method in class


com.tibco.xml.validation.scripting.ScriptingValidatorMk1

setSchema(SmSchema) - Method in interface com.tibco.xml.data.node.XmlNode


Sets the schema model for this context.
setSchema(SmSchema) - Method in class com.tibco.xml.data.context.helpers.XmlContextOnXmlCursor

setSchema(SmSchema) - Method in class com.tibco.xml.data.cursor.helpers.XmlCursor4DOM

setSchema(SmSchema) - Method in class com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext

setSchemaMap(SchemaMap) - Method in interface com.tibco.xml.validation.XMLValidator


Set the schema map to use during validation.
setSchemaMap(SchemaMap) - Method in class
com.tibco.xml.validation.helpers.XMLValidatorFilterImplMk1

setSchemaModelHandler(SchemaModelHandler) - Method in class


com.tibco.xml.validation.kernel.DefaultSchemaSupplier

setSchemaModelHandler(SchemaModelHandler) - Method in class


com.tibco.xml.validation.kernel.DefaultNamespaceConverter

setSchemaModelHandler(SchemaModelHandler) - Method in interface


com.tibco.xml.schema.channel.SchemaModelSupplier

setSchemaModelProvider(SchemaModelProvider) - Method in class


com.tibco.xml.validation.kernel.Validator

setSchemaModelProvider(SchemaModelProvider) - Method in class


com.tibco.xml.validation.kernel.DefaultSchemaSupplier

setSchemaModelProvider(SchemaModelProvider) - Method in class


com.tibco.xml.validation.kernel.DefaultNamespaceConverter

setSchemaModelProvider(SchemaModelProvider) - Method in class


com.tibco.xml.validation.kernel.DefaultSchemaCache

setSchemaModelProvider(SchemaModelProvider) - Method in interface


com.tibco.xml.schema.channel.SchemaModelConsumer

setSchemaModelProvider(SchemaModelProvider) - Method in class


com.tibco.xml.processor.XmlStreamEnhancer

setSchemaModelProvider(SchemaModelProvider) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Remark_ExternalCache

setSchemaModelProvider(SchemaModelProvider) - Method in class


com.tibco.xml.validation.helpers.Validator_DOM_Remark_ExternalCache

setSchemaModelProvider(SchemaModelProvider) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Error_ExternalCache

setSimpleTypeCompilerProvider(SimpleTypeCompilerProvider) - Method in class


com.tibco.xml.processor.XmlStreamCompiler

setSimpleTypeCompilerProvider(SimpleTypeCompilerProvider) - Method in class


com.tibco.xml.processor.XmlStreamCompiler.XmlStreamCompilerContext

setSimpleTypeCompilerProvider(SimpleTypeCompilerProvider) - Method in class


com.tibco.xml.processor.XmlStreamSimplEx

setSimpleTypeCompilerProvider(SimpleTypeCompilerProvider) - Method in class


com.tibco.xml.processor.XmlStreamSimplEx.XmlStreamCompilerContext

setType(SmType) - Method in interface com.tibco.xml.data.node.XmlNode


Sets the type for this context.
setType(SmType) - Method in class com.tibco.xml.data.context.helpers.XmlContextOnXmlCursor

setType(SmType) - Method in class com.tibco.xml.data.cursor.helpers.XmlCursor4DOM

setType(SmType) - Method in class com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext

setTypeURI(String) - Method in class com.tibco.xml.validation.kernel.DefaultAdjunctSupplier

setTypeURI(String) - Method in interface com.tibco.xml.channel.typeuri.TypeURIHandler

setTypeURI(String) - Method in class com.tibco.xml.validation.scripting.ScriptingValidatorMk1

setValidating(boolean) - Method in interface com.tibco.xml.validation.XMLValidator


Set the "validating" switch.
setValidating(boolean) - Method in class
com.tibco.xml.validation.helpers.XMLValidatorFilterImplMk1

setValue(XmlValue) - Method in interface com.tibco.xml.data.node.XmlNode


Sets the value of this node.
setValue(XmlValue) - Method in class com.tibco.xml.data.context.helpers.XmlContextOnXmlCursor

setValue(XmlValue) - Method in class com.tibco.xml.data.cursor.helpers.XmlCursor4DOM

setValue(XmlValue) - Method in class com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext

setXmlContext(XmlContext) - Method in class


com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext
setXmlContextProvider(XmlContextProvider) - Method in interface
com.tibco.xml.channel.context.XmlContextConsumer

setXmlRemarkHandler(XmlRemarkHandler) - Method in class


com.tibco.xml.validation.kernel.Validator

setXmlRemarkHandler(XmlRemarkHandler) - Method in class


com.tibco.xml.validation.kernel.DefaultSchemaSupplier

setXmlRemarkHandler(XmlRemarkHandler) - Method in class


com.tibco.xml.validation.kernel.ValidationKernel

setXmlRemarkHandler(XmlRemarkHandler) - Method in class


com.tibco.xml.validation.kernel.ValidationControl

setXmlRemarkHandler(XmlRemarkHandler) - Method in interface


com.tibco.xml.channel.remark.XmlRemarkSupplier
Allows an application to register and unregister an XmlRemarkHandler for this supplier.
setXmlRemarkHandler(XmlRemarkHandler) - Method in class
com.tibco.xml.processor.XmlStreamParser

setXmlRemarkHandler(XmlRemarkHandler) - Method in class


com.tibco.xml.processor.XmlStreamEnhancer

setXmlRemarkHandler(XmlRemarkHandler) - Method in class


com.tibco.xml.processor.XmlStreamCompiler

setXmlRemarkHandler(XmlRemarkHandler) - Method in class


com.tibco.xml.processor.XmlStreamCompiler.XmlStreamCompilerContext

setXmlRemarkHandler(XmlRemarkHandler) - Method in class


com.tibco.xml.processor.SAXContent2XmlStream

setXmlRemarkHandler(XmlRemarkHandler) - Method in class


com.tibco.xml.processor.SAXContent2XmlStream.SAXContent2XmlKernel
setXmlRemarkHandler(XmlRemarkHandler) - Method in class
com.tibco.xml.processor.XmlStreamSimplEx

setXmlRemarkHandler(XmlRemarkHandler) - Method in class


com.tibco.xml.processor.XmlStreamSimplEx.XmlStreamCompilerContext

setXmlRemarkHandler(XmlRemarkHandler) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Remark_InternalCache

setXmlRemarkHandler(XmlRemarkHandler) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Remark_ExternalCache

setXmlRemarkHandler(XmlRemarkHandler) - Method in class


com.tibco.xml.validation.helpers.Validator_DOM_Remark_ExternalCache

setXmlRemarkHandler(XmlRemarkHandler) - Method in class


com.tibco.xml.validation.constraints.ValidationConstraintEngine

setXmlRemarkHandler(XmlRemarkHandler) - Method in class


com.tibco.xml.validation.constraints.DefaultConstraintChecker

setXmlRemarkHandler(XmlRemarkHandler) - Method in class


com.tibco.xml.validation.scripting.ScriptingValidatorMk1

setXmlRemarkHandler(XmlRemarkHandler) - Method in class


com.tibco.xml.validation.scripting.ScriptingAdjunctValidator

setXmlStreamHandler(XmlStreamHandler) - Method in class


com.tibco.xml.validation.kernel.Validator

setXmlStreamHandler(XmlStreamHandler) - Method in interface


com.tibco.xml.channel.stream.XmlStreamSupplier
Allows an application to register an XmlStreamHandler for this supplier.
setXmlStreamHandler(XmlStreamHandler) - Method in class
com.tibco.xml.channel.stream.helpers.DefaultXmlStreamHandler
will call setDocumentLocator and setDocumentCursor on handler
setXmlStreamHandler(XmlStreamHandler) - Method in class
com.tibco.xml.channel.stream.helpers.XmlStreamTracer

setXmlStreamHandler(XmlStreamHandler) - Method in class


com.tibco.xml.channel.stream.helpers.XmlStreamProfiler

setXmlStreamHandler(XmlStreamHandler) - Method in class


com.tibco.xml.processor.DOM2XmlStream

setXmlStreamHandler(XmlStreamHandler) - Method in class


com.tibco.xml.processor.XmlStreamParser

setXmlStreamHandler(XmlStreamHandler) - Method in class


com.tibco.xml.processor.XmlStreamEnhancer

setXmlStreamHandler(XmlStreamHandler) - Method in class


com.tibco.xml.processor.XmlStreamCompiler

setXmlStreamHandler(XmlStreamHandler) - Method in class


com.tibco.xml.processor.SAXContent2XmlStream

setXmlStreamHandler(XmlStreamHandler) - Method in class


com.tibco.xml.processor.SAXContent2XmlStream.SAXContent2XmlKernel

setXmlStreamHandler(XmlStreamHandler) - Method in class


com.tibco.xml.processor.XmlStreamSimplEx

setXmlStreamHandler(XmlStreamHandler) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Remark_InternalCache

setXmlStreamHandler(XmlStreamHandler) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Remark_ExternalCache

setXmlStreamHandler(XmlStreamHandler) - Method in class


com.tibco.xml.validation.helpers.Validator_DOM_Remark_ExternalCache
setXmlStreamHandler(XmlStreamHandler) - Method in class
com.tibco.xml.validation.scripting.ScriptingAdjunctValidator

SIMPLE_TYPE_ERROR_ATTRIBUTE_TYPE_NOT_SIMPLE - Static variable in class


com.tibco.xml.validation.ErrorCode

SIMPLE_TYPE_ERROR_BINARY_WITHOUT_ENCODING - Static variable in class


com.tibco.xml.validation.ErrorCode

SIMPLE_TYPE_ERROR_ELEMENT_TYPE_ABSTRACT - Static variable in class


com.tibco.xml.validation.ErrorCode

SIMPLE_TYPE_ERROR_EMPTY_ENUMERATION - Static variable in class


com.tibco.xml.validation.ErrorCode

SIMPLE_TYPE_ERROR_ENUMERATION_FACET_MISMATCH - Static variable in class


com.tibco.xml.validation.ErrorCode

SIMPLE_TYPE_ERROR_EXTENDED_VALIDATION - Static variable in class


com.tibco.xml.validation.ErrorCode

SIMPLE_TYPE_ERROR_FIXED_VALUE_MISMATCH - Static variable in class


com.tibco.xml.validation.ErrorCode

SIMPLE_TYPE_ERROR_INVALID_FACET - Static variable in class


com.tibco.xml.validation.ErrorCode

SIMPLE_TYPE_ERROR_INVALID_LENGTH - Static variable in class


com.tibco.xml.validation.ErrorCode

SIMPLE_TYPE_ERROR_INVALID_PATTERN - Static variable in class


com.tibco.xml.validation.ErrorCode

SIMPLE_TYPE_ERROR_INVALID_PRIMITIVETYPE_VALUE - Static variable in class


com.tibco.xml.validation.ErrorCode
SIMPLE_TYPE_ERROR_INVALID_TIME_DURATION - Static variable in class
com.tibco.xml.validation.ErrorCode

SIMPLE_TYPE_ERROR_INVALID_URI_CHAR - Static variable in class


com.tibco.xml.validation.ErrorCode

SIMPLE_TYPE_ERROR_INVALID_URI_PERCENT - Static variable in class


com.tibco.xml.validation.ErrorCode

SIMPLE_TYPE_ERROR_INVALID_VALUE_FOR_TYPE - Static variable in class


com.tibco.xml.validation.ErrorCode

SIMPLE_TYPE_ERROR_LENGTH_TOO_LONG - Static variable in class


com.tibco.xml.validation.ErrorCode

SIMPLE_TYPE_ERROR_LENGTH_TOO_SHORT - Static variable in class


com.tibco.xml.validation.ErrorCode

SIMPLE_TYPE_ERROR_MAXIMUM_VALUE - Static variable in class


com.tibco.xml.validation.ErrorCode

SIMPLE_TYPE_ERROR_MINIMUM_VALUE - Static variable in class


com.tibco.xml.validation.ErrorCode

SIMPLE_TYPE_ERROR_MUST_BE_GREATER_THAN - Static variable in class


com.tibco.xml.validation.ErrorCode

SIMPLE_TYPE_ERROR_MUST_BE_GREATER_THAN_OR_EQUAL - Static variable in class


com.tibco.xml.validation.ErrorCode

SIMPLE_TYPE_ERROR_MUST_BE_LESS_THAN - Static variable in class


com.tibco.xml.validation.ErrorCode

SIMPLE_TYPE_ERROR_MUST_BE_LESS_THAN_OR_EQUAL - Static variable in class


com.tibco.xml.validation.ErrorCode
SIMPLE_TYPE_ERROR_MUST_HAVE_AT_MOST - Static variable in class
com.tibco.xml.validation.ErrorCode

SIMPLE_TYPE_ERROR_MUST_HAVE_EXACTLY_ONE_CHAR - Static variable in class


com.tibco.xml.validation.ErrorCode

SIMPLE_TYPE_ERROR_NO_NAMESPACE_FOR_PREFIX - Static variable in class


com.tibco.xml.validation.ErrorCode

SIMPLE_TYPE_ERROR_NO_SUBTYPES_IN_UNION - Static variable in class


com.tibco.xml.validation.ErrorCode

SIMPLE_TYPE_ERROR_OUT_OF_RANGE_FOR_TYPE - Static variable in class


com.tibco.xml.validation.ErrorCode

SIMPLE_TYPE_ERROR_REGULAR_EXPRESSION_MISMATCH - Static variable in class


com.tibco.xml.validation.ErrorCode

SIMPLE_TYPE_ERROR_UNKNOWN - Static variable in class com.tibco.xml.validation.ErrorCode

SIMPLE_TYPE_ERROR_UNKNOWN_VALUE_TYPE - Static variable in class


com.tibco.xml.validation.ErrorCode

SIMPLE_TYPE_ERROR_XPATH_SYNTAX - Static variable in class


com.tibco.xml.validation.ErrorCode

size() - Method in interface com.tibco.xml.schema.SmIdentityConstraint.Path

SKIP - Static variable in interface com.tibco.xml.schema.SmWildcard


(The default) indicates that the processor should not try to validate the content within this element.
skippedEntity(String) - Method in class com.tibco.xml.validation.kernel.Validator

skippedEntity(String) - Method in class com.tibco.xml.validation.kernel.SAXLocationHintSupplier

skippedEntity(String) - Method in class com.tibco.xml.processor.SAXContentNormalizer


skippedEntity(String) - Method in class com.tibco.xml.processor.SAXContent2XmlStream

skippedEntity(String) - Method in class


com.tibco.xml.processor.SAXContent2XmlStream.SAXContent2XmlKernel

skippedEntity(String) - Method in class com.tibco.xml.processor.SAXContent2DOM

skippedEntity(String) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Remark_InternalCache

skippedEntity(String) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Remark_ExternalCache

skippedEntity(String) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Error_InternalCache

skippedEntity(String) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Error_ExternalCache

skippedEntity(String) - Method in class com.tibco.xml.validation.scripting.ScriptingAdjunctValidator

SmAttribute - interface com.tibco.xml.schema.SmAttribute.


SmAttribute represents an attribute declaration, which may be global or local to some type.
SmAttributeGroup - interface com.tibco.xml.schema.SmAttributeGroup.
SmAttributeGroup is a SmModelGroup with the constraint that all particles are attributes and the
compositor is ALL.
SmComponent - interface com.tibco.xml.schema.SmComponent.
SmComponent is the base interface for all schema components, such as element and attribute
declarations.
SmConverter - interface com.tibco.xml.schema.SmConverter.
SmConverter is an interface used by SmFactory for creating a SmSchema from an existing object
(such as Extensibility's SmSchema).
SmDataComponent - interface com.tibco.xml.schema.SmDataComponent.
SmDataComponent represents an data object in a schema (either an element or attribute), which
may be global to a schema or local to some type.
SmElement - interface com.tibco.xml.schema.SmElement.
The SmElement interface models an element declaration, which could be global within the schema
or local to some other element.
SmException - exception com.tibco.xml.schema.SmException.

SmException(Exception) - Constructor for class com.tibco.xml.schema.SmException

SmException(String) - Constructor for class com.tibco.xml.schema.SmException

SmException(String, Exception) - Constructor for class com.tibco.xml.schema.SmException

SmFactory - class com.tibco.xml.schema.SmFactory.


SmFactory keeps a set of converters and a parser for use in creating SmSchema objects.
SmFactory() - Constructor for class com.tibco.xml.schema.SmFactory

SmFlavor - interface com.tibco.xml.schema.SmFlavor.


SmFlavor identifies the "flavor" of a schema, such as DTD or XSDL.
SmIdentityConstraint - interface com.tibco.xml.schema.SmIdentityConstraint.
SmIdentityConstraint describes key/key/unique constraints on the schema.
SmIdentityConstraint.Path - interface com.tibco.xml.schema.SmIdentityConstraint.Path.
An interface for representing parsed field / selector XPaths.
SmMetaForeignAttribute - interface com.tibco.xml.schema.SmMetaForeignAttribute.

SmMetaInfo - interface com.tibco.xml.schema.SmMetaInfo.


Parent of meta-information holders
SmModelGroup - interface com.tibco.xml.schema.SmModelGroup.
SmModelGroup represents a group of content sequences.
SmNotation - interface com.tibco.xml.schema.SmNotation.
Notation
SmParser - interface com.tibco.xml.schema.SmParser.
SmParser is an interface used by SmFactory for creating a SmSchema from an InputSource.
SmParticle - interface com.tibco.xml.schema.SmParticle.
A SmParticle is a component of a group.
SmParticleTerm - interface com.tibco.xml.schema.SmParticleTerm.
SmParticleTerm is a marker interface for items that can be the term of a particle.
SmSchema - interface com.tibco.xml.schema.SmSchema.
SmSchema is an model for a read-only schema.
SmSchemaError - interface com.tibco.xml.schema.SmSchemaError.

SmSchemaError.Handler - interface com.tibco.xml.schema.SmSchemaError.Handler.

SmSchemaError.Source - interface com.tibco.xml.schema.SmSchemaError.Source.

SmSchemaSpace - interface com.tibco.xml.schema.SmSchemaSpace.


SmSchemaSpace is a collection of namespace-to-schema mappings.
SmSupport - class com.tibco.xml.schema.SmSupport.
SmSupport contains static utility methods.
SmSupport() - Constructor for class com.tibco.xml.schema.SmSupport

SmType - interface com.tibco.xml.schema.SmType.


SmType represents all types in a schema, both simple types and complex types, though some
methods are only applicable to one or the other.
SmTypeFacet - interface com.tibco.xml.schema.SmTypeFacet.
SmTypeFacet represents data-type facets.
SmVisitor - interface com.tibco.xml.schema.SmVisitor.

SmVisitor.Default - class com.tibco.xml.schema.SmVisitor.Default.

SmVisitor.Default() - Constructor for class com.tibco.xml.schema.SmVisitor.Default

SmVisitor.Failure - exception com.tibco.xml.schema.SmVisitor.Failure.

SmVisitor.Failure(SmComponent, String) - Constructor for class


com.tibco.xml.schema.SmVisitor.Failure

SmVisitor.Result - exception com.tibco.xml.schema.SmVisitor.Result.


Result of a "search" visit.
SmVisitor.Result(SmComponent, String) - Constructor for class
com.tibco.xml.schema.SmVisitor.Result

SmVisitor.Success - exception com.tibco.xml.schema.SmVisitor.Success.


SmVisitor.Success(SmComponent, String) - Constructor for class
com.tibco.xml.schema.SmVisitor.Success

SmWildcard - interface com.tibco.xml.schema.SmWildcard.


SmWildcard represent wildcard terms of content models.
SOX_SCHEMA_PATH - Static variable in interface com.tibco.xml.validation.XMLValidator
Tells validator where to start looking for SOX schemas.
SOX_SCHEMA_PATH - Static variable in interface com.tibco.xml.validation.SchemaMap
Tells validator and/or schemaparser where to start looking for SOX schemas.
SOX_SCHEMA_PATH - Static variable in interface com.tibco.xml.schema.SmSchemaSpace
Tells validator and/or schemaparser where to start looking for SOX schemas.
startCDATA() - Method in class com.tibco.xml.processor.SAXContent2DOM

startDocument() - Method in class com.tibco.xml.validation.kernel.Validator

startDocument() - Method in class com.tibco.xml.validation.kernel.DefaultAdjunctCache

startDocument() - Method in class com.tibco.xml.validation.kernel.DefaultSchemaCache

startDocument() - Method in class com.tibco.xml.validation.kernel.ValidationKernel

startDocument() - Method in class com.tibco.xml.validation.kernel.SAXLocationHintSupplier

startDocument() - Method in class com.tibco.xml.validation.kernel.ValidationControl

startDocument() - Method in interface com.tibco.xml.channel.boundary.DocumentBoundaryHandler

startDocument() - Method in interface com.tibco.xml.channel.stream.XmlStreamHandler


Receive notification of the beginning of a document.
startDocument() - Method in class com.tibco.xml.channel.stream.helpers.DefaultXmlStreamHandler

startDocument() - Method in class com.tibco.xml.channel.stream.helpers.XmlStreamMulticastHelper

startDocument() - Method in class com.tibco.xml.channel.stream.helpers.XmlStreamTracer


startDocument() - Method in class com.tibco.xml.channel.stream.helpers.XmlStreamProfiler

startDocument() - Method in class com.tibco.xml.channel.stream.helpers.XmlStreamTermination

startDocument() - Method in class com.tibco.xml.processor.XmlStreamEnhancer

startDocument() - Method in class com.tibco.xml.processor.XmlStreamCompiler

startDocument() - Method in class


com.tibco.xml.processor.XmlStreamCompiler.XmlStreamCompilerContext

startDocument() - Method in class com.tibco.xml.processor.SAXContentNormalizer

startDocument() - Method in class com.tibco.xml.processor.XmlStreamSerializer


Receive notification of the beginning of a document.
startDocument() - Method in class com.tibco.xml.processor.SAXContent2XmlStream

startDocument() - Method in class


com.tibco.xml.processor.SAXContent2XmlStream.SAXContent2XmlKernel

startDocument() - Method in class com.tibco.xml.processor.SAXContent2DOM

startDocument() - Method in class com.tibco.xml.processor.XmlStreamSimplEx

startDocument() - Method in class


com.tibco.xml.processor.XmlStreamSimplEx.XmlStreamCompilerContext

startDocument() - Method in class com.tibco.xml.processor.XmlStream2DOM

startDocument() - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Remark_InternalCache

startDocument() - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Remark_ExternalCache
startDocument() - Method in class
com.tibco.xml.validation.helpers.Validator_SAX_Error_InternalCache

startDocument() - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Error_ExternalCache

startDocument() - Method in class com.tibco.xml.validation.constraints.DefaultConstraintChecker

startDocument() - Method in class com.tibco.xml.validation.scripting.ScriptingAdjunctValidator

startDocument(String) - Method in interface com.tibco.xml.validation.channel.LocationHintHandler

startDocument(String) - Method in class com.tibco.xml.validation.kernel.DefaultSchemaSupplier

startDocument(String) - Method in class com.tibco.xml.validation.kernel.DefaultNamespaceConverter

startDTD(String, String, String) - Method in class com.tibco.xml.processor.SAXContent2DOM

startElement() - Method in class com.tibco.xml.validation.kernel.ValidationKernel

startElement() - Method in interface com.tibco.xml.channel.stream.XmlStreamHandler


Receive notification of the beginning of an element.
startElement() - Method in class com.tibco.xml.channel.stream.helpers.DefaultXmlStreamHandler

startElement() - Method in class com.tibco.xml.channel.stream.helpers.XmlStreamMulticastHelper

startElement() - Method in class com.tibco.xml.channel.stream.helpers.XmlStreamTracer

startElement() - Method in class com.tibco.xml.channel.stream.helpers.XmlStreamProfiler

startElement() - Method in class com.tibco.xml.channel.stream.helpers.XmlStreamTermination

startElement() - Method in class com.tibco.xml.processor.XmlStreamEnhancer

startElement() - Method in class com.tibco.xml.processor.XmlStreamCompiler


startElement() - Method in class
com.tibco.xml.processor.XmlStreamCompiler.XmlStreamCompilerContext

startElement() - Method in class com.tibco.xml.processor.XmlStreamSerializer


Receive notification of the beginning of an element.
startElement() - Method in class com.tibco.xml.processor.C14NSerializer
Receive notification of the beginning of an element.
startElement() - Method in class com.tibco.xml.processor.XmlStreamSimplEx

startElement() - Method in class


com.tibco.xml.processor.XmlStreamSimplEx.XmlStreamCompilerContext

startElement() - Method in class com.tibco.xml.processor.XmlStream2DOM

startElement(String, String, String, Attributes) - Method in class


com.tibco.xml.validation.kernel.Validator

startElement(String, String, String, Attributes) - Method in class


com.tibco.xml.validation.kernel.SAXLocationHintSupplier

startElement(String, String, String, Attributes) - Method in class


com.tibco.xml.processor.SAXContentNormalizer

startElement(String, String, String, Attributes) - Method in class


com.tibco.xml.processor.SAXContent2XmlStream

startElement(String, String, String, Attributes) - Method in class


com.tibco.xml.processor.SAXContent2XmlStream.SAXContent2XmlKernel

startElement(String, String, String, Attributes) - Method in class


com.tibco.xml.processor.SAXContent2DOM

startElement(String, String, String, Attributes) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Remark_InternalCache
startElement(String, String, String, Attributes) - Method in class
com.tibco.xml.validation.helpers.Validator_SAX_Remark_ExternalCache

startElement(String, String, String, Attributes) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Error_InternalCache

startElement(String, String, String, Attributes) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Error_ExternalCache

startElement(String, String, String, Attributes) - Method in class


com.tibco.xml.validation.scripting.ScriptingAdjunctValidator

startEntity(String) - Method in class com.tibco.xml.processor.SAXContent2DOM

startPrefixMapping(String, String) - Method in class com.tibco.xml.validation.kernel.Validator

startPrefixMapping(String, String) - Method in class


com.tibco.xml.validation.kernel.SAXLocationHintSupplier

startPrefixMapping(String, String) - Method in class com.tibco.xml.processor.SAXContentNormalizer

startPrefixMapping(String, String) - Method in class


com.tibco.xml.processor.SAXContent2XmlStream

startPrefixMapping(String, String) - Method in class


com.tibco.xml.processor.SAXContent2XmlStream.SAXContent2XmlKernel

startPrefixMapping(String, String) - Method in class com.tibco.xml.processor.SAXContent2DOM

startPrefixMapping(String, String) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Remark_InternalCache

startPrefixMapping(String, String) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Remark_ExternalCache

startPrefixMapping(String, String) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Error_InternalCache

startPrefixMapping(String, String) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Error_ExternalCache

startPrefixMapping(String, String) - Method in class


com.tibco.xml.validation.scripting.ScriptingAdjunctValidator

STRICT - Static variable in interface com.tibco.xml.schema.SmWildcard


Indicates that the processor should validate the contents of the element according to the namespace
given.
StringHandler - interface com.tibco.xml.runtime.data.StringHandler.

StringSupplier - interface com.tibco.xml.runtime.data.StringSupplier.

StringValidation - class com.tibco.xml.validation.StringValidation.


A sample class for use in a simple JNI invocation of XML Validate.
substitutesFor(SmElement, SmElement) - Static method in class com.tibco.xml.schema.SmSupport
Returns true when the first element can be substituted for the second.
SUBSTITUTION - Static variable in interface com.tibco.xml.schema.SmComponent

supportsNamespaces() - Method in interface com.tibco.xml.schema.SmFlavor


Returns true if this flavor supports namespaces.

T
TEXT_NODE - Static variable in interface com.tibco.xml.data.node.XmlTypes
The node is a Text node.
text() - Method in class com.tibco.xml.validation.kernel.ValidationKernel

text() - Method in interface com.tibco.xml.channel.stream.XmlStreamHandler


Receive notification of a text node.
text() - Method in class com.tibco.xml.channel.stream.helpers.DefaultXmlStreamHandler

text() - Method in class com.tibco.xml.channel.stream.helpers.XmlStreamMulticastHelper


text() - Method in class com.tibco.xml.channel.stream.helpers.XmlStreamTracer

text() - Method in class com.tibco.xml.channel.stream.helpers.XmlStreamProfiler

text() - Method in class com.tibco.xml.channel.stream.helpers.XmlStreamTermination

text() - Method in class com.tibco.xml.processor.XmlStreamEnhancer

text() - Method in class com.tibco.xml.processor.XmlStreamCompiler

text() - Method in class com.tibco.xml.processor.XmlStreamCompiler.XmlStreamCompilerContext

text() - Method in class com.tibco.xml.processor.XmlStreamSerializer


Receive notification of a text node.
text() - Method in class com.tibco.xml.processor.XmlStreamSimplEx

text() - Method in class com.tibco.xml.processor.XmlStreamSimplEx.XmlStreamCompilerContext

text() - Method in class com.tibco.xml.processor.XmlStream2DOM

toString() - Method in interface com.tibco.xml.schema.SmSchemaError

toString() - Method in class com.tibco.xml.data.cursor.helpers.XmlStringValue

toString() - Method in class com.tibco.xml.data.primitive.QName


Return the string representation of the QName, using the the '[prefix:]localName' notation where
braces indicate optional.
toString() - Method in class com.tibco.xml.data.primitive.ExpandedName
Return the string representation of the normalized name, using the the '{namespace}localName'
notation.
traverse(XmlCursor, XmlStreamHandler) - Static method in class
com.tibco.xml.data.cursor.XmlCursorSupport
Walks the cursor to generate an XML stream.
tryVisit(Iterator) - Method in class com.tibco.xml.schema.SmVisitor.Default
tryVisit(SmComponent) - Method in interface com.tibco.xml.schema.SmVisitor
Visit an anonymous component or schedule a visit to a named component.
tryVisit(SmComponent) - Method in class com.tibco.xml.schema.SmVisitor.Default
Default implementation of tryVisit only visits anonymous components immediately, and schedules
at most one visit of each named component.
TYPE_FACET_TYPE - Static variable in interface com.tibco.xml.schema.SmComponent

TYPE_TYPE - Static variable in interface com.tibco.xml.schema.SmComponent


the types of schema model components.
typeIsID(SmType) - Static method in class com.tibco.xml.schema.SmSupport
Returns whether this type extends an ID type
typeIsIDREF(SmType) - Static method in class com.tibco.xml.schema.SmSupport
Returns whether this type extends an IDREF type
TypeURIHandler - interface com.tibco.xml.channel.typeuri.TypeURIHandler.

TypeURISupplier - interface com.tibco.xml.channel.typeuri.TypeURISupplier.

U
UNBOUNDED - Static variable in interface com.tibco.xml.schema.SmParticle
possible value for getMaxOccurrence()
UndefinedPropertyException - exception com.tibco.xml.data.cursor.UndefinedPropertyException.

UndefinedPropertyException(String, short) - Constructor for class


com.tibco.xml.data.cursor.UndefinedPropertyException

UNIQUE - Static variable in interface com.tibco.xml.schema.SmIdentityConstraint

UnsupportedAxisException - exception com.tibco.xml.data.primitive.UnsupportedAxisException.

UnsupportedAxisException() - Constructor for class


com.tibco.xml.data.primitive.UnsupportedAxisException
UriHandler - interface com.tibco.xml.runtime.data.UriHandler.

UriSupplier - interface com.tibco.xml.runtime.data.UriSupplier.

UrlHandler - interface com.tibco.xml.runtime.data.UrlHandler.

UrlSupplier - interface com.tibco.xml.runtime.data.UrlSupplier.

USE_DTD_PUBLIC_ID_POLICY - Static variable in interface


com.tibco.xml.validation.XMLValidator
If this policy has the value of "true", the validator will attempt to resolve the public identifier
(given in the DOCTYPE of a document) to a DTD in the SchemaMap.
USE_SCHEMA_LOCATION_POLICY - Static variable in interface
com.tibco.xml.validation.XMLValidator
If this policy has the value of "true", the validator will attempt to use the EntityResolver to find
and parse a schema from a location stated in an xsi:schemaLocation or
xsi:noNamespaceSchemaLocation attribute.

V
validateXML(InputSource, InputSource, ErrorHandler) - Static method in class
com.tibco.xml.validation.ValidationUtilities
Validate a single XML document/message using a single schema.
validateXML(InputSource, SchemaMap, ErrorHandler) - Static method in class
com.tibco.xml.validation.ValidationUtilities
Validate a single XML document/message using a set of schemas, already inserted into a
SchemaMap object.
validateXML(String) - Static method in class com.tibco.xml.validation.StringValidation
Validate an XML document against schemas in the static SchemaMap.
ValidatingFilter_ExternalCache - class
com.tibco.xml.validation.helpers.ValidatingFilter_ExternalCache.
A SAX validating filter employing an external schema cache.
ValidatingFilter_ExternalCache() - Constructor for class
com.tibco.xml.validation.helpers.ValidatingFilter_ExternalCache

ValidatingFilter_ExternalCache(XMLReader) - Constructor for class


com.tibco.xml.validation.helpers.ValidatingFilter_ExternalCache

ValidatingFilter_InternalCache - class
com.tibco.xml.validation.helpers.ValidatingFilter_InternalCache.
A SAX validating filter with an internal schema cache.
ValidatingFilter_InternalCache() - Constructor for class
com.tibco.xml.validation.helpers.ValidatingFilter_InternalCache

ValidatingFilter_InternalCache(XMLReader) - Constructor for class


com.tibco.xml.validation.helpers.ValidatingFilter_InternalCache

ValidationConstraintEngine - class com.tibco.xml.validation.constraints.ValidationConstraintEngine.


Metadata handling engine that dispatches metadata events to the appropriate ConstraintChecker
implementations by namespace.
ValidationConstraintEngine() - Constructor for class
com.tibco.xml.validation.constraints.ValidationConstraintEngine

ValidationControl - class com.tibco.xml.validation.kernel.ValidationControl.

ValidationControl() - Constructor for class com.tibco.xml.validation.kernel.ValidationControl

ValidationFactory - class com.tibco.xml.validation.ValidationFactory.


A factory class to construct XMLValidator and SchemaMap instances.
ValidationKernel - class com.tibco.xml.validation.kernel.ValidationKernel.
Validates the XmlStream against the associated schema type information.
ValidationKernel() - Constructor for class com.tibco.xml.validation.kernel.ValidationKernel

ValidationUtilities - class com.tibco.xml.validation.ValidationUtilities.


A set of static utility methods for performing XML validation.
Validator - class com.tibco.xml.validation.kernel.Validator.
The core XML Validator implementation.
Validator_DOM_Remark_ExternalCache - class
com.tibco.xml.validation.helpers.Validator_DOM_Remark_ExternalCache.
A DOM validator producing XML remarks and employing an external schema cache.
Validator_DOM_Remark_ExternalCache() - Constructor for class
com.tibco.xml.validation.helpers.Validator_DOM_Remark_ExternalCache
Validator_SAX_Error_ExternalCache - class
com.tibco.xml.validation.helpers.Validator_SAX_Error_ExternalCache.
A validator with SAX interfaces but not a SAX Filter, and employing an external schema model
provider.
Validator_SAX_Error_ExternalCache() - Constructor for class
com.tibco.xml.validation.helpers.Validator_SAX_Error_ExternalCache

Validator_SAX_Error_InternalCache - class
com.tibco.xml.validation.helpers.Validator_SAX_Error_InternalCache.
A validator with SAX interfaces but not a SAX Filter, and with an internal schema cache.
Validator_SAX_Error_InternalCache() - Constructor for class
com.tibco.xml.validation.helpers.Validator_SAX_Error_InternalCache

Validator_SAX_Remark_ExternalCache - class
com.tibco.xml.validation.helpers.Validator_SAX_Remark_ExternalCache.
A validator that accepts SAX Content, generates XML remarks, with an external schema cache.
Validator_SAX_Remark_ExternalCache() - Constructor for class
com.tibco.xml.validation.helpers.Validator_SAX_Remark_ExternalCache

Validator_SAX_Remark_InternalCache - class
com.tibco.xml.validation.helpers.Validator_SAX_Remark_InternalCache.
A validator with SAX interfaces but not a SAX Filter, emits XML remarks, and with an internal
schema cache.
Validator_SAX_Remark_InternalCache() - Constructor for class
com.tibco.xml.validation.helpers.Validator_SAX_Remark_InternalCache

Validator() - Constructor for class com.tibco.xml.validation.kernel.Validator

VALUE_TYPE_BINARY - Static variable in interface com.tibco.xml.schema.SmType

VALUE_TYPE_BOOLEAN - Static variable in interface com.tibco.xml.schema.SmType

VALUE_TYPE_CENTURY - Static variable in interface com.tibco.xml.schema.SmType

VALUE_TYPE_CHAR - Static variable in interface com.tibco.xml.schema.SmType


VALUE_TYPE_DATE - Static variable in interface com.tibco.xml.schema.SmType

VALUE_TYPE_DATETIME - Static variable in interface com.tibco.xml.schema.SmType

VALUE_TYPE_DATETIMETZ - Static variable in interface com.tibco.xml.schema.SmType

VALUE_TYPE_DECIMAL - Static variable in interface com.tibco.xml.schema.SmType

VALUE_TYPE_DURATION - Static variable in interface com.tibco.xml.schema.SmType

VALUE_TYPE_FIXED144 - Static variable in interface com.tibco.xml.schema.SmType

VALUE_TYPE_FLOAT - Static variable in interface com.tibco.xml.schema.SmType

VALUE_TYPE_ID - Static variable in interface com.tibco.xml.schema.SmType

VALUE_TYPE_INTEGER - Static variable in interface com.tibco.xml.schema.SmType

VALUE_TYPE_LIST - Static variable in interface com.tibco.xml.schema.SmType

VALUE_TYPE_MONTH - Static variable in interface com.tibco.xml.schema.SmType

VALUE_TYPE_NMTOKEN - Static variable in interface com.tibco.xml.schema.SmType

VALUE_TYPE_QNAME - Static variable in interface com.tibco.xml.schema.SmType

VALUE_TYPE_RECUR_DATE - Static variable in interface com.tibco.xml.schema.SmType

VALUE_TYPE_RECUR_DAY - Static variable in interface com.tibco.xml.schema.SmType

VALUE_TYPE_RECURRING_DURATION - Static variable in interface


com.tibco.xml.schema.SmType

VALUE_TYPE_STRING - Static variable in interface com.tibco.xml.schema.SmType


VALUE_TYPE_TIME - Static variable in interface com.tibco.xml.schema.SmType

VALUE_TYPE_TIME_INSTANCE - Static variable in interface com.tibco.xml.schema.SmType

VALUE_TYPE_TIME_PERIOD - Static variable in interface com.tibco.xml.schema.SmType

VALUE_TYPE_TIMETZ - Static variable in interface com.tibco.xml.schema.SmType

VALUE_TYPE_UNION - Static variable in interface com.tibco.xml.schema.SmType

VALUE_TYPE_URI - Static variable in interface com.tibco.xml.schema.SmType

VALUE_TYPE_YEAR - Static variable in interface com.tibco.xml.schema.SmType

Version - class com.tibco.xml.validation.Version.


Shows the current version number and build date.
visitAttribute(SmAttribute) - Method in interface com.tibco.xml.schema.SmVisitor

visitAttribute(SmAttribute) - Method in class com.tibco.xml.schema.SmVisitor.Default

visitAttributeGroup(SmAttributeGroup) - Method in interface com.tibco.xml.schema.SmVisitor

visitAttributeGroup(SmAttributeGroup) - Method in class com.tibco.xml.schema.SmVisitor.Default

visitComponent(SmComponent) - Method in interface com.tibco.xml.schema.SmVisitor

visitComponent(SmComponent) - Method in class com.tibco.xml.schema.SmVisitor.Default

visitComponentRef(SmComponent) - Method in interface com.tibco.xml.schema.SmVisitor


Visit a named component as a reference.
visitComponentRef(SmComponent) - Method in class com.tibco.xml.schema.SmVisitor.Default

visitDataComponent(SmDataComponent) - Method in interface com.tibco.xml.schema.SmVisitor


visitDataComponent(SmDataComponent) - Method in class com.tibco.xml.schema.SmVisitor.Default

visitElement(SmElement) - Method in interface com.tibco.xml.schema.SmVisitor

visitElement(SmElement) - Method in class com.tibco.xml.schema.SmVisitor.Default

visitIdentityConstraint(SmIdentityConstraint) - Method in interface com.tibco.xml.schema.SmVisitor

visitIdentityConstraint(SmIdentityConstraint) - Method in class


com.tibco.xml.schema.SmVisitor.Default

visitMetaForeignAttribute(SmMetaForeignAttribute) - Method in interface


com.tibco.xml.schema.SmVisitor

visitMetaForeignAttribute(SmMetaForeignAttribute) - Method in class


com.tibco.xml.schema.SmVisitor.Default

visitModelGroup(SmModelGroup) - Method in interface com.tibco.xml.schema.SmVisitor

visitModelGroup(SmModelGroup) - Method in class com.tibco.xml.schema.SmVisitor.Default

visitNotation(SmNotation) - Method in interface com.tibco.xml.schema.SmVisitor

visitNotation(SmNotation) - Method in class com.tibco.xml.schema.SmVisitor.Default

visitParticle(SmParticle) - Method in interface com.tibco.xml.schema.SmVisitor

visitParticle(SmParticle) - Method in class com.tibco.xml.schema.SmVisitor.Default

visitParticleTerm(SmParticleTerm) - Method in interface com.tibco.xml.schema.SmVisitor

visitParticleTerm(SmParticleTerm) - Method in class com.tibco.xml.schema.SmVisitor.Default

visitSchema(SmSchema) - Method in interface com.tibco.xml.schema.SmVisitor


visitSchema(SmSchema) - Method in class com.tibco.xml.schema.SmVisitor.Default

visitType(SmType) - Method in interface com.tibco.xml.schema.SmVisitor

visitType(SmType) - Method in class com.tibco.xml.schema.SmVisitor.Default

visitTypeFacet(SmTypeFacet) - Method in interface com.tibco.xml.schema.SmVisitor

visitTypeFacet(SmTypeFacet) - Method in class com.tibco.xml.schema.SmVisitor.Default

visitWildcard(SmWildcard) - Method in interface com.tibco.xml.schema.SmVisitor

visitWildcard(SmWildcard) - Method in class com.tibco.xml.schema.SmVisitor.Default

W
warning(SAXParseException) - Method in class com.tibco.xml.validation.PrintWriterErrorHandler

warning(SmSchemaError) - Method in interface com.tibco.xml.schema.SmSchemaError.Handler

warning(XmlContext, Locator, Exception, String) - Method in class


com.tibco.xml.validation.kernel.ValidationControl

warning(XmlContext, Locator, Exception, String) - Method in interface


com.tibco.xml.channel.remark.XmlRemarkHandler
Notifies the handler of a warning condition.
warning(XmlContext, Locator, Exception, String) - Method in class
com.tibco.xml.validation.helpers.Validator_SAX_Remark_InternalCache

warning(XmlContext, Locator, Exception, String) - Method in class


com.tibco.xml.validation.helpers.Validator_SAX_Remark_ExternalCache

warning(XmlContext, Locator, Exception, String) - Method in class


com.tibco.xml.validation.helpers.Validator_DOM_Remark_ExternalCache
warning(XmlContext, String) - Method in class
com.tibco.xml.validation.constraints.DefaultConstraintChecker

WILDCARD - Static variable in interface com.tibco.xml.schema.SmIdentityConstraint.Path

WILDCARD_TYPE - Static variable in interface com.tibco.xml.schema.SmComponent

writeAttChars(String) - Method in class com.tibco.xml.processor.XmlStreamSerializer

writeAttribute(String, String) - Method in class com.tibco.xml.processor.C14NSerializer

writeNS(String, String) - Method in class com.tibco.xml.processor.XmlStreamSerializer

writeNS(String, String) - Method in class com.tibco.xml.processor.C14NSerializer

writeRawAttr(String, String, String, String) - Method in class


com.tibco.xml.processor.XmlStreamSerializer
Write a raw attribute in the form affix[prefix:]local="value"
writeSpecialAtt(String, String, String) - Method in class
com.tibco.xml.processor.XmlStreamSerializer
Called for special attributes: xsi or xml Write the :="" attribute and declare the 'xsi' prefix if
necessary.
writeSpecialAtt(String, String, String) - Method in class com.tibco.xml.processor.C14NSerializer
Called for special attributes: xsi or xml Write the :="" attribute and declare the 'xsi' prefix if
necessary.

X
XDR_FILENAME_NAMESPACE_POLICY - Static variable in interface
com.tibco.xml.schema.SmParser
A policy to control automatic derivation of XDR target namespaces.
XML_TYPE_MAXIMUM - Static variable in interface com.tibco.xml.data.node.XmlTypes

XML_TYPE_MINIMUM - Static variable in interface com.tibco.xml.data.node.XmlTypes


XmlContext - interface com.tibco.xml.data.context.XmlContext.
Provides access to data and type information for an attribute or element within an information set.
XmlContextConsumer - interface com.tibco.xml.channel.context.XmlContextConsumer.
Implemented by components that require an XML Context from an XmlContextProvider to
operate.
XmlContextOnXmlCursor - class com.tibco.xml.data.context.helpers.XmlContextOnXmlCursor.

XmlContextOnXmlCursor(XmlCursor) - Constructor for class


com.tibco.xml.data.context.helpers.XmlContextOnXmlCursor

XmlContextProvider - interface com.tibco.xml.channel.context.XmlContextProvider.


Implemented by components that can provide an XML Context through a pull mechanism to an
XmlContextConsumer.
XmlCursor - interface com.tibco.xml.data.cursor.XmlCursor.
Provides access to data and type information for an XML information set item.
XmlCursor4DOM - class com.tibco.xml.data.cursor.helpers.XmlCursor4DOM.

XmlCursor4DOM(Node) - Constructor for class com.tibco.xml.data.cursor.helpers.XmlCursor4DOM

XmlCursorNoNavigation - class com.tibco.xml.data.cursor.helpers.XmlCursorNoNavigation.


A simple XmlCursor helper needed for stream operations.
XmlCursorNoNavigation() - Constructor for class
com.tibco.xml.data.cursor.helpers.XmlCursorNoNavigation

XmlCursorOnXmlContext - class com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext.

XmlCursorOnXmlContext() - Constructor for class


com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext

XmlCursorSupport - class com.tibco.xml.data.cursor.XmlCursorSupport.


XmlCursorSupport contains static utility methods.
XmlCursorSupport() - Constructor for class com.tibco.xml.data.cursor.XmlCursorSupport

XmlNode - interface com.tibco.xml.data.node.XmlNode.


Provides access to data and type information for an attribute or element within an information set.
XmlProps - interface com.tibco.xml.data.node.XmlProps.
XmlReader - interface com.tibco.xml.data.cursor.XmlReader.
A forward-only pull style cursor over an XML information set.
XmlRemarkFilter - interface com.tibco.xml.channel.remark.XmlRemarkFilter.

XmlRemarkHandler - interface com.tibco.xml.channel.remark.XmlRemarkHandler.


Implemented by components that handle XML Remarks.
XmlRemarkSupplier - interface com.tibco.xml.channel.remark.XmlRemarkSupplier.
Implemented by components that supply XML Remarks to one XmlRemarkHandler.
XmlRemarkSupplierMulticast - interface
com.tibco.xml.channel.remark.XmlRemarkSupplierMulticast.
Implemented by components that supply XML Remarks to multiple XmlRemarkHandler(s).
XmlStream2DOM - class com.tibco.xml.processor.XmlStream2DOM.
Performs conversion from an XML stream to a document.
XmlStream2DOM() - Constructor for class com.tibco.xml.processor.XmlStream2DOM

XmlStreamCompiler - class com.tibco.xml.processor.XmlStreamCompiler.


Compiles Simple Types in an XML stream to user-defined types derived from XmlValue through
the plug-in SimpleTypeCompiler mechanism.
XmlStreamCompiler.XmlStreamCompilerContext - class
com.tibco.xml.processor.XmlStreamCompiler.XmlStreamCompilerContext.

XmlStreamCompiler.XmlStreamCompilerContext(XmlStreamCompiler) - Constructor for class


com.tibco.xml.processor.XmlStreamCompiler.XmlStreamCompilerContext

XmlStreamCompiler() - Constructor for class com.tibco.xml.processor.XmlStreamCompiler


The default mode of operation is to mutate the stream by substituting simple type values.
XmlStreamCompiler(boolean) - Constructor for class com.tibco.xml.processor.XmlStreamCompiler
Enables this class to be constructed in such a way that mutation of the stream by substituting
simple type values is configurable.
XmlStreamEnhancer - class com.tibco.xml.processor.XmlStreamEnhancer.
Performs conversion from a basic XML Stream to an XML Stream with Schema Information.
XmlStreamEnhancer() - Constructor for class com.tibco.xml.processor.XmlStreamEnhancer

XmlStreamFilter - interface com.tibco.xml.channel.stream.XmlStreamFilter.


XmlStreamHandler - interface com.tibco.xml.channel.stream.XmlStreamHandler.
Implemented by components that process XML Stream events.
XmlStreamMulticastHelper - class com.tibco.xml.channel.stream.helpers.XmlStreamMulticastHelper.
This class helps classes to support XmlStreamSupplier by managing the set of
XmlStreamHandler(s) and iteration over them when events need to be broadcast.
XmlStreamMulticastHelper() - Constructor for class
com.tibco.xml.channel.stream.helpers.XmlStreamMulticastHelper

XmlStreamParser - class com.tibco.xml.processor.XmlStreamParser.

XmlStreamParser() - Constructor for class com.tibco.xml.processor.XmlStreamParser

XmlStreamProfiler - class com.tibco.xml.channel.stream.helpers.XmlStreamProfiler.

XmlStreamProfiler() - Constructor for class com.tibco.xml.channel.stream.helpers.XmlStreamProfiler

XmlStreamSerializer - class com.tibco.xml.processor.XmlStreamSerializer.


An XmlStreamHandler serializing the stream into an XML document using the Writer or
OutputStream passed to the constructor.
XmlStreamSerializer(OutputStream, String) - Constructor for class
com.tibco.xml.processor.XmlStreamSerializer
Create a serializer of the XmlStream events.
XmlStreamSerializer(Writer) - Constructor for class com.tibco.xml.processor.XmlStreamSerializer
Create a serializer of the XmlStream events.
XmlStreamSimplEx - class com.tibco.xml.processor.XmlStreamSimplEx.
Simple Type Extended Validation (SimpleEx).
XmlStreamSimplEx.XmlStreamCompilerContext - class
com.tibco.xml.processor.XmlStreamSimplEx.XmlStreamCompilerContext.

XmlStreamSimplEx.XmlStreamCompilerContext(XmlStreamSimplEx) - Constructor for class


com.tibco.xml.processor.XmlStreamSimplEx.XmlStreamCompilerContext

XmlStreamSimplEx() - Constructor for class com.tibco.xml.processor.XmlStreamSimplEx

XmlStreamSupplier - interface com.tibco.xml.channel.stream.XmlStreamSupplier.


Implemented by components that supply an XML Stream to XmlStreamHandler(s).
XmlStreamSupplierMulticast - interface com.tibco.xml.channel.stream.XmlStreamSupplierMulticast.
Implemented by components that supply XML Stream events to multiple XmlStreamHandler(s).
XmlStreamTermination - class com.tibco.xml.channel.stream.helpers.XmlStreamTermination.

XmlStreamTermination() - Constructor for class


com.tibco.xml.channel.stream.helpers.XmlStreamTermination

XmlStreamTracer - class com.tibco.xml.channel.stream.helpers.XmlStreamTracer.

XmlStreamTracer() - Constructor for class com.tibco.xml.channel.stream.helpers.XmlStreamTracer

XmlStreamUtilities - class com.tibco.xml.channel.stream.helpers.XmlStreamUtilities.

XmlStreamUtilities() - Constructor for class com.tibco.xml.channel.stream.helpers.XmlStreamUtilities

XmlStringValue - class com.tibco.xml.data.cursor.helpers.XmlStringValue.


Simple wrapper around String to implement XmlValue
XmlStringValue(String) - Constructor for class com.tibco.xml.data.cursor.helpers.XmlStringValue

XmlTypes - interface com.tibco.xml.data.node.XmlTypes.

XMLValidationException - exception com.tibco.xml.validation.XMLValidationException.


An exception indicating a violation of a schema validation constraint.
XMLValidationException(String) - Constructor for class
com.tibco.xml.validation.XMLValidationException

XMLValidator - interface com.tibco.xml.validation.XMLValidator.


An XMLFilter that performs schema validation on the SAX2 ContentHandler event stream.
XMLValidatorFilterImplMk1 - class com.tibco.xml.validation.helpers.XMLValidatorFilterImplMk1.
XML Validate XML Filter based upon the version 2.0 validation components but using the
SchemaMap for caching schemas.
XMLValidatorFilterImplMk1() - Constructor for class
com.tibco.xml.validation.helpers.XMLValidatorFilterImplMk1

XMLValidatorFilterImplMk1(XMLReader) - Constructor for class


com.tibco.xml.validation.helpers.XMLValidatorFilterImplMk1

XmlValue - interface com.tibco.xml.data.node.XmlValue.


XmlValue is the representation of a simple type in an XML information set.
xpath2Str(PrefixMap, SmIdentityConstraint.Path) - Static method in class
com.tibco.xml.schema.SmSupport
Convert an SmIdentityConstraint.Path to an xpath expression
XPathHelper - class com.tibco.xml.data.context.helpers.XPathHelper.

XPathHelper() - Constructor for class com.tibco.xml.data.context.helpers.XPathHelper

ABCDEFGHIKLMNOPQRSTUVWX
Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

How This API Document Is Organized


This API (Application Programming Interface) document has pages corresponding to the items in the
navigation bar, described as follows.

Overview
The Overview page is the front page of this API document and provides a list of all
packages with a summary for each. This page can also contain an overall description of the
set of packages.

Package
Each package has a page that contains a list of its classes and interfaces, with a summary for
each. This page can contain four categories:
● Interfaces (italic)

● Classes

● Exceptions

● Errors

Class/Interface
Each class, interface, inner class and inner interface has its own separate page. Each of these
pages has three sections consisting of a class/interface description, summary tables, and
detailed member descriptions:
● Class inheritance diagram

● Direct Subclasses

● All Known Subinterfaces

● All Known Implementing Classes

● Class/interface declaration

● Class/interface description

● Inner Class Summary

● Field Summary

● Constructor Summary

● Method Summary

● Field Detail
● Constructor Detail
● Method Detail

Each summary entry contains the first sentence from the detailed description for that item.
The summary entries are alphabetical, while the detailed descriptions are in the order they
appear in the source code. This preserves the logical groupings established by the
programmer.

Use
Each documented package, class and interface has its own Use page. This page describes
what packages, classes, methods, constructors and fields use any part of the given class or
package. Given a class or interface A, its Use page includes subclasses of A, fields declared
as A, methods that return A, and methods and constructors with parameters of type A. You
can access this page by first going to the package, class or interface, then clicking on the
"Use" link in the navigation bar.

Tree (Class Hierarchy)


There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each
hierarchy page contains a list of classes and a list of interfaces. The classes are organized by
inheritance structure starting with java.lang.Object. The interfaces do not inherit
from java.lang.Object.
● When viewing the Overview page, clicking on "Tree" displays the hierarchy for all
packages.
● When viewing a particular package, class or interface page, clicking "Tree" displays
the hierarchy for only that package.

Deprecated API
The Deprecated API page lists all of the API that have been deprecated. A deprecated API is
not recommended for use, generally due to improvements, and a replacement API is usually
given. Deprecated APIs may be removed in future implementations.

Index
The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and
fields.

Prev/Next
These links take you to the next or previous class, interface, package, or related page.
Frames/No Frames
These links show and hide the HTML frames. All pages are available with or without frames.

Serialized Form
Each serializable or externalizable class has a description of its serialization fields and methods. This
information is of interest to re-implementors, not to developers using the API. While there is no link in
the navigation bar, you can get to this information by going to any serialized class and clicking
"Serialized Form" in the "See also" section of the class description.
This help file applies to API documentation generated using the standard doclet.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.adjuncts.channel.AdjunctHandler
Packages that use AdjunctHandler
com.tibco.xml.adjuncts.channel Provisioning of schema adjuncts.

com.tibco.xml.validation.kernel Validation components that may be used to assemble a specialized


validator.

Uses of AdjunctHandler in com.tibco.xml.adjuncts.channel

Methods in com.tibco.xml.adjuncts.channel with parameters of type AdjunctHandler


void AdjunctSupplier.setAdjunctHandler(AdjunctHandler handler)

Uses of AdjunctHandler in com.tibco.xml.validation.kernel

Classes in com.tibco.xml.validation.kernel that implement AdjunctHandler


class DefaultAdjunctCache
Maps namespaceURI to an Adjunct (Document).

Methods in com.tibco.xml.validation.kernel with parameters of type AdjunctHandler


void DefaultAdjunctSupplier.setAdjunctHandler(AdjunctHandler handler)
Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.adjuncts.channel.AdjunctProvider
Packages that use AdjunctProvider
com.tibco.xml.adjuncts.channel Provisioning of schema adjuncts.
Validation components that may be used to assemble a
com.tibco.xml.validation.kernel
specialized validator.

com.tibco.xml.validation.scripting A mechanism for extending standard validation using XML


Processing Language (XPL) script.

Uses of AdjunctProvider in com.tibco.xml.adjuncts.channel

Methods in com.tibco.xml.adjuncts.channel with parameters of type AdjunctProvider


void AdjunctConsumer.setAdjunctProvider(AdjunctProvider provider)

Uses of AdjunctProvider in com.tibco.xml.validation.kernel

Classes in com.tibco.xml.validation.kernel that implement AdjunctProvider


class DefaultAdjunctCache
Maps namespaceURI to an Adjunct (Document).

Methods in com.tibco.xml.validation.kernel with parameters of type AdjunctProvider


void DefaultAdjunctSupplier.setAdjunctProvider(AdjunctProvider provider)
Uses of AdjunctProvider in
com.tibco.xml.validation.scripting

Methods in com.tibco.xml.validation.scripting with parameters of type AdjunctProvider


void ScriptingValidatorMk1.setAdjunctProvider(AdjunctProvider provider)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.adjuncts.channel.AdjunctSupplier
Packages that use AdjunctSupplier
com.tibco.xml.validation.kernel Validation components that may be used to assemble a specialized
validator.

Uses of AdjunctSupplier in com.tibco.xml.validation.kernel

Classes in com.tibco.xml.validation.kernel that implement AdjunctSupplier


class DefaultAdjunctSupplier
Supplies adjunct Document(s) when driven by Location Hints.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.processor.Aggregate
No usage of com.tibco.xml.processor.Aggregate

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Hierarchy For Package com.tibco.xml.processor


Package Hierarchies:
All Packages

Class Hierarchy
❍ class java.lang.Object
❍ class com.tibco.xml.processor.Aggregate (implements
com.tibco.xml.channel.content.ContentConsumer,
com.tibco.xml.channel.dom.DocumentConsumer, com.tibco.xml.runtime.IBlackBox,
com.tibco.xml.runtime.IConfigurable, com.tibco.xml.runtime.IContextConsumer)
❍ class com.tibco.xml.processor.DOM2Content (implements
com.tibco.xml.channel.content.ContentSupplier, com.tibco.xml.channel.dom.DOMHandler,
com.tibco.xml.runtime.IBlackBox)
❍ class com.tibco.xml.processor.DOM2XmlStream (implements
com.tibco.xml.channel.dom.DOMHandler, com.tibco.xml.runtime.IBlackBox,
com.tibco.xml.channel.node.NodeProvider,
com.tibco.xml.channel.stream.XmlStreamSupplier)
❍ class com.tibco.xml.processor.SAXContent2DOM (implements
org.xml.sax.ContentHandler, com.tibco.xml.channel.dom.DOMSupplier,
com.tibco.xml.runtime.IBlackBox, org.xml.sax.ext.LexicalHandler)
❍ class com.tibco.xml.processor.SAXContent2XmlStream (implements
com.tibco.xml.channel.content.ContentFilter,
com.tibco.xml.channel.boundary.DocumentBoundarySupplier,
com.tibco.xml.runtime.IBlackBox, com.tibco.xml.channel.remark.XmlRemarkSupplier,
com.tibco.xml.channel.stream.XmlStreamSupplier)
❍ class com.tibco.xml.processor.SAXContent2XmlStream.SAXContent2XmlKernel
(implements com.tibco.xml.channel.content.ContentFilter,
com.tibco.xml.channel.boundary.DocumentBoundarySupplier,
com.tibco.xml.channel.remark.XmlRemarkSupplier,
com.tibco.xml.channel.stream.XmlStreamSupplier)
❍ class com.tibco.xml.processor.SAXContentNormalizer (implements
com.tibco.xml.channel.content.ContentFilter, com.tibco.xml.runtime.IBlackBox)
❍ class com.tibco.xml.processor.XmlStream2DOM (implements
com.tibco.xml.channel.dom.DOMSupplier, com.tibco.xml.runtime.IBlackBox,
com.tibco.xml.channel.stream.XmlStreamHandler)
❍ class com.tibco.xml.processor.XmlStreamCompiler (implements
com.tibco.xml.channel.simpletypecompiler.SimpleTypeCompilerConsumer,
com.tibco.xml.channel.remark.XmlRemarkSupplier,
com.tibco.xml.channel.stream.XmlStreamFilter)
❍ class com.tibco.xml.processor.XmlStreamCompiler.XmlStreamCompilerContext
(implements com.tibco.xml.channel.simpletypecompiler.SimpleTypeCompilerConsumer,
com.tibco.xml.channel.remark.XmlRemarkSupplier,
com.tibco.xml.channel.stream.XmlStreamHandler)
❍ class com.tibco.xml.processor.XmlStreamEnhancer (implements
com.tibco.xml.runtime.IBlackBox, com.tibco.xml.schema.channel.SchemaModelConsumer,
com.tibco.xml.channel.remark.XmlRemarkSupplier,
com.tibco.xml.channel.stream.XmlStreamHandler,
com.tibco.xml.channel.stream.XmlStreamSupplier)
❍ class com.tibco.xml.processor.XmlStreamParser (implements
com.tibco.xml.channel.entity.EntityConsumer,
com.tibco.xml.validation.channel.LocationHintSupplier,
com.tibco.xml.channel.remark.XmlRemarkSupplier,
com.tibco.xml.channel.stream.XmlStreamSupplier)
❍ class com.tibco.xml.processor.XmlStreamSerializer (implements
com.tibco.xml.channel.stream.XmlStreamHandler)
❍ class com.tibco.xml.processor.C14NSerializer
❍ class com.tibco.xml.processor.XmlStreamSimplEx (implements
com.tibco.xml.channel.simpletypecompiler.SimpleTypeCompilerConsumer,
com.tibco.xml.channel.remark.XmlRemarkSupplier,
com.tibco.xml.channel.stream.XmlStreamFilter)
❍ class com.tibco.xml.processor.XmlStreamSimplEx.XmlStreamCompilerContext
(implements com.tibco.xml.channel.simpletypecompiler.SimpleTypeCompilerConsumer,
com.tibco.xml.channel.remark.XmlRemarkSupplier,
com.tibco.xml.channel.stream.XmlStreamHandler)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.runtime.data.BooleanHandler
Packages that use BooleanHandler
com.tibco.xml.runtime.data This package contains some standard "channel" interfaces for XML
Runtime.

Uses of BooleanHandler in com.tibco.xml.runtime.data

Methods in com.tibco.xml.runtime.data with parameters of type BooleanHandler


void BooleanSupplier.addBooleanHandler(BooleanHandler handler)

void BooleanSupplier.removeBooleanHandler(BooleanHandler handler)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Hierarchy For Package com.tibco.xml.runtime.data


Package Hierarchies:
All Packages

Class Hierarchy
❍ class java.lang.Object
❍ class com.tibco.xml.runtime.data.Entity

Interface Hierarchy
❍ interface com.tibco.xml.runtime.data.BooleanHandler
❍ interface com.tibco.xml.runtime.data.BooleanSupplier
❍ interface com.tibco.xml.runtime.data.DocumentLocatorConsumer
❍ interface com.tibco.xml.runtime.data.DocumentLocatorProvider
❍ interface com.tibco.xml.runtime.data.DTDSupplier
❍ interface com.tibco.xml.runtime.data.StringHandler
❍ interface com.tibco.xml.runtime.data.StringSupplier
❍ interface com.tibco.xml.runtime.data.UriHandler
❍ interface com.tibco.xml.runtime.data.UriSupplier
❍ interface com.tibco.xml.runtime.data.UrlHandler
❍ interface com.tibco.xml.runtime.data.UrlSupplier

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.runtime.data.BooleanSupplier
No usage of com.tibco.xml.runtime.data.BooleanSupplier

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.processor.C14NSerializer
No usage of com.tibco.xml.processor.C14NSerializer

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.validation.constraints.ConstraintChecker
Packages that use ConstraintChecker
com.tibco.xml.validation.constraints A mechanism for adding custom constraints to the validator.

Uses of ConstraintChecker in
com.tibco.xml.validation.constraints

Classes in com.tibco.xml.validation.constraints that implement ConstraintChecker


class DefaultConstraintChecker
Default implementation of ConstraintChecker.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Hierarchy For Package


com.tibco.xml.validation.constraints
Package Hierarchies:
All Packages

Class Hierarchy
❍ class java.lang.Object
❍ class com.tibco.xml.adjuncts.streaming.DefaultMetadataTagHandler (implements
com.tibco.xml.adjuncts.streaming.MetadataTagHandler)
❍ class com.tibco.xml.validation.constraints.DefaultConstraintChecker (implements
com.tibco.xml.validation.constraints.ConstraintChecker)
❍ class com.tibco.xml.channel.stream.helpers.DefaultXmlStreamHandler (implements
com.tibco.xml.channel.stream.XmlStreamHandler,
com.tibco.xml.channel.stream.XmlStreamSupplier)
❍ class com.tibco.xml.adjuncts.streaming.MetadataEngine
❍ class com.tibco.xml.validation.constraints.ValidationConstraintEngine
(implements com.tibco.xml.channel.remark.XmlRemarkSupplier)
❍ class java.lang.Throwable (implements java.io.Serializable)
❍ class java.lang.Exception

❍ class com.tibco.xml.validation.constraints.DefaultConstraintViolation

Interface Hierarchy
❍ interface com.tibco.xml.adjuncts.streaming.MetadataNamespaceHandler
❍ interface com.tibco.xml.validation.constraints.ConstraintChecker (also extends
com.tibco.xml.channel.remark.XmlRemarkSupplier)
❍ interface com.tibco.xml.channel.remark.XmlRemarkSupplier
❍ interface com.tibco.xml.validation.constraints.ConstraintChecker (also extends
com.tibco.xml.adjuncts.streaming.MetadataNamespaceHandler)
Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.channel.content.ContentConsumer
Packages that use ContentConsumer
com.tibco.xml.processor Processors for manipulating XML information sets.

Uses of ContentConsumer in com.tibco.xml.processor

Classes in com.tibco.xml.processor that implement ContentConsumer


class Aggregate

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Hierarchy For Package


com.tibco.xml.channel.content
Package Hierarchies:
All Packages

Interface Hierarchy
❍ interface com.tibco.xml.channel.content.ContentConsumer
❍ interface org.xml.sax.ContentHandler
❍ interface com.tibco.xml.channel.content.ContentFilter (also extends
com.tibco.xml.channel.content.ContentSupplier)
❍ interface com.tibco.xml.channel.content.ContentProvider
❍ interface com.tibco.xml.channel.content.ContentSupplier
❍ interface com.tibco.xml.channel.content.ContentFilter (also extends
org.xml.sax.ContentHandler)
❍ interface com.tibco.xml.channel.content.ContentSupplierMulticast

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.channel.content.ContentFilter
Packages that use ContentFilter
com.tibco.xml.processor Processors for manipulating XML information sets.
com.tibco.xml.validation.helpers Ready-to-use validation patterns.

com.tibco.xml.validation.kernel Validation components that may be used to assemble a specialized


validator.

Uses of ContentFilter in com.tibco.xml.processor

Classes in com.tibco.xml.processor that implement ContentFilter


class SAXContent2XmlStream
Performs conversion from SAX Content to an untyped XML Stream.
class SAXContent2XmlStream.SAXContent2XmlKernel
The internal helper class that actually does all the work.
class SAXContentNormalizer
Performs normalization of SAX Content.

Uses of ContentFilter in com.tibco.xml.validation.helpers

Classes in com.tibco.xml.validation.helpers that implement ContentFilter


class Validator_SAX_Remark_ExternalCache
A validator that accepts SAX Content, generates XML remarks, with an external
schema cache.
Uses of ContentFilter in com.tibco.xml.validation.kernel

Classes in com.tibco.xml.validation.kernel that implement ContentFilter


class SAXLocationHintSupplier
Extracts schema location and document hints from a SAX stream and provides them to
listeners.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.processor
Class
SAXContent2XmlStream.SAXContent2XmlKernel

java.lang.Object
|
+--com.tibco.xml.processor.SAXContent2XmlStream.SAXContent2XmlKernel
All Implemented Interfaces:
ContentFilter, org.xml.sax.ContentHandler, ContentSupplier, DocumentBoundarySupplier,
XmlRemarkSupplier, XmlStreamSupplier
Enclosing class:
SAXContent2XmlStream

public class SAXContent2XmlStream.SAXContent2XmlKernel


extends java.lang.Object
implements ContentFilter, XmlStreamSupplier, DocumentBoundarySupplier, XmlRemarkSupplier
The internal helper class that actually does all the work. The architecture is layered this way so that
normalization can be applied to the incoming stream prior to being processed by this component.

Constructor Summary
SAXContent2XmlStream.SAXContent2XmlKernel()

Method Summary
void addDocumentBoundaryHandler(DocumentBoundaryHandler handler)

void characters(char[] ch, int start, int length)

void endDocument()
void endElement(java.lang.String namespaceURI,
java.lang.String localName, java.lang.String qName)

void endPrefixMapping(java.lang.String prefix)

void ignorableWhitespace(char[] ch, int start, int length)

void processingInstruction(java.lang.String target,


java.lang.String data)

void removeDocumentBoundaryHandler(DocumentBoundaryHandler handler)

void setContentHandler(org.xml.sax.ContentHandler handler)


Allows an application to register and unregister a ContentHandler for this supplier.
void setDocumentLocator(org.xml.sax.Locator locator)

void setXmlRemarkHandler(XmlRemarkHandler handler)


Allows an application to register and unregister an XmlRemarkHandler for this supplier.
void setXmlStreamHandler(XmlStreamHandler handler)
Allows an application to register an XmlStreamHandler for this supplier.
void skippedEntity(java.lang.String name)

void startDocument()

void startElement(java.lang.String elementNS,


java.lang.String elementLN, java.lang.String elementQN,
org.xml.sax.Attributes atts)

void startPrefixMapping(java.lang.String prefix,


java.lang.String uri)

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait
Constructor Detail
SAXContent2XmlStream.SAXContent2XmlKernel

public SAXContent2XmlStream.SAXContent2XmlKernel()

Method Detail
setXmlStreamHandler

public 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.

addDocumentBoundaryHandler

public void addDocumentBoundaryHandler(DocumentBoundaryHandler handler)


Specified by:
addDocumentBoundaryHandler in interface DocumentBoundarySupplier

removeDocumentBoundaryHandler

public void removeDocumentBoundaryHandler(DocumentBoundaryHandler handler)


Specified by:
removeDocumentBoundaryHandler in interface DocumentBoundarySupplier

setDocumentLocator

public void setDocumentLocator(org.xml.sax.Locator locator)


Specified by:
setDocumentLocator in interface org.xml.sax.ContentHandler

startDocument

public void startDocument()


throws org.xml.sax.SAXException
Specified by:
startDocument in interface org.xml.sax.ContentHandler

endDocument

public void endDocument()


throws org.xml.sax.SAXException
Specified by:
endDocument in interface org.xml.sax.ContentHandler

startPrefixMapping

public void startPrefixMapping(java.lang.String prefix,


java.lang.String uri)
throws org.xml.sax.SAXException
Specified by:
startPrefixMapping in interface org.xml.sax.ContentHandler

endPrefixMapping

public void endPrefixMapping(java.lang.String prefix)


throws org.xml.sax.SAXException
Specified by:
endPrefixMapping in interface org.xml.sax.ContentHandler

startElement

public void startElement(java.lang.String elementNS,


java.lang.String elementLN,
java.lang.String elementQN,
org.xml.sax.Attributes atts)
throws org.xml.sax.SAXException
Specified by:
startElement in interface org.xml.sax.ContentHandler

endElement

public void endElement(java.lang.String namespaceURI,


java.lang.String localName,
java.lang.String qName)
throws org.xml.sax.SAXException
Specified by:
endElement in interface org.xml.sax.ContentHandler

characters

public void characters(char[] ch,


int start,
int length)
throws org.xml.sax.SAXException
Specified by:
characters in interface org.xml.sax.ContentHandler

ignorableWhitespace

public void ignorableWhitespace(char[] ch,


int start,
int length)
throws org.xml.sax.SAXException
Specified by:
ignorableWhitespace in interface org.xml.sax.ContentHandler

processingInstruction

public void processingInstruction(java.lang.String target,


java.lang.String data)
throws org.xml.sax.SAXException
Specified by:
processingInstruction in interface org.xml.sax.ContentHandler

setContentHandler

public 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.

skippedEntity

public void skippedEntity(java.lang.String name)


Specified by:
skippedEntity in interface org.xml.sax.ContentHandler

setXmlRemarkHandler

public 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.

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.channel.content.ContentProvider
Packages that use ContentProvider
com.tibco.xml.channel.content SAX content information channels.
com.tibco.xml.processor Processors for manipulating XML information sets.

Uses of ContentProvider in com.tibco.xml.channel.content

Methods in com.tibco.xml.channel.content with parameters of type ContentProvider


void ContentConsumer.setContentProvider(ContentProvider provider)

Uses of ContentProvider in com.tibco.xml.processor

Methods in com.tibco.xml.processor with parameters of type ContentProvider


void Aggregate.setContentProvider(ContentProvider provider)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.channel.content.ContentSupplier
Packages that use ContentSupplier
com.tibco.xml.channel.content SAX content information channels.
com.tibco.xml.processor Processors for manipulating XML information sets.
com.tibco.xml.validation.helpers Ready-to-use validation patterns.
Validation components that may be used to assemble a
com.tibco.xml.validation.kernel
specialized validator.

com.tibco.xml.validation.scripting A mechanism for extending standard validation using XML


Processing Language (XPL) script.

Uses of ContentSupplier in com.tibco.xml.channel.content

Subinterfaces of ContentSupplier in com.tibco.xml.channel.content


interface ContentFilter
Implemented by components that handle and supply SAX Content.

Uses of ContentSupplier in com.tibco.xml.processor

Classes in com.tibco.xml.processor that implement ContentSupplier


class DOM2Content
Traverses a Document to generate SAX Content.
class SAXContent2XmlStream
Performs conversion from SAX Content to an untyped XML Stream.
class SAXContent2XmlStream.SAXContent2XmlKernel
The internal helper class that actually does all the work.
class SAXContentNormalizer
Performs normalization of SAX Content.

Uses of ContentSupplier in
com.tibco.xml.validation.helpers

Classes in com.tibco.xml.validation.helpers that implement ContentSupplier


class Validator_SAX_Error_ExternalCache
A validator with SAX interfaces but not a SAX Filter, and employing an external
schema model provider.
class Validator_SAX_Error_InternalCache
A validator with SAX interfaces but not a SAX Filter, and with an internal schema
cache.
class Validator_SAX_Remark_ExternalCache
A validator that accepts SAX Content, generates XML remarks, with an external
schema cache.
class Validator_SAX_Remark_InternalCache
A validator with SAX interfaces but not a SAX Filter, emits XML remarks, and with an
internal schema cache.

Uses of ContentSupplier in com.tibco.xml.validation.kernel

Classes in com.tibco.xml.validation.kernel that implement ContentSupplier


class SAXLocationHintSupplier
Extracts schema location and document hints from a SAX stream and provides them to
listeners.

Uses of ContentSupplier in
com.tibco.xml.validation.scripting
Classes in com.tibco.xml.validation.scripting that implement ContentSupplier
class ScriptingAdjunctValidator

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.channel.content.ContentSupplierMulticast
No usage of com.tibco.xml.channel.content.ContentSupplierMulticast

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.validation.kernel.DefaultAdjunctCache
No usage of com.tibco.xml.validation.kernel.DefaultAdjunctCache

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Hierarchy For Package


com.tibco.xml.validation.kernel
Package Hierarchies:
All Packages

Class Hierarchy
❍ class java.lang.Object
❍ class com.tibco.xml.validation.kernel.DefaultAdjunctCache (implements
com.tibco.xml.adjuncts.channel.AdjunctHandler,
com.tibco.xml.adjuncts.channel.AdjunctProvider,
com.tibco.xml.channel.boundary.DocumentBoundaryHandler,
com.tibco.xml.runtime.IBlackBox)
❍ class com.tibco.xml.validation.kernel.DefaultAdjunctSupplier (implements
com.tibco.xml.adjuncts.channel.AdjunctConsumer,
com.tibco.xml.adjuncts.channel.AdjunctSupplier,
com.tibco.xml.channel.error.ErrorSupplier,
com.tibco.xml.channel.typeuri.TypeURIHandler)
❍ class com.tibco.xml.validation.kernel.DefaultNamespaceConverter (implements
com.tibco.xml.validation.channel.LocationHintHandler,
com.tibco.xml.schema.channel.SchemaModelConsumer,
com.tibco.xml.schema.channel.SchemaModelHandler,
com.tibco.xml.schema.channel.SchemaModelProvider,
com.tibco.xml.schema.channel.SchemaModelSupplier)
❍ class com.tibco.xml.validation.kernel.DefaultSchemaCache (implements
com.tibco.xml.channel.boundary.DocumentBoundaryHandler,
com.tibco.xml.runtime.IBlackBox, com.tibco.xml.schema.channel.SchemaModelConsumer,
com.tibco.xml.schema.channel.SchemaModelHandler,
com.tibco.xml.schema.channel.SchemaModelProvider)
❍ class com.tibco.xml.validation.kernel.DefaultSchemaSupplier (implements
com.tibco.xml.channel.entity.EntityConsumer, com.tibco.xml.runtime.IBlackBox,
com.tibco.xml.validation.channel.LocationHintHandler,
com.tibco.xml.channel.property.PropertyConsumer,
com.tibco.xml.schema.channel.SchemaModelConsumer,
com.tibco.xml.schema.channel.SchemaModelSupplier,
com.tibco.xml.channel.remark.XmlRemarkSupplier)
❍ class com.tibco.xml.channel.stream.helpers.DefaultXmlStreamHandler (implements
com.tibco.xml.channel.stream.XmlStreamHandler,
com.tibco.xml.channel.stream.XmlStreamSupplier)
❍ class com.tibco.xml.validation.kernel.ValidationKernel (implements
com.tibco.xml.runtime.IBlackBox,
com.tibco.xml.channel.remark.XmlRemarkSupplier,
com.tibco.xml.channel.stream.XmlStreamHandler,
com.tibco.xml.channel.stream.XmlStreamSupplier)
❍ class com.tibco.xml.validation.kernel.NativeSchemaProvider (implements
com.tibco.xml.runtime.IBlackBox, com.tibco.xml.schema.channel.SchemaModelProvider)
❍ class com.tibco.xml.validation.kernel.SAXLocationHintSupplier (implements
com.tibco.xml.channel.content.ContentFilter, com.tibco.xml.channel.entity.EntityConsumer,
org.xml.sax.EntityResolver, com.tibco.xml.runtime.IBlackBox,
com.tibco.xml.validation.channel.LocationHintSupplier,
com.tibco.xml.channel.property.PropertyConsumer,
com.tibco.xml.channel.typeuri.TypeURISupplier)
❍ class com.tibco.xml.validation.kernel.ValidationControl (implements
com.tibco.xml.channel.boundary.DocumentBoundaryHandler,
com.tibco.xml.runtime.IBlackBox, com.tibco.xml.channel.remark.XmlRemarkHandler,
com.tibco.xml.channel.remark.XmlRemarkSupplier)
❍ class com.tibco.xml.validation.kernel.Validator (implements org.xml.sax.ContentHandler,
com.tibco.xml.channel.entity.EntityConsumer, org.xml.sax.EntityResolver,
com.tibco.xml.validation.channel.LocationHintSupplier,
com.tibco.xml.schema.channel.SchemaModelConsumer,
com.tibco.xml.channel.remark.XmlRemarkSupplier,
com.tibco.xml.channel.stream.XmlStreamSupplier)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.validation.kernel.DefaultAdjunctSupplier
No usage of com.tibco.xml.validation.kernel.DefaultAdjunctSupplier

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.validation.constraints.DefaultConstraintChecker
No usage of com.tibco.xml.validation.constraints.DefaultConstraintChecker

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.validation.constraints.DefaultConstraintViolation
No usage of com.tibco.xml.validation.constraints.DefaultConstraintViolation

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Serialized Form

Package com.tibco.xml.data.cursor
Class com.tibco.xml.data.cursor.UndefinedPropertyException
implements Serializable

Package com.tibco.xml.data.primitive
Class
com.tibco.xml.data.primitive.NamespaceToPrefixResolver.NamespaceNotFoundException
implements Serializable
Serialized Fields
m_namespaceURI

java.lang.String m_namespaceURI

Class
com.tibco.xml.data.primitive.PrefixToNamespaceResolver.PrefixNotFoundException
implements Serializable
Serialized Fields
m_prefix

java.lang.String m_prefix

Class com.tibco.xml.data.primitive.UnsupportedAxisException
implements Serializable

Package com.tibco.xml.runtime
Class com.tibco.xml.runtime.MissingConnectionException implements
Serializable

Package com.tibco.xml.schema
Class com.tibco.xml.schema.SmException implements Serializable
Serialized Fields
m_culprit

java.lang.Exception m_culprit

Class com.tibco.xml.schema.SmVisitor.Failure implements


Serializable
Class com.tibco.xml.schema.SmVisitor.Result implements Serializable
Serialized Fields
m_component

SmComponent m_component

Class com.tibco.xml.schema.SmVisitor.Success implements


Serializable

Package com.tibco.xml.validation
Class com.tibco.xml.validation.SchemaException implements
Serializable
Class com.tibco.xml.validation.XMLValidationException implements
Serializable

Package com.tibco.xml.validation.constraints
Class com.tibco.xml.validation.constraints.DefaultConstraintViolation
implements Serializable

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.validation.kernel.DefaultNamespaceConverter
No usage of com.tibco.xml.validation.kernel.DefaultNamespaceConverter

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.validation.kernel.DefaultSchemaCache
No usage of com.tibco.xml.validation.kernel.DefaultSchemaCache

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.validation.kernel.DefaultSchemaSupplier
No usage of com.tibco.xml.validation.kernel.DefaultSchemaSupplier

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.channel.stream.helpers.DefaultXmlStreamHandler
Packages that use DefaultXmlStreamHandler
com.tibco.xml.adjuncts.streaming A mechanism for associating metadata with an XML Stream.
com.tibco.xml.validation.constraints A mechanism for adding custom constraints to the validator.
Validation components that may be used to assemble a
com.tibco.xml.validation.kernel
specialized validator.

Uses of DefaultXmlStreamHandler in
com.tibco.xml.adjuncts.streaming

Subclasses of DefaultXmlStreamHandler in com.tibco.xml.adjuncts.streaming


class com.tibco.xml.adjuncts.streaming.MetadataEngine
An engine for generating metadata association events based upon schema adjuncts and
an input XML stream.\

Uses of DefaultXmlStreamHandler in
com.tibco.xml.validation.constraints

Subclasses of DefaultXmlStreamHandler in com.tibco.xml.validation.constraints


class ValidationConstraintEngine
Metadata handling engine that dispatches metadata events to the appropriate
ConstraintChecker implementations by namespace.

Uses of DefaultXmlStreamHandler in
com.tibco.xml.validation.kernel

Subclasses of DefaultXmlStreamHandler in com.tibco.xml.validation.kernel


class ValidationKernel
Validates the XmlStream against the associated schema type information.
Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Hierarchy For Package


com.tibco.xml.channel.stream.helpers
Package Hierarchies:
All Packages

Class Hierarchy
❍ class java.lang.Object
❍ class com.tibco.xml.channel.stream.helpers.DefaultXmlStreamHandler (implements
com.tibco.xml.channel.stream.XmlStreamHandler,
com.tibco.xml.channel.stream.XmlStreamSupplier)
❍ class com.tibco.xml.channel.stream.helpers.XmlStreamMulticastHelper (implements
com.tibco.xml.runtime.IBlackBox, com.tibco.xml.channel.stream.XmlStreamHandler,
com.tibco.xml.channel.stream.XmlStreamSupplierMulticast)
❍ class com.tibco.xml.channel.stream.helpers.XmlStreamProfiler (implements
com.tibco.xml.runtime.IBlackBox, com.tibco.xml.channel.stream.XmlStreamHandler,
com.tibco.xml.channel.stream.XmlStreamSupplier)
❍ class com.tibco.xml.channel.stream.helpers.XmlStreamTermination (implements
com.tibco.xml.runtime.IBlackBox, com.tibco.xml.channel.stream.XmlStreamHandler)
❍ class com.tibco.xml.channel.stream.helpers.XmlStreamTracer (implements
com.tibco.xml.runtime.IBlackBox, com.tibco.xml.channel.stream.XmlStreamFilter)
❍ class com.tibco.xml.channel.stream.helpers.XmlStreamUtilities

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.channel.boundary.DocumentBoundaryHandler
Packages that use DocumentBoundaryHandler
com.tibco.xml.channel.boundary XML document boundary notifications.
com.tibco.xml.processor Processors for manipulating XML information sets.
com.tibco.xml.validation.helpers Ready-to-use validation patterns.
com.tibco.xml.validation.kernel Validation components that may be used to assemble a specialized validator.

Uses of DocumentBoundaryHandler in com.tibco.xml.channel.boundary

Methods in com.tibco.xml.channel.boundary with parameters of type DocumentBoundaryHandler


void DocumentBoundarySupplier.addDocumentBoundaryHandler(DocumentBoundaryHandler handler)

void DocumentBoundarySupplier.removeDocumentBoundaryHandler(DocumentBoundaryHandler handler)

Uses of DocumentBoundaryHandler in com.tibco.xml.processor

Methods in com.tibco.xml.processor with parameters of type DocumentBoundaryHandler


void SAXContent2XmlStream.addDocumentBoundaryHandler(DocumentBoundaryHandler handler)

void SAXContent2XmlStream.removeDocumentBoundaryHandler(DocumentBoundaryHandler handler)

void SAXContent2XmlStream.SAXContent2XmlKernel.addDocumentBoundaryHandler(DocumentBoundaryHandler handler)


void SAXContent2XmlStream.SAXContent2XmlKernel.removeDocumentBoundaryHandler(DocumentBoundaryHandler handler)

Uses of DocumentBoundaryHandler in com.tibco.xml.validation.helpers

Methods in com.tibco.xml.validation.helpers with parameters of type DocumentBoundaryHandler


void Validator_SAX_Remark_ExternalCache.addDocumentBoundaryHandler(DocumentBoundaryHandler handler)

void Validator_SAX_Remark_ExternalCache.removeDocumentBoundaryHandler(DocumentBoundaryHandler handler)

Uses of DocumentBoundaryHandler in com.tibco.xml.validation.kernel

Classes in com.tibco.xml.validation.kernel that implement DocumentBoundaryHandler


class DefaultAdjunctCache
Maps namespaceURI to an Adjunct (Document).
class DefaultSchemaCache
Maps namespaceURI to an SmSchema.
class ValidationControl

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Hierarchy For Package


com.tibco.xml.channel.boundary
Package Hierarchies:
All Packages

Interface Hierarchy
❍ interface com.tibco.xml.channel.boundary.DocumentBoundaryHandler
❍ interface com.tibco.xml.channel.boundary.DocumentBoundarySupplier

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Hierarchy For All Packages


Package Hierarchies:
com.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

Class Hierarchy
❍ class java.lang.Object
❍ class com.tibco.xml.processor.Aggregate (implements com.tibco.xml.channel.content.ContentConsumer,
com.tibco.xml.channel.dom.DocumentConsumer, com.tibco.xml.runtime.IBlackBox,
com.tibco.xml.runtime.IConfigurable, com.tibco.xml.runtime.IContextConsumer)
❍ class com.tibco.xml.validation.kernel.DefaultAdjunctCache (implements
com.tibco.xml.adjuncts.channel.AdjunctHandler, com.tibco.xml.adjuncts.channel.AdjunctProvider,
com.tibco.xml.channel.boundary.DocumentBoundaryHandler, com.tibco.xml.runtime.IBlackBox)
❍ class com.tibco.xml.validation.kernel.DefaultAdjunctSupplier (implements
com.tibco.xml.adjuncts.channel.AdjunctConsumer, com.tibco.xml.adjuncts.channel.AdjunctSupplier,
com.tibco.xml.channel.error.ErrorSupplier, com.tibco.xml.channel.typeuri.TypeURIHandler)
❍ class com.tibco.xml.adjuncts.streaming.DefaultMetadataTagHandler (implements
com.tibco.xml.adjuncts.streaming.MetadataTagHandler)
❍ class com.tibco.xml.validation.constraints.DefaultConstraintChecker (implements
com.tibco.xml.validation.constraints.ConstraintChecker)
❍ class com.tibco.xml.validation.kernel.DefaultNamespaceConverter (implements
com.tibco.xml.validation.channel.LocationHintHandler,
com.tibco.xml.schema.channel.SchemaModelConsumer,
com.tibco.xml.schema.channel.SchemaModelHandler,
com.tibco.xml.schema.channel.SchemaModelProvider,
com.tibco.xml.schema.channel.SchemaModelSupplier)
❍ class com.tibco.xml.validation.kernel.DefaultSchemaCache (implements
com.tibco.xml.channel.boundary.DocumentBoundaryHandler, com.tibco.xml.runtime.IBlackBox,
com.tibco.xml.schema.channel.SchemaModelConsumer,
com.tibco.xml.schema.channel.SchemaModelHandler,
com.tibco.xml.schema.channel.SchemaModelProvider)
❍ class com.tibco.xml.validation.kernel.DefaultSchemaSupplier (implements
com.tibco.xml.channel.entity.EntityConsumer, com.tibco.xml.runtime.IBlackBox,
com.tibco.xml.validation.channel.LocationHintHandler,
com.tibco.xml.channel.property.PropertyConsumer,
com.tibco.xml.schema.channel.SchemaModelConsumer,
com.tibco.xml.schema.channel.SchemaModelSupplier,
com.tibco.xml.channel.remark.XmlRemarkSupplier)
❍ class com.tibco.xml.channel.stream.helpers.DefaultXmlStreamHandler (implements
com.tibco.xml.channel.stream.XmlStreamHandler, com.tibco.xml.channel.stream.XmlStreamSupplier)
❍ class com.tibco.xml.adjuncts.streaming.MetadataEngine
❍ class com.tibco.xml.validation.constraints.ValidationConstraintEngine (implements
com.tibco.xml.channel.remark.XmlRemarkSupplier)
❍ class com.tibco.xml.validation.kernel.ValidationKernel (implements
com.tibco.xml.runtime.IBlackBox, com.tibco.xml.channel.remark.XmlRemarkSupplier,
com.tibco.xml.channel.stream.XmlStreamHandler,
com.tibco.xml.channel.stream.XmlStreamSupplier)
❍ class com.tibco.xml.processor.DOM2Content (implements
com.tibco.xml.channel.content.ContentSupplier, com.tibco.xml.channel.dom.DOMHandler,
com.tibco.xml.runtime.IBlackBox)
❍ class com.tibco.xml.processor.DOM2XmlStream (implements com.tibco.xml.channel.dom.DOMHandler,
com.tibco.xml.runtime.IBlackBox, com.tibco.xml.channel.node.NodeProvider,
com.tibco.xml.channel.stream.XmlStreamSupplier)
❍ class com.tibco.xml.runtime.data.Entity
❍ class com.tibco.xml.validation.ErrorCode
❍ class com.tibco.xml.data.primitive.ExpandedName (implements com.tibco.xml.data.node.XmlValue)
❍ class com.tibco.xml.validation.kernel.NativeSchemaProvider (implements
com.tibco.xml.runtime.IBlackBox, com.tibco.xml.schema.channel.SchemaModelProvider)
❍ class com.tibco.xml.validation.PrintWriterErrorHandler (implements org.xml.sax.ErrorHandler)
❍ class com.tibco.xml.data.primitive.QName
❍ class com.tibco.xml.processor.SAXContent2DOM (implements org.xml.sax.ContentHandler,
com.tibco.xml.channel.dom.DOMSupplier, com.tibco.xml.runtime.IBlackBox,
org.xml.sax.ext.LexicalHandler)
❍ class com.tibco.xml.processor.SAXContent2XmlStream (implements
com.tibco.xml.channel.content.ContentFilter,
com.tibco.xml.channel.boundary.DocumentBoundarySupplier, com.tibco.xml.runtime.IBlackBox,
com.tibco.xml.channel.remark.XmlRemarkSupplier, com.tibco.xml.channel.stream.XmlStreamSupplier)
❍ class com.tibco.xml.processor.SAXContent2XmlStream.SAXContent2XmlKernel (implements
com.tibco.xml.channel.content.ContentFilter,
com.tibco.xml.channel.boundary.DocumentBoundarySupplier,
com.tibco.xml.channel.remark.XmlRemarkSupplier, com.tibco.xml.channel.stream.XmlStreamSupplier)
❍ class com.tibco.xml.processor.SAXContentNormalizer (implements
com.tibco.xml.channel.content.ContentFilter, com.tibco.xml.runtime.IBlackBox)
❍ class com.tibco.xml.validation.kernel.SAXLocationHintSupplier (implements
com.tibco.xml.channel.content.ContentFilter, com.tibco.xml.channel.entity.EntityConsumer,
org.xml.sax.EntityResolver, com.tibco.xml.runtime.IBlackBox,
com.tibco.xml.validation.channel.LocationHintSupplier,
com.tibco.xml.channel.property.PropertyConsumer, com.tibco.xml.channel.typeuri.TypeURISupplier)
❍ class com.tibco.xml.validation.scripting.ScriptingAdjunctValidator (implements
org.xml.sax.ContentHandler, com.tibco.xml.channel.content.ContentSupplier,
com.tibco.xml.channel.remark.XmlRemarkSupplier, com.tibco.xml.channel.stream.XmlStreamSupplier)
❍ class com.tibco.xml.validation.scripting.ScriptingSimpleTypeCompilers (implements
com.tibco.xml.channel.simpletypecompiler.SimpleTypeCompilerProvider)
❍ class com.tibco.xml.validation.scripting.ScriptingValidatorMk1 (implements
com.tibco.xml.adjuncts.channel.AdjunctConsumer, com.tibco.xml.channel.dom.DOMHandler,
com.tibco.xml.channel.dom.DOMSupplier, com.tibco.xml.runtime.IBlackBox,
com.tibco.xml.channel.property.PropertyConsumer, com.tibco.xml.channel.property.PropertySupplier,
com.tibco.xml.channel.typeuri.TypeURIHandler, com.tibco.xml.channel.remark.XmlRemarkSupplier)
❍ class com.tibco.xml.schema.SmFactory
❍ class com.tibco.xml.schema.SmSupport
❍ class com.tibco.xml.schema.SmVisitor.Default (implements com.tibco.xml.schema.SmVisitor)
❍ class com.tibco.xml.validation.StringValidation
❍ class java.lang.Throwable (implements java.io.Serializable)
❍ class java.lang.Exception

❍ class com.tibco.xml.validation.constraints.DefaultConstraintViolation

❍ class com.tibco.xml.runtime.MissingConnectionException
❍ class
com.tibco.xml.data.primitive.NamespaceToPrefixResolver.NamespaceNotFoundException
❍ class com.tibco.xml.data.primitive.PrefixToNamespaceResolver.PrefixNotFoundException
❍ class java.lang.RuntimeException
❍ class com.tibco.xml.data.cursor.UndefinedPropertyException

❍ class org.xml.sax.SAXException
❍ class com.tibco.xml.validation.SchemaException

❍ class com.tibco.xml.schema.SmException
❍ class com.tibco.xml.schema.SmVisitor.Result
❍ class com.tibco.xml.schema.SmVisitor.Failure
❍ class com.tibco.xml.schema.SmVisitor.Success
❍ class com.tibco.xml.data.primitive.UnsupportedAxisException
❍ class com.tibco.xml.validation.XMLValidationException
❍ class com.tibco.xml.validation.helpers.ValidatingFilter_ExternalCache (implements
com.tibco.xml.channel.property.PropertyConsumer, org.xml.sax.XMLFilter)
❍ class com.tibco.xml.validation.helpers.ValidatingFilter_InternalCache (implements
com.tibco.xml.channel.property.PropertyConsumer, org.xml.sax.XMLFilter)
❍ class com.tibco.xml.validation.kernel.ValidationControl (implements
com.tibco.xml.channel.boundary.DocumentBoundaryHandler, com.tibco.xml.runtime.IBlackBox,
com.tibco.xml.channel.remark.XmlRemarkHandler, com.tibco.xml.channel.remark.XmlRemarkSupplier)
❍ class com.tibco.xml.validation.ValidationFactory
❍ class com.tibco.xml.validation.ValidationUtilities
❍ class com.tibco.xml.validation.kernel.Validator (implements org.xml.sax.ContentHandler,
com.tibco.xml.channel.entity.EntityConsumer, org.xml.sax.EntityResolver,
com.tibco.xml.validation.channel.LocationHintSupplier,
com.tibco.xml.schema.channel.SchemaModelConsumer,
com.tibco.xml.channel.remark.XmlRemarkSupplier, com.tibco.xml.channel.stream.XmlStreamSupplier)
❍ class com.tibco.xml.validation.helpers.Validator_DOM_Remark_ExternalCache (implements
com.tibco.xml.channel.dom.DOMHandler, com.tibco.xml.channel.dom.DOMSupplier,
com.tibco.xml.schema.channel.SchemaModelConsumer, com.tibco.xml.channel.typeuri.TypeURISupplier,
com.tibco.xml.channel.remark.XmlRemarkHandler, com.tibco.xml.channel.remark.XmlRemarkSupplier,
com.tibco.xml.channel.stream.XmlStreamSupplier)
❍ class com.tibco.xml.validation.helpers.Validator_SAX_Error_ExternalCache (implements
org.xml.sax.ContentHandler, com.tibco.xml.channel.content.ContentSupplier,
com.tibco.xml.channel.error.ErrorSupplier, com.tibco.xml.schema.channel.SchemaModelConsumer)
❍ class com.tibco.xml.validation.helpers.Validator_SAX_Error_InternalCache (implements
org.xml.sax.ContentHandler, com.tibco.xml.channel.content.ContentSupplier,
com.tibco.xml.channel.entity.EntityConsumer, org.xml.sax.EntityResolver,
com.tibco.xml.channel.error.ErrorSupplier, com.tibco.xml.channel.property.PropertyConsumer)
❍ class com.tibco.xml.validation.helpers.Validator_SAX_Remark_ExternalCache (implements
com.tibco.xml.channel.content.ContentFilter,
com.tibco.xml.channel.boundary.DocumentBoundarySupplier,
com.tibco.xml.schema.channel.SchemaModelConsumer, com.tibco.xml.channel.remark.XmlRemarkFilter,
com.tibco.xml.channel.stream.XmlStreamSupplier)
❍ class com.tibco.xml.validation.helpers.Validator_SAX_Remark_InternalCache (implements
org.xml.sax.ContentHandler, com.tibco.xml.channel.content.ContentSupplier,
com.tibco.xml.channel.entity.EntityConsumer, org.xml.sax.EntityResolver,
com.tibco.xml.channel.property.PropertyConsumer, com.tibco.xml.channel.remark.XmlRemarkFilter,
com.tibco.xml.channel.stream.XmlStreamSupplier)
❍ class com.tibco.xml.validation.Version
❍ class com.tibco.xml.data.context.helpers.XmlContextOnXmlCursor (implements
com.tibco.xml.data.context.XmlContext)
❍ class com.tibco.xml.data.cursor.helpers.XmlCursor4DOM (implements
com.tibco.xml.data.cursor.XmlCursor)
❍ class com.tibco.xml.data.cursor.helpers.XmlCursorNoNavigation (implements
com.tibco.xml.data.cursor.XmlCursor)
❍ class com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext (implements
com.tibco.xml.data.cursor.XmlCursor)
❍ class com.tibco.xml.data.cursor.XmlCursorSupport
❍ class com.tibco.xml.processor.XmlStream2DOM (implements
com.tibco.xml.channel.dom.DOMSupplier, com.tibco.xml.runtime.IBlackBox,
com.tibco.xml.channel.stream.XmlStreamHandler)
❍ class com.tibco.xml.processor.XmlStreamCompiler (implements
com.tibco.xml.channel.simpletypecompiler.SimpleTypeCompilerConsumer,
com.tibco.xml.channel.remark.XmlRemarkSupplier, com.tibco.xml.channel.stream.XmlStreamFilter)
❍ class com.tibco.xml.processor.XmlStreamCompiler.XmlStreamCompilerContext (implements
com.tibco.xml.channel.simpletypecompiler.SimpleTypeCompilerConsumer,
com.tibco.xml.channel.remark.XmlRemarkSupplier, com.tibco.xml.channel.stream.XmlStreamHandler)
❍ class com.tibco.xml.processor.XmlStreamEnhancer (implements com.tibco.xml.runtime.IBlackBox,
com.tibco.xml.schema.channel.SchemaModelConsumer,
com.tibco.xml.channel.remark.XmlRemarkSupplier, com.tibco.xml.channel.stream.XmlStreamHandler,
com.tibco.xml.channel.stream.XmlStreamSupplier)
❍ class com.tibco.xml.channel.stream.helpers.XmlStreamMulticastHelper (implements
com.tibco.xml.runtime.IBlackBox, com.tibco.xml.channel.stream.XmlStreamHandler,
com.tibco.xml.channel.stream.XmlStreamSupplierMulticast)
❍ class com.tibco.xml.processor.XmlStreamParser (implements
com.tibco.xml.channel.entity.EntityConsumer, com.tibco.xml.validation.channel.LocationHintSupplier,
com.tibco.xml.channel.remark.XmlRemarkSupplier, com.tibco.xml.channel.stream.XmlStreamSupplier)
❍ class com.tibco.xml.channel.stream.helpers.XmlStreamProfiler (implements
com.tibco.xml.runtime.IBlackBox, com.tibco.xml.channel.stream.XmlStreamHandler,
com.tibco.xml.channel.stream.XmlStreamSupplier)
❍ class com.tibco.xml.processor.XmlStreamSerializer (implements
com.tibco.xml.channel.stream.XmlStreamHandler)
❍ class com.tibco.xml.processor.C14NSerializer
❍ class com.tibco.xml.processor.XmlStreamSimplEx (implements
com.tibco.xml.channel.simpletypecompiler.SimpleTypeCompilerConsumer,
com.tibco.xml.channel.remark.XmlRemarkSupplier, com.tibco.xml.channel.stream.XmlStreamFilter)
❍ class com.tibco.xml.processor.XmlStreamSimplEx.XmlStreamCompilerContext (implements
com.tibco.xml.channel.simpletypecompiler.SimpleTypeCompilerConsumer,
com.tibco.xml.channel.remark.XmlRemarkSupplier, com.tibco.xml.channel.stream.XmlStreamHandler)
❍ class com.tibco.xml.channel.stream.helpers.XmlStreamTermination (implements
com.tibco.xml.runtime.IBlackBox, com.tibco.xml.channel.stream.XmlStreamHandler)
❍ class com.tibco.xml.channel.stream.helpers.XmlStreamTracer (implements
com.tibco.xml.runtime.IBlackBox, com.tibco.xml.channel.stream.XmlStreamFilter)
❍ class com.tibco.xml.channel.stream.helpers.XmlStreamUtilities
❍ class com.tibco.xml.data.cursor.helpers.XmlStringValue (implements
com.tibco.xml.data.node.XmlValue)
❍ class com.tibco.xml.validation.helpers.XMLValidatorFilterImplMk1 (implements
com.tibco.xml.validation.XMLValidator)
❍ class com.tibco.xml.data.context.helpers.XPathHelper
Interface Hierarchy
❍ interface com.tibco.xml.adjuncts.channel.AdjunctConsumer
❍ interface com.tibco.xml.adjuncts.channel.AdjunctHandler
❍ interface com.tibco.xml.adjuncts.channel.AdjunctProvider
❍ interface com.tibco.xml.adjuncts.channel.AdjunctSupplier
❍ interface com.tibco.xml.runtime.data.BooleanHandler
❍ interface com.tibco.xml.runtime.data.BooleanSupplier
❍ interface com.tibco.xml.channel.content.ContentConsumer
❍ interface org.xml.sax.ContentHandler
❍ interface com.tibco.xml.channel.content.ContentFilter (also extends
com.tibco.xml.channel.content.ContentSupplier)
❍ interface com.tibco.xml.channel.content.ContentProvider
❍ interface com.tibco.xml.channel.content.ContentSupplier
❍ interface com.tibco.xml.channel.content.ContentFilter (also extends org.xml.sax.ContentHandler)
❍ interface com.tibco.xml.channel.content.ContentSupplierMulticast
❍ interface com.tibco.xml.channel.boundary.DocumentBoundaryHandler
❍ interface com.tibco.xml.channel.boundary.DocumentBoundarySupplier
❍ interface com.tibco.xml.channel.dom.DocumentConsumer
❍ interface com.tibco.xml.runtime.data.DocumentLocatorConsumer
❍ interface com.tibco.xml.runtime.data.DocumentLocatorProvider
❍ interface com.tibco.xml.channel.dom.DocumentProvider
❍ interface com.tibco.xml.channel.dom.DOMHandler
❍ interface com.tibco.xml.channel.dom.DOMSupplier
❍ interface com.tibco.xml.runtime.data.DTDSupplier
❍ interface com.tibco.xml.channel.entity.EntityConsumer
❍ interface com.tibco.xml.schema.NewSchemaParser (also extends
com.tibco.xml.channel.error.ErrorSupplier, com.tibco.xml.schema.channel.NamespaceEntityConsumer,
com.tibco.xml.schema.channel.SchemaModelConsumer,
com.tibco.xml.schema.channel.SchemaModelSupplier)
❍ interface com.tibco.xml.channel.error.ErrorSupplier
❍ interface com.tibco.xml.schema.NewSchemaParser (also extends
com.tibco.xml.channel.entity.EntityConsumer, com.tibco.xml.schema.channel.NamespaceEntityConsumer,
com.tibco.xml.schema.channel.SchemaModelConsumer,
com.tibco.xml.schema.channel.SchemaModelSupplier)
❍ interface com.tibco.xml.channel.error.ErrorSupplierMulticast
❍ interface com.tibco.xml.runtime.IBlackBox
❍ interface com.tibco.xml.runtime.IConfigurable
❍ interface com.tibco.xml.runtime.IConnectionBuilder
❍ interface com.tibco.xml.runtime.IContextConsumer
❍ interface com.tibco.xml.runtime.IContextProvider
❍ interface com.tibco.xml.runtime.IFactory
❍ interface com.tibco.xml.validation.channel.LocationHintHandler
❍ interface com.tibco.xml.validation.channel.LocationHintSupplier
❍ interface com.tibco.xml.adjuncts.streaming.MetadataNamespaceHandler
❍ interface com.tibco.xml.validation.constraints.ConstraintChecker (also extends
com.tibco.xml.channel.remark.XmlRemarkSupplier)
❍ interface com.tibco.xml.schema.channel.NamespaceEntityConsumer
❍ interface com.tibco.xml.schema.NewSchemaParser (also extends
com.tibco.xml.channel.entity.EntityConsumer, com.tibco.xml.channel.error.ErrorSupplier,
com.tibco.xml.schema.channel.SchemaModelConsumer,
com.tibco.xml.schema.channel.SchemaModelSupplier)
❍ interface com.tibco.xml.schema.NamespaceEntityResolver
❍ interface com.tibco.xml.data.primitive.NamespaceToPrefixResolver
❍ interface com.tibco.xml.data.primitive.NamespaceResolver (also extends
com.tibco.xml.data.primitive.PrefixToNamespaceResolver)
❍ interface com.tibco.xml.data.node.XmlNode (also extends com.tibco.xml.data.node.XmlProps,
com.tibco.xml.data.node.XmlTypes)
❍ interface com.tibco.xml.data.context.XmlContext
❍ interface com.tibco.xml.data.cursor.XmlCursor (also extends
com.tibco.xml.data.cursor.XmlAttributeCursor,
com.tibco.xml.data.cursor.XmlNamespaceCursor)
❍ interface com.tibco.xml.data.cursor.XmlReader (also extends
com.tibco.xml.data.cursor.XmlAttributeCursor,
com.tibco.xml.data.cursor.XmlNamespaceCursor)
❍ interface com.tibco.xml.data.primitive.PrefixToNamespaceResolver
❍ interface com.tibco.xml.data.primitive.NamespaceResolver (also extends
com.tibco.xml.data.primitive.NamespaceToPrefixResolver)
❍ interface com.tibco.xml.data.node.XmlNode (also extends com.tibco.xml.data.node.XmlProps,
com.tibco.xml.data.node.XmlTypes)
❍ interface com.tibco.xml.data.context.XmlContext
❍ interface com.tibco.xml.data.cursor.XmlCursor (also extends
com.tibco.xml.data.cursor.XmlAttributeCursor,
com.tibco.xml.data.cursor.XmlNamespaceCursor)
❍ interface com.tibco.xml.data.cursor.XmlReader (also extends
com.tibco.xml.data.cursor.XmlAttributeCursor,
com.tibco.xml.data.cursor.XmlNamespaceCursor)
❍ interface com.tibco.xml.channel.property.PropertyConsumer
❍ interface com.tibco.xml.channel.property.PropertyHandler
❍ interface com.tibco.xml.channel.property.PropertyProvider
❍ interface com.tibco.xml.channel.property.PropertySupplier
❍ interface com.tibco.xml.channel.property.PropertySupplierMulticast
❍ interface com.tibco.xml.validation.SchemaMap
❍ interface com.tibco.xml.schema.channel.SchemaModelConsumer
❍ interface com.tibco.xml.schema.NewSchemaParser (also extends
com.tibco.xml.channel.entity.EntityConsumer, com.tibco.xml.channel.error.ErrorSupplier,
com.tibco.xml.schema.channel.NamespaceEntityConsumer,
com.tibco.xml.schema.channel.SchemaModelSupplier)
❍ interface com.tibco.xml.schema.channel.SchemaModelHandler
❍ interface com.tibco.xml.schema.channel.SchemaModelProvider
❍ interface com.tibco.xml.schema.channel.SchemaModelSupplier
❍ interface com.tibco.xml.schema.NewSchemaParser (also extends
com.tibco.xml.channel.entity.EntityConsumer, com.tibco.xml.channel.error.ErrorSupplier,
com.tibco.xml.schema.channel.NamespaceEntityConsumer,
com.tibco.xml.schema.channel.SchemaModelConsumer)
❍ interface com.tibco.xml.schema.SmComponent
❍ interface com.tibco.xml.schema.SmIdentityConstraint
❍ interface com.tibco.xml.schema.SmMetaInfo
❍ interface com.tibco.xml.schema.SmMetaForeignAttribute
❍ interface com.tibco.xml.schema.SmNotation
❍ interface com.tibco.xml.schema.SmParticle
❍ interface com.tibco.xml.schema.SmParticleTerm
❍ interface com.tibco.xml.schema.SmDataComponent
❍ interface com.tibco.xml.schema.SmAttribute
❍ interface com.tibco.xml.schema.SmElement
❍ interface com.tibco.xml.schema.SmModelGroup
❍ interface com.tibco.xml.schema.SmAttributeGroup
❍ interface com.tibco.xml.schema.SmWildcard
❍ interface com.tibco.xml.schema.SmType
❍ interface com.tibco.xml.schema.SmTypeFacet
❍ interface com.tibco.xml.schema.SmConverter
❍ interface com.tibco.xml.schema.SmFlavor
❍ interface com.tibco.xml.schema.SmIdentityConstraint.Path
❍ interface com.tibco.xml.schema.SmParser
❍ interface com.tibco.xml.schema.SmSchema
❍ interface com.tibco.xml.schema.SmSchemaError
❍ interface com.tibco.xml.schema.SmSchemaError.Handler
❍ interface com.tibco.xml.schema.SmSchemaError.Source
❍ interface com.tibco.xml.schema.SmSchemaSpace
❍ interface com.tibco.xml.schema.SmVisitor
❍ interface com.tibco.xml.runtime.data.StringHandler
❍ interface com.tibco.xml.runtime.data.StringSupplier
❍ interface com.tibco.xml.channel.typeuri.TypeURIHandler
❍ interface com.tibco.xml.channel.typeuri.TypeURISupplier
❍ interface com.tibco.xml.runtime.data.UriHandler
❍ interface com.tibco.xml.runtime.data.UriSupplier
❍ interface com.tibco.xml.runtime.data.UrlHandler
❍ interface com.tibco.xml.runtime.data.UrlSupplier
❍ interface com.tibco.xml.data.cursor.XmlAttributeCursor
❍ interface com.tibco.xml.data.cursor.XmlCursor (also extends
com.tibco.xml.data.cursor.XmlNamespaceCursor, com.tibco.xml.data.node.XmlNode)
❍ interface com.tibco.xml.data.cursor.XmlReader (also extends
com.tibco.xml.data.cursor.XmlNamespaceCursor, com.tibco.xml.data.node.XmlNode)
❍ interface com.tibco.xml.channel.context.XmlContextConsumer
❍ interface com.tibco.xml.channel.context.XmlContextProvider
❍ interface com.tibco.xml.data.cursor.XmlNamespaceCursor
❍ interface com.tibco.xml.data.cursor.XmlCursor (also extends
com.tibco.xml.data.cursor.XmlAttributeCursor, com.tibco.xml.data.node.XmlNode)
❍ interface com.tibco.xml.data.cursor.XmlReader (also extends
com.tibco.xml.data.cursor.XmlAttributeCursor, com.tibco.xml.data.node.XmlNode)
❍ interface com.tibco.xml.data.node.XmlProps
❍ interface com.tibco.xml.data.node.XmlNode (also extends
com.tibco.xml.data.primitive.NamespaceResolver, com.tibco.xml.data.node.XmlTypes)
❍ interface com.tibco.xml.data.context.XmlContext
❍ interface com.tibco.xml.data.cursor.XmlCursor (also extends
com.tibco.xml.data.cursor.XmlAttributeCursor, com.tibco.xml.data.cursor.XmlNamespaceCursor)
❍ interface com.tibco.xml.data.cursor.XmlReader (also extends
com.tibco.xml.data.cursor.XmlAttributeCursor, com.tibco.xml.data.cursor.XmlNamespaceCursor)
❍ interface org.xml.sax.XMLReader
❍ interface org.xml.sax.XMLFilter

❍ interface com.tibco.xml.validation.XMLValidator

❍ interface com.tibco.xml.channel.remark.XmlRemarkHandler
❍ interface com.tibco.xml.channel.remark.XmlRemarkFilter (also extends
com.tibco.xml.channel.remark.XmlRemarkSupplier)
❍ interface com.tibco.xml.channel.remark.XmlRemarkSupplier
❍ interface com.tibco.xml.validation.constraints.ConstraintChecker (also extends
com.tibco.xml.adjuncts.streaming.MetadataNamespaceHandler)
❍ interface com.tibco.xml.channel.remark.XmlRemarkFilter (also extends
com.tibco.xml.channel.remark.XmlRemarkHandler)
❍ interface com.tibco.xml.channel.remark.XmlRemarkSupplierMulticast
❍ interface com.tibco.xml.channel.stream.XmlStreamHandler
❍ interface com.tibco.xml.channel.stream.XmlStreamFilter (also extends
com.tibco.xml.channel.stream.XmlStreamSupplier)
❍ interface com.tibco.xml.channel.stream.XmlStreamSupplier
❍ interface com.tibco.xml.channel.stream.XmlStreamFilter (also extends
com.tibco.xml.channel.stream.XmlStreamHandler)
❍ interface com.tibco.xml.channel.stream.XmlStreamSupplierMulticast
❍ interface com.tibco.xml.data.node.XmlTypes
❍ interface com.tibco.xml.data.node.XmlNode (also extends
com.tibco.xml.data.primitive.NamespaceResolver, com.tibco.xml.data.node.XmlProps)
❍ interface com.tibco.xml.data.context.XmlContext
❍ interface com.tibco.xml.data.cursor.XmlCursor (also extends
com.tibco.xml.data.cursor.XmlAttributeCursor, com.tibco.xml.data.cursor.XmlNamespaceCursor)
❍ interface com.tibco.xml.data.cursor.XmlReader (also extends
com.tibco.xml.data.cursor.XmlAttributeCursor, com.tibco.xml.data.cursor.XmlNamespaceCursor)
❍ interface com.tibco.xml.data.node.XmlValue

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Hierarchy For Package


com.tibco.xml.channel.context
Package Hierarchies:
All Packages

Interface Hierarchy
❍ interface com.tibco.xml.channel.context.XmlContextConsumer
❍ interface com.tibco.xml.channel.context.XmlContextProvider

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Hierarchy For Package com.tibco.xml.channel.dom


Package Hierarchies:
All Packages

Interface Hierarchy
❍ interface com.tibco.xml.channel.dom.DocumentConsumer
❍ interface com.tibco.xml.channel.dom.DocumentProvider
❍ interface com.tibco.xml.channel.dom.DOMHandler
❍ interface com.tibco.xml.channel.dom.DOMSupplier

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Hierarchy For Package


com.tibco.xml.channel.entity
Package Hierarchies:
All Packages

Interface Hierarchy
❍ interface com.tibco.xml.channel.entity.EntityConsumer

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Hierarchy For Package com.tibco.xml.channel.error


Package Hierarchies:
All Packages

Interface Hierarchy
❍ interface com.tibco.xml.channel.error.ErrorSupplier
❍ interface com.tibco.xml.channel.error.ErrorSupplierMulticast

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Hierarchy For Package


com.tibco.xml.channel.property
Package Hierarchies:
All Packages

Interface Hierarchy
❍ interface com.tibco.xml.channel.property.PropertyConsumer
❍ interface com.tibco.xml.channel.property.PropertyHandler
❍ interface com.tibco.xml.channel.property.PropertyProvider
❍ interface com.tibco.xml.channel.property.PropertySupplier
❍ interface com.tibco.xml.channel.property.PropertySupplierMulticast

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Hierarchy For Package


com.tibco.xml.channel.remark
Package Hierarchies:
All Packages

Interface Hierarchy
❍ interface com.tibco.xml.channel.remark.XmlRemarkHandler
❍ interface com.tibco.xml.channel.remark.XmlRemarkFilter (also extends
com.tibco.xml.channel.remark.XmlRemarkSupplier)
❍ interface com.tibco.xml.channel.remark.XmlRemarkSupplier
❍ interface com.tibco.xml.channel.remark.XmlRemarkFilter (also extends
com.tibco.xml.channel.remark.XmlRemarkHandler)
❍ interface com.tibco.xml.channel.remark.XmlRemarkSupplierMulticast

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Hierarchy For Package


com.tibco.xml.channel.stream
Package Hierarchies:
All Packages

Interface Hierarchy
❍ interface com.tibco.xml.channel.stream.XmlStreamHandler
❍ interface com.tibco.xml.channel.stream.XmlStreamFilter (also extends
com.tibco.xml.channel.stream.XmlStreamSupplier)
❍ interface com.tibco.xml.channel.stream.XmlStreamSupplier
❍ interface com.tibco.xml.channel.stream.XmlStreamFilter (also extends
com.tibco.xml.channel.stream.XmlStreamHandler)
❍ interface com.tibco.xml.channel.stream.XmlStreamSupplierMulticast

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Hierarchy For Package


com.tibco.xml.channel.typeuri
Package Hierarchies:
All Packages

Interface Hierarchy
❍ interface com.tibco.xml.channel.typeuri.TypeURIHandler
❍ interface com.tibco.xml.channel.typeuri.TypeURISupplier

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Hierarchy For Package com.tibco.xml.data.context


Package Hierarchies:
All Packages

Interface Hierarchy
❍ interface com.tibco.xml.data.primitive.NamespaceToPrefixResolver
❍ interface com.tibco.xml.data.primitive.NamespaceResolver (also extends
com.tibco.xml.data.primitive.PrefixToNamespaceResolver)
❍ interface com.tibco.xml.data.node.XmlNode (also extends
com.tibco.xml.data.node.XmlProps, com.tibco.xml.data.node.XmlTypes)
❍ interface com.tibco.xml.data.context.XmlContext
❍ interface com.tibco.xml.data.primitive.PrefixToNamespaceResolver
❍ interface com.tibco.xml.data.primitive.NamespaceResolver (also extends
com.tibco.xml.data.primitive.NamespaceToPrefixResolver)
❍ interface com.tibco.xml.data.node.XmlNode (also extends
com.tibco.xml.data.node.XmlProps, com.tibco.xml.data.node.XmlTypes)
❍ interface com.tibco.xml.data.context.XmlContext
❍ interface com.tibco.xml.data.node.XmlProps
❍ interface com.tibco.xml.data.node.XmlNode (also extends
com.tibco.xml.data.primitive.NamespaceResolver, com.tibco.xml.data.node.XmlTypes)
❍ interface com.tibco.xml.data.context.XmlContext
❍ interface com.tibco.xml.data.node.XmlTypes
❍ interface com.tibco.xml.data.node.XmlNode (also extends
com.tibco.xml.data.primitive.NamespaceResolver, com.tibco.xml.data.node.XmlProps)
❍ interface com.tibco.xml.data.context.XmlContext

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Hierarchy For Package


com.tibco.xml.data.context.helpers
Package Hierarchies:
All Packages

Class Hierarchy
❍ class java.lang.Object
❍ class com.tibco.xml.data.context.helpers.XmlContextOnXmlCursor (implements
com.tibco.xml.data.context.XmlContext)
❍ class com.tibco.xml.data.context.helpers.XPathHelper

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Hierarchy For Package com.tibco.xml.data.cursor


Package Hierarchies:
All Packages

Class Hierarchy
❍ class java.lang.Object
❍ class java.lang.Throwable (implements java.io.Serializable)

❍ class java.lang.Exception

❍ class java.lang.RuntimeException

❍ class com.tibco.xml.data.cursor.UndefinedPropertyException

❍ class com.tibco.xml.data.cursor.XmlCursorSupport

Interface Hierarchy
❍ interface com.tibco.xml.data.primitive.NamespaceToPrefixResolver
❍ interface com.tibco.xml.data.primitive.NamespaceResolver (also extends
com.tibco.xml.data.primitive.PrefixToNamespaceResolver)
❍ interface com.tibco.xml.data.node.XmlNode (also extends
com.tibco.xml.data.node.XmlProps, com.tibco.xml.data.node.XmlTypes)
❍ interface com.tibco.xml.data.cursor.XmlCursor (also extends
com.tibco.xml.data.cursor.XmlAttributeCursor,
com.tibco.xml.data.cursor.XmlNamespaceCursor)
❍ interface com.tibco.xml.data.cursor.XmlReader (also extends
com.tibco.xml.data.cursor.XmlAttributeCursor,
com.tibco.xml.data.cursor.XmlNamespaceCursor)
❍ interface com.tibco.xml.data.primitive.PrefixToNamespaceResolver
❍ interface com.tibco.xml.data.primitive.NamespaceResolver (also extends
com.tibco.xml.data.primitive.NamespaceToPrefixResolver)
❍ interface com.tibco.xml.data.node.XmlNode (also extends
com.tibco.xml.data.node.XmlProps, com.tibco.xml.data.node.XmlTypes)
❍ interface com.tibco.xml.data.cursor.XmlCursor (also extends
com.tibco.xml.data.cursor.XmlAttributeCursor,
com.tibco.xml.data.cursor.XmlNamespaceCursor)
❍ interface com.tibco.xml.data.cursor.XmlReader (also extends
com.tibco.xml.data.cursor.XmlAttributeCursor,
com.tibco.xml.data.cursor.XmlNamespaceCursor)
❍ interface com.tibco.xml.data.cursor.XmlAttributeCursor
❍ interface com.tibco.xml.data.cursor.XmlCursor (also extends
com.tibco.xml.data.cursor.XmlNamespaceCursor, com.tibco.xml.data.node.XmlNode)
❍ interface com.tibco.xml.data.cursor.XmlReader (also extends
com.tibco.xml.data.cursor.XmlNamespaceCursor, com.tibco.xml.data.node.XmlNode)
❍ interface com.tibco.xml.data.cursor.XmlNamespaceCursor
❍ interface com.tibco.xml.data.cursor.XmlCursor (also extends
com.tibco.xml.data.cursor.XmlAttributeCursor, com.tibco.xml.data.node.XmlNode)
❍ interface com.tibco.xml.data.cursor.XmlReader (also extends
com.tibco.xml.data.cursor.XmlAttributeCursor, com.tibco.xml.data.node.XmlNode)
❍ interface com.tibco.xml.data.node.XmlProps
❍ interface com.tibco.xml.data.node.XmlNode (also extends
com.tibco.xml.data.primitive.NamespaceResolver, com.tibco.xml.data.node.XmlTypes)
❍ interface com.tibco.xml.data.cursor.XmlCursor (also extends
com.tibco.xml.data.cursor.XmlAttributeCursor,
com.tibco.xml.data.cursor.XmlNamespaceCursor)
❍ interface com.tibco.xml.data.cursor.XmlReader (also extends
com.tibco.xml.data.cursor.XmlAttributeCursor,
com.tibco.xml.data.cursor.XmlNamespaceCursor)
❍ interface com.tibco.xml.data.node.XmlTypes
❍ interface com.tibco.xml.data.node.XmlNode (also extends
com.tibco.xml.data.primitive.NamespaceResolver, com.tibco.xml.data.node.XmlProps)
❍ interface com.tibco.xml.data.cursor.XmlCursor (also extends
com.tibco.xml.data.cursor.XmlAttributeCursor,
com.tibco.xml.data.cursor.XmlNamespaceCursor)
❍ interface com.tibco.xml.data.cursor.XmlReader (also extends
com.tibco.xml.data.cursor.XmlAttributeCursor,
com.tibco.xml.data.cursor.XmlNamespaceCursor)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Hierarchy For Package


com.tibco.xml.data.cursor.helpers
Package Hierarchies:
All Packages

Class Hierarchy
❍ class java.lang.Object
❍ class com.tibco.xml.data.cursor.helpers.XmlCursor4DOM (implements
com.tibco.xml.data.cursor.XmlCursor)
❍ class com.tibco.xml.data.cursor.helpers.XmlCursorNoNavigation (implements
com.tibco.xml.data.cursor.XmlCursor)
❍ class com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext (implements
com.tibco.xml.data.cursor.XmlCursor)
❍ class com.tibco.xml.data.cursor.helpers.XmlStringValue (implements
com.tibco.xml.data.node.XmlValue)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Hierarchy For Package com.tibco.xml.data.node


Package Hierarchies:
All Packages

Interface Hierarchy
❍ interface com.tibco.xml.data.primitive.NamespaceToPrefixResolver
❍ interface com.tibco.xml.data.primitive.NamespaceResolver (also extends
com.tibco.xml.data.primitive.PrefixToNamespaceResolver)
❍ interface com.tibco.xml.data.node.XmlNode (also extends
com.tibco.xml.data.node.XmlProps, com.tibco.xml.data.node.XmlTypes)
❍ interface com.tibco.xml.data.primitive.PrefixToNamespaceResolver
❍ interface com.tibco.xml.data.primitive.NamespaceResolver (also extends
com.tibco.xml.data.primitive.NamespaceToPrefixResolver)
❍ interface com.tibco.xml.data.node.XmlNode (also extends
com.tibco.xml.data.node.XmlProps, com.tibco.xml.data.node.XmlTypes)
❍ interface com.tibco.xml.data.node.XmlProps
❍ interface com.tibco.xml.data.node.XmlNode (also extends
com.tibco.xml.data.primitive.NamespaceResolver, com.tibco.xml.data.node.XmlTypes)
❍ interface com.tibco.xml.data.node.XmlTypes
❍ interface com.tibco.xml.data.node.XmlNode (also extends
com.tibco.xml.data.primitive.NamespaceResolver, com.tibco.xml.data.node.XmlProps)
❍ interface com.tibco.xml.data.node.XmlValue

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Hierarchy For Package com.tibco.xml.data.primitive


Package Hierarchies:
All Packages

Class Hierarchy
❍ class java.lang.Object
❍ class com.tibco.xml.data.primitive.ExpandedName (implements com.tibco.xml.data.node.XmlValue)

❍ class com.tibco.xml.data.primitive.QName
❍ class java.lang.Throwable (implements java.io.Serializable)
❍ class java.lang.Exception

❍ class
com.tibco.xml.data.primitive.NamespaceToPrefixResolver.NamespaceNotFoundException
❍ class com.tibco.xml.data.primitive.PrefixToNamespaceResolver.PrefixNotFoundException
❍ class com.tibco.xml.data.primitive.UnsupportedAxisException

Interface Hierarchy
❍ interface com.tibco.xml.data.primitive.NamespaceToPrefixResolver
❍ interface com.tibco.xml.data.primitive.NamespaceResolver (also extends
com.tibco.xml.data.primitive.PrefixToNamespaceResolver)
❍ interface com.tibco.xml.data.primitive.PrefixToNamespaceResolver
❍ interface com.tibco.xml.data.primitive.NamespaceResolver (also extends
com.tibco.xml.data.primitive.NamespaceToPrefixResolver)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Hierarchy For Package com.tibco.xml.runtime


Package Hierarchies:
All Packages

Class Hierarchy
❍ class java.lang.Object
❍ class java.lang.Throwable (implements java.io.Serializable)

❍ class java.lang.Exception

❍ class com.tibco.xml.runtime.MissingConnectionException

Interface Hierarchy
❍ interface com.tibco.xml.runtime.IBlackBox
❍ interface com.tibco.xml.runtime.IConfigurable
❍ interface com.tibco.xml.runtime.IConnectionBuilder
❍ interface com.tibco.xml.runtime.IContextConsumer
❍ interface com.tibco.xml.runtime.IContextProvider
❍ interface com.tibco.xml.runtime.IFactory

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Hierarchy For Package com.tibco.xml.schema


Package Hierarchies:
All Packages

Class Hierarchy
❍ class java.lang.Object
❍ class com.tibco.xml.schema.SmFactory

❍ class com.tibco.xml.schema.SmSupport
❍ class com.tibco.xml.schema.SmVisitor.Default (implements
com.tibco.xml.schema.SmVisitor)
❍ class java.lang.Throwable (implements java.io.Serializable)
❍ class java.lang.Exception

❍ class com.tibco.xml.schema.SmException

❍ class com.tibco.xml.schema.SmVisitor.Result
❍ class com.tibco.xml.schema.SmVisitor.Failure
❍ class com.tibco.xml.schema.SmVisitor.Success

Interface Hierarchy
❍ interface com.tibco.xml.channel.entity.EntityConsumer
❍ interface com.tibco.xml.schema.NewSchemaParser (also extends
com.tibco.xml.channel.error.ErrorSupplier,
com.tibco.xml.schema.channel.NamespaceEntityConsumer,
com.tibco.xml.schema.channel.SchemaModelConsumer,
com.tibco.xml.schema.channel.SchemaModelSupplier)
❍ interface com.tibco.xml.channel.error.ErrorSupplier
❍ interface com.tibco.xml.schema.NewSchemaParser (also extends
com.tibco.xml.channel.entity.EntityConsumer,
com.tibco.xml.schema.channel.NamespaceEntityConsumer,
com.tibco.xml.schema.channel.SchemaModelConsumer,
com.tibco.xml.schema.channel.SchemaModelSupplier)
❍ interface com.tibco.xml.schema.channel.NamespaceEntityConsumer
❍ interface com.tibco.xml.schema.NewSchemaParser (also extends
com.tibco.xml.channel.entity.EntityConsumer, com.tibco.xml.channel.error.ErrorSupplier,
com.tibco.xml.schema.channel.SchemaModelConsumer,
com.tibco.xml.schema.channel.SchemaModelSupplier)
❍ interface com.tibco.xml.schema.NamespaceEntityResolver
❍ interface com.tibco.xml.schema.channel.SchemaModelConsumer
❍ interface com.tibco.xml.schema.NewSchemaParser (also extends
com.tibco.xml.channel.entity.EntityConsumer, com.tibco.xml.channel.error.ErrorSupplier,
com.tibco.xml.schema.channel.NamespaceEntityConsumer,
com.tibco.xml.schema.channel.SchemaModelSupplier)
❍ interface com.tibco.xml.schema.channel.SchemaModelSupplier
❍ interface com.tibco.xml.schema.NewSchemaParser (also extends
com.tibco.xml.channel.entity.EntityConsumer, com.tibco.xml.channel.error.ErrorSupplier,
com.tibco.xml.schema.channel.NamespaceEntityConsumer,
com.tibco.xml.schema.channel.SchemaModelConsumer)
❍ interface com.tibco.xml.schema.SmComponent
❍ interface com.tibco.xml.schema.SmIdentityConstraint
❍ interface com.tibco.xml.schema.SmMetaInfo
❍ interface com.tibco.xml.schema.SmMetaForeignAttribute
❍ interface com.tibco.xml.schema.SmNotation
❍ interface com.tibco.xml.schema.SmParticle
❍ interface com.tibco.xml.schema.SmParticleTerm
❍ interface com.tibco.xml.schema.SmDataComponent
❍ interface com.tibco.xml.schema.SmAttribute
❍ interface com.tibco.xml.schema.SmElement
❍ interface com.tibco.xml.schema.SmModelGroup
❍ interface com.tibco.xml.schema.SmAttributeGroup
❍ interface com.tibco.xml.schema.SmWildcard
❍ interface com.tibco.xml.schema.SmType
❍ interface com.tibco.xml.schema.SmTypeFacet
❍ interface com.tibco.xml.schema.SmConverter
❍ interface com.tibco.xml.schema.SmFlavor
❍ interface com.tibco.xml.schema.SmIdentityConstraint.Path
❍ interface com.tibco.xml.schema.SmParser
❍ interface com.tibco.xml.schema.SmSchema
❍ interface com.tibco.xml.schema.SmSchemaError
❍ interface com.tibco.xml.schema.SmSchemaError.Handler
❍ interface com.tibco.xml.schema.SmSchemaError.Source
❍ interface com.tibco.xml.schema.SmSchemaSpace
❍ interface com.tibco.xml.schema.SmVisitor

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Hierarchy For Package


com.tibco.xml.schema.channel
Package Hierarchies:
All Packages

Interface Hierarchy
❍ interface com.tibco.xml.schema.channel.NamespaceEntityConsumer
❍ interface com.tibco.xml.schema.channel.SchemaModelConsumer
❍ interface com.tibco.xml.schema.channel.SchemaModelHandler
❍ interface com.tibco.xml.schema.channel.SchemaModelProvider
❍ interface com.tibco.xml.schema.channel.SchemaModelSupplier

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Hierarchy For Package com.tibco.xml.validation


Package Hierarchies:
All Packages

Class Hierarchy
❍ class java.lang.Object
❍ class com.tibco.xml.validation.ErrorCode

❍ class com.tibco.xml.validation.PrintWriterErrorHandler (implements


org.xml.sax.ErrorHandler)
❍ class com.tibco.xml.validation.StringValidation
❍ class java.lang.Throwable (implements java.io.Serializable)
❍ class java.lang.Exception

❍ class org.xml.sax.SAXException

❍ class com.tibco.xml.validation.SchemaException

❍ class com.tibco.xml.validation.XMLValidationException
❍ class com.tibco.xml.validation.ValidationFactory
❍ class com.tibco.xml.validation.ValidationUtilities
❍ class com.tibco.xml.validation.Version

Interface Hierarchy
❍ interface com.tibco.xml.validation.SchemaMap
❍ interface org.xml.sax.XMLReader
❍ interface org.xml.sax.XMLFilter

❍ interface com.tibco.xml.validation.XMLValidator

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Hierarchy For Package


com.tibco.xml.validation.channel
Package Hierarchies:
All Packages

Interface Hierarchy
❍ interface com.tibco.xml.validation.channel.LocationHintHandler
❍ interface com.tibco.xml.validation.channel.LocationHintSupplier

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Hierarchy For Package


com.tibco.xml.validation.helpers
Package Hierarchies:
All Packages

Class Hierarchy
❍ class java.lang.Object
❍ class com.tibco.xml.validation.helpers.ValidatingFilter_ExternalCache (implements
com.tibco.xml.channel.property.PropertyConsumer, org.xml.sax.XMLFilter)
❍ class com.tibco.xml.validation.helpers.ValidatingFilter_InternalCache (implements
com.tibco.xml.channel.property.PropertyConsumer, org.xml.sax.XMLFilter)
❍ class com.tibco.xml.validation.helpers.Validator_DOM_Remark_ExternalCache
(implements com.tibco.xml.channel.dom.DOMHandler,
com.tibco.xml.channel.dom.DOMSupplier,
com.tibco.xml.schema.channel.SchemaModelConsumer,
com.tibco.xml.channel.typeuri.TypeURISupplier,
com.tibco.xml.channel.remark.XmlRemarkHandler,
com.tibco.xml.channel.remark.XmlRemarkSupplier,
com.tibco.xml.channel.stream.XmlStreamSupplier)
❍ class com.tibco.xml.validation.helpers.Validator_SAX_Error_ExternalCache
(implements org.xml.sax.ContentHandler, com.tibco.xml.channel.content.ContentSupplier,
com.tibco.xml.channel.error.ErrorSupplier,
com.tibco.xml.schema.channel.SchemaModelConsumer)
❍ class com.tibco.xml.validation.helpers.Validator_SAX_Error_InternalCache (implements
org.xml.sax.ContentHandler, com.tibco.xml.channel.content.ContentSupplier,
com.tibco.xml.channel.entity.EntityConsumer, org.xml.sax.EntityResolver,
com.tibco.xml.channel.error.ErrorSupplier,
com.tibco.xml.channel.property.PropertyConsumer)
❍ class com.tibco.xml.validation.helpers.Validator_SAX_Remark_ExternalCache
(implements com.tibco.xml.channel.content.ContentFilter,
com.tibco.xml.channel.boundary.DocumentBoundarySupplier,
com.tibco.xml.schema.channel.SchemaModelConsumer,
com.tibco.xml.channel.remark.XmlRemarkFilter,
com.tibco.xml.channel.stream.XmlStreamSupplier)
❍ class com.tibco.xml.validation.helpers.Validator_SAX_Remark_InternalCache
(implements org.xml.sax.ContentHandler, com.tibco.xml.channel.content.ContentSupplier,
com.tibco.xml.channel.entity.EntityConsumer, org.xml.sax.EntityResolver,
com.tibco.xml.channel.property.PropertyConsumer,
com.tibco.xml.channel.remark.XmlRemarkFilter,
com.tibco.xml.channel.stream.XmlStreamSupplier)
❍ class com.tibco.xml.validation.helpers.XMLValidatorFilterImplMk1 (implements
com.tibco.xml.validation.XMLValidator)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Hierarchy For Package


com.tibco.xml.validation.scripting
Package Hierarchies:
All Packages

Class Hierarchy
❍ class java.lang.Object
❍ class com.tibco.xml.validation.scripting.ScriptingAdjunctValidator (implements
org.xml.sax.ContentHandler, com.tibco.xml.channel.content.ContentSupplier,
com.tibco.xml.channel.remark.XmlRemarkSupplier,
com.tibco.xml.channel.stream.XmlStreamSupplier)
❍ class com.tibco.xml.validation.scripting.ScriptingSimpleTypeCompilers (implements
com.tibco.xml.channel.simpletypecompiler.SimpleTypeCompilerProvider)
❍ class com.tibco.xml.validation.scripting.ScriptingValidatorMk1 (implements
com.tibco.xml.adjuncts.channel.AdjunctConsumer,
com.tibco.xml.channel.dom.DOMHandler, com.tibco.xml.channel.dom.DOMSupplier,
com.tibco.xml.runtime.IBlackBox, com.tibco.xml.channel.property.PropertyConsumer,
com.tibco.xml.channel.property.PropertySupplier,
com.tibco.xml.channel.typeuri.TypeURIHandler,
com.tibco.xml.channel.remark.XmlRemarkSupplier)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.processor
Class XmlStreamCompiler.XmlStreamCompilerContext

java.lang.Object
|
+--com.tibco.xml.processor.XmlStreamCompiler.XmlStreamCompilerContext
All Implemented Interfaces:
com.tibco.xml.channel.simpletypecompiler.SimpleTypeCompilerConsumer, XmlRemarkSupplier, XmlStreamHandler
Enclosing class:
XmlStreamCompiler

public class XmlStreamCompiler.XmlStreamCompilerContext


extends java.lang.Object
implements XmlStreamHandler, XmlRemarkSupplier, com.tibco.xml.channel.simpletypecompiler.SimpleTypeCompilerConsumer

Constructor Summary
XmlStreamCompiler.XmlStreamCompilerContext()

Method Summary
void 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 setSimpleTypeCompilerProvider(com.tibco.xml.channel.simpletypecompiler.SimpleTypeCompilerProvider provider)

void setXmlRemarkHandler(XmlRemarkHandler handler)


Allows an application to register and unregister an XmlRemarkHandler for this supplier.
void 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

Constructor Detail
XmlStreamCompiler.XmlStreamCompilerContext

public XmlStreamCompiler.XmlStreamCompilerContext()

Method Detail
setDocumentLocator

public 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.

setDocumentCursor

public 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.

startDocument

public void startDocument()


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.

endDocument

public void endDocument()


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.
processingInstruction

public void processingInstruction()


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.

startElement

public 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.

endElement

public 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.
attribute

public 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.

text

public 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.

setXmlRemarkHandler

public 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.
setSimpleTypeCompilerProvider

public void
setSimpleTypeCompilerProvider(com.tibco.xml.channel.simpletypecompiler.SimpleTypeCompilerProvider provider)
Specified by:
setSimpleTypeCompilerProvider in interface com.tibco.xml.channel.simpletypecompiler.SimpleTypeCompilerConsumer

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.tibco.xml.processor
Class XmlStreamSimplEx.XmlStreamCompilerContext

java.lang.Object
|
+--com.tibco.xml.processor.XmlStreamSimplEx.XmlStreamCompilerContext
All Implemented Interfaces:
com.tibco.xml.channel.simpletypecompiler.SimpleTypeCompilerConsumer, XmlRemarkSupplier, XmlStreamHandler
Enclosing class:
XmlStreamSimplEx

public class XmlStreamSimplEx.XmlStreamCompilerContext


extends java.lang.Object
implements XmlStreamHandler, XmlRemarkSupplier, com.tibco.xml.channel.simpletypecompiler.SimpleTypeCompilerConsumer

Constructor Summary
XmlStreamSimplEx.XmlStreamCompilerContext()

Method Summary
void 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 setSimpleTypeCompilerProvider(com.tibco.xml.channel.simpletypecompiler.SimpleTypeCompilerProvider provider)

void setXmlRemarkHandler(XmlRemarkHandler handler)


Allows an application to register and unregister an XmlRemarkHandler for this supplier.
void 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

Constructor Detail
XmlStreamSimplEx.XmlStreamCompilerContext

public XmlStreamSimplEx.XmlStreamCompilerContext()

Method Detail
setDocumentLocator

public 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.

setDocumentCursor

public 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.

startDocument

public void startDocument()


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.

endDocument

public void endDocument()


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.
processingInstruction

public void processingInstruction()


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.

startElement

public 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.

endElement

public 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.
attribute

public 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.

text

public 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.

setXmlRemarkHandler

public 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.
setSimpleTypeCompilerProvider

public void
setSimpleTypeCompilerProvider(com.tibco.xml.channel.simpletypecompiler.SimpleTypeCompilerProvider provider)
Specified by:
setSimpleTypeCompilerProvider in interface com.tibco.xml.channel.simpletypecompiler.SimpleTypeCompilerConsumer

Overview Package Class Use Tree Deprecated Index Help


PREV 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 Help
PREV NEXT FRAMES NO FRAMES

Uses of Package
com.tibco.xml.validation.helpers
No usage of com.tibco.xml.validation.helpers

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Package
com.tibco.xml.validation.kernel
Packages that use com.tibco.xml.validation.kernel
com.tibco.xml.validation.kernel Validation components that may be used to assemble a specialized
validator.

Classes in com.tibco.xml.validation.kernel used by


com.tibco.xml.validation.kernel
SAXLocationHintSupplier
Extracts schema location and document hints from a SAX stream and provides them to listeners.
ValidationKernel
Validates the XmlStream against the associated schema type information.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Package
com.tibco.xml.validation.constraints
Packages that use com.tibco.xml.validation.constraints
com.tibco.xml.validation.constraints A mechanism for adding custom constraints to the validator.

Classes in com.tibco.xml.validation.constraints used by


com.tibco.xml.validation.constraints
ConstraintChecker
Interface that a custom constraint checker must support.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Package
com.tibco.xml.validation.scripting
No usage of com.tibco.xml.validation.scripting

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Package
com.tibco.xml.schema
Packages that use com.tibco.xml.schema
com.tibco.xml.data.context.helpers Utility classes for operating on XML contexts.
com.tibco.xml.data.cursor.helpers Utility classes for operating on XML cursors.
The XmlNode interface, representing information common to an
com.tibco.xml.data.node
XML context and an XML cursor.
This package contains a collection of interfaces for
com.tibco.xml.schema
representation of a schema.
com.tibco.xml.schema.channel Schema provisioning interfaces.
Validation components that may be used to assemble a
com.tibco.xml.validation.kernel
specialized validator.

Classes in com.tibco.xml.schema used by


com.tibco.xml.data.context.helpers
SmDataComponent
SmDataComponent represents an data object in a schema (either an element or attribute), which
may be global to a schema or local to some type.
SmSchema
SmSchema is an model for a read-only schema.
SmType
SmType represents all types in a schema, both simple types and complex types, though some
methods are only applicable to one or the other.

Classes in com.tibco.xml.schema used by


com.tibco.xml.data.cursor.helpers
SmDataComponent
SmDataComponent represents an data object in a schema (either an element or attribute), which
may be global to a schema or local to some type.
SmSchema
SmSchema is an model for a read-only schema.
SmType
SmType represents all types in a schema, both simple types and complex types, though some
methods are only applicable to one or the other.

Classes in com.tibco.xml.schema used by


com.tibco.xml.data.node
SmDataComponent
SmDataComponent represents an data object in a schema (either an element or attribute), which
may be global to a schema or local to some type.
SmSchema
SmSchema is an model for a read-only schema.
SmType
SmType represents all types in a schema, both simple types and complex types, though some
methods are only applicable to one or the other.

Classes in com.tibco.xml.schema used by


com.tibco.xml.schema
SmAttribute
SmAttribute represents an attribute declaration, which may be global or local to some type.
SmAttributeGroup
SmAttributeGroup is a SmModelGroup with the constraint that all particles are attributes and the
compositor is ALL.
SmComponent
SmComponent is the base interface for all schema components, such as element and attribute
declarations.
SmConverter
SmConverter is an interface used by SmFactory for creating a SmSchema from an existing object
(such as Extensibility's SmSchema).
SmDataComponent
SmDataComponent represents an data object in a schema (either an element or attribute), which
may be global to a schema or local to some type.
SmElement
The SmElement interface models an element declaration, which could be global within the
schema or local to some other element.
SmException

SmFactory
SmFactory keeps a set of converters and a parser for use in creating SmSchema objects.
SmFlavor
SmFlavor identifies the "flavor" of a schema, such as DTD or XSDL.
SmIdentityConstraint
SmIdentityConstraint describes key/key/unique constraints on the schema.
SmIdentityConstraint.Path
An interface for representing parsed field / selector XPaths.
SmMetaForeignAttribute

SmMetaInfo
Parent of meta-information holders
SmModelGroup
SmModelGroup represents a group of content sequences.
SmNotation
Notation
SmParser
SmParser is an interface used by SmFactory for creating a SmSchema from an InputSource.
SmParticle
A SmParticle is a component of a group.
SmParticleTerm
SmParticleTerm is a marker interface for items that can be the term of a particle.
SmSchema
SmSchema is an model for a read-only schema.
SmSchemaError
SmSchemaError.Handler

SmSchemaSpace
SmSchemaSpace is a collection of namespace-to-schema mappings.
SmType
SmType represents all types in a schema, both simple types and complex types, though some
methods are only applicable to one or the other.
SmTypeFacet
SmTypeFacet represents data-type facets.
SmVisitor

SmVisitor.Result
Result of a "search" visit.
SmWildcard
SmWildcard represent wildcard terms of content models.

Classes in com.tibco.xml.schema used by


com.tibco.xml.schema.channel
NamespaceEntityResolver
A resolver that maps a namespace URI and an optional location URI "hint" to an InputSource,
typically for a schema.
SmSchema
SmSchema is an model for a read-only schema.

Classes in com.tibco.xml.schema used by


com.tibco.xml.validation.kernel
SmSchema
SmSchema is an model for a read-only schema.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES
Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Package
com.tibco.xml.schema.channel
Packages that use com.tibco.xml.schema.channel
com.tibco.xml.processor Processors for manipulating XML information sets.
This package contains a collection of interfaces for representation
com.tibco.xml.schema
of a schema.
com.tibco.xml.schema.channel Schema provisioning interfaces.
com.tibco.xml.validation.helpers Ready-to-use validation patterns.

com.tibco.xml.validation.kernel Validation components that may be used to assemble a specialized


validator.

Classes in com.tibco.xml.schema.channel used by


com.tibco.xml.processor
SchemaModelConsumer
Implemented by components that require the services of a SchemaModelProvider.
SchemaModelProvider
Implemented by components to provide a schema through a pull mechanism.

Classes in com.tibco.xml.schema.channel used by


com.tibco.xml.schema
NamespaceEntityConsumer

SchemaModelConsumer
Implemented by components that require the services of a SchemaModelProvider.
SchemaModelSupplier
Implemented by components that supply a schema model, through a push mechanism, to a
SchemaModelHandler.

Classes in com.tibco.xml.schema.channel used by


com.tibco.xml.schema.channel
SchemaModelHandler
Implemented by components to handle schemas.
SchemaModelProvider
Implemented by components to provide a schema through a pull mechanism.

Classes in com.tibco.xml.schema.channel used by


com.tibco.xml.validation.helpers
SchemaModelConsumer
Implemented by components that require the services of a SchemaModelProvider.
SchemaModelProvider
Implemented by components to provide a schema through a pull mechanism.

Classes in com.tibco.xml.schema.channel used by


com.tibco.xml.validation.kernel
SchemaModelConsumer
Implemented by components that require the services of a SchemaModelProvider.
SchemaModelHandler
Implemented by components to handle schemas.
SchemaModelProvider
Implemented by components to provide a schema through a pull mechanism.
SchemaModelSupplier
Implemented by components that supply a schema model, through a push mechanism, to a
SchemaModelHandler.
Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Package
com.tibco.xml.validation
Packages that use com.tibco.xml.validation
com.tibco.xml.validation XML Validation in a pure SAX 2.0 environment.
com.tibco.xml.validation.helpers Ready-to-use validation patterns.

Classes in com.tibco.xml.validation used by


com.tibco.xml.validation
SchemaException
An exception class for problems encountered while parsing or checking a schema.
SchemaMap
A collection of pre-parsed schema/DTD representations for use by an XMLValidator.
XMLValidator
An XMLFilter that performs schema validation on the SAX2 ContentHandler event stream.

Classes in com.tibco.xml.validation used by


com.tibco.xml.validation.helpers
SchemaMap
A collection of pre-parsed schema/DTD representations for use by an XMLValidator.
XMLValidator
An XMLFilter that performs schema validation on the SAX2 ContentHandler event stream.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES
Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Package
com.tibco.xml.adjuncts.channel
Packages that use com.tibco.xml.adjuncts.channel
com.tibco.xml.adjuncts.channel Provisioning of schema adjuncts.
Validation components that may be used to assemble a
com.tibco.xml.validation.kernel
specialized validator.

com.tibco.xml.validation.scripting A mechanism for extending standard validation using XML


Processing Language (XPL) script.

Classes in com.tibco.xml.adjuncts.channel used by


com.tibco.xml.adjuncts.channel
AdjunctHandler
Implemented by components to handle adjuncts.
AdjunctProvider
Implemented by components to provide an adjunct through a pull mechanism.

Classes in com.tibco.xml.adjuncts.channel used by


com.tibco.xml.validation.kernel
AdjunctConsumer
Implemented by components that require the services of an AdjunctProvider.
AdjunctHandler
Implemented by components to handle adjuncts.
AdjunctProvider
Implemented by components to provide an adjunct through a pull mechanism.
AdjunctSupplier
Implemented by components that supply an adjunct, through a push mechanism, to an
AdjunctHandler.

Classes in com.tibco.xml.adjuncts.channel used by


com.tibco.xml.validation.scripting
AdjunctConsumer
Implemented by components that require the services of an AdjunctProvider.
AdjunctProvider
Implemented by components to provide an adjunct through a pull mechanism.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Package
com.tibco.xml.channel.boundary
Packages that use com.tibco.xml.channel.boundary
com.tibco.xml.channel.boundary XML document boundary notifications.
com.tibco.xml.processor Processors for manipulating XML information sets.
com.tibco.xml.validation.helpers Ready-to-use validation patterns.
Validation components that may be used to assemble a specialized
com.tibco.xml.validation.kernel
validator.

Classes in com.tibco.xml.channel.boundary used by


com.tibco.xml.channel.boundary
DocumentBoundaryHandler

Classes in com.tibco.xml.channel.boundary used by


com.tibco.xml.processor
DocumentBoundaryHandler

DocumentBoundarySupplier

Classes in com.tibco.xml.channel.boundary used by


com.tibco.xml.validation.helpers
DocumentBoundaryHandler

DocumentBoundarySupplier

Classes in com.tibco.xml.channel.boundary used by


com.tibco.xml.validation.kernel
DocumentBoundaryHandler

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Package
com.tibco.xml.channel.content
Packages that use com.tibco.xml.channel.content
com.tibco.xml.channel.content SAX content information channels.
com.tibco.xml.processor Processors for manipulating XML information sets.
com.tibco.xml.validation.helpers Ready-to-use validation patterns.
Validation components that may be used to assemble a
com.tibco.xml.validation.kernel
specialized validator.

com.tibco.xml.validation.scripting A mechanism for extending standard validation using XML


Processing Language (XPL) script.

Classes in com.tibco.xml.channel.content used by


com.tibco.xml.channel.content
ContentProvider
Implemented by components that can provide SAX Content through a pull mechanism to a
ContentConsumer.
ContentSupplier
Implemented by components that supply SAX Content to one SAX ContentHandler.

Classes in com.tibco.xml.channel.content used by


com.tibco.xml.processor
ContentConsumer
Implemented by components that require SAX Content from a ContentProvider to operate.
ContentFilter
Implemented by components that handle and supply SAX Content.
ContentProvider
Implemented by components that can provide SAX Content through a pull mechanism to a
ContentConsumer.
ContentSupplier
Implemented by components that supply SAX Content to one SAX ContentHandler.

Classes in com.tibco.xml.channel.content used by


com.tibco.xml.validation.helpers
ContentFilter
Implemented by components that handle and supply SAX Content.
ContentSupplier
Implemented by components that supply SAX Content to one SAX ContentHandler.

Classes in com.tibco.xml.channel.content used by


com.tibco.xml.validation.kernel
ContentFilter
Implemented by components that handle and supply SAX Content.
ContentSupplier
Implemented by components that supply SAX Content to one SAX ContentHandler.

Classes in com.tibco.xml.channel.content used by


com.tibco.xml.validation.scripting
ContentSupplier
Implemented by components that supply SAX Content to one SAX ContentHandler.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Package
com.tibco.xml.channel.context
Packages that use com.tibco.xml.channel.context
com.tibco.xml.channel.context XML Context information channels.

Classes in com.tibco.xml.channel.context used by


com.tibco.xml.channel.context
XmlContextProvider
Implemented by components that can provide an XML Context through a pull mechanism to an
XmlContextConsumer.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.channel.boundary.DocumentBoundarySupplier
Packages that use DocumentBoundarySupplier
com.tibco.xml.processor Processors for manipulating XML information sets.
com.tibco.xml.validation.helpers Ready-to-use validation patterns.

Uses of DocumentBoundarySupplier in
com.tibco.xml.processor

Classes in com.tibco.xml.processor that implement DocumentBoundarySupplier


class SAXContent2XmlStream
Performs conversion from SAX Content to an untyped XML Stream.
class SAXContent2XmlStream.SAXContent2XmlKernel
The internal helper class that actually does all the work.

Uses of DocumentBoundarySupplier in
com.tibco.xml.validation.helpers

Classes in com.tibco.xml.validation.helpers that implement DocumentBoundarySupplier


class Validator_SAX_Remark_ExternalCache
A validator that accepts SAX Content, generates XML remarks, with an external
schema cache.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.channel.dom.DocumentConsumer
Packages that use DocumentConsumer
com.tibco.xml.processor Processors for manipulating XML information sets.

Uses of DocumentConsumer in com.tibco.xml.processor

Classes in com.tibco.xml.processor that implement DocumentConsumer


class Aggregate

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.runtime.data.DocumentLocatorConsumer
No usage of com.tibco.xml.runtime.data.DocumentLocatorConsumer

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.runtime.data.DocumentLocatorProvider
Packages that use DocumentLocatorProvider
This package contains some standard "channel" interfaces for XML
com.tibco.xml.runtime.data
Runtime.

Uses of DocumentLocatorProvider in
com.tibco.xml.runtime.data

Methods in com.tibco.xml.runtime.data with parameters of type DocumentLocatorProvider


void DocumentLocatorConsumer.setDocumentLocatorProvider(DocumentLocatorProvider provider)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.channel.dom.DocumentProvider
Packages that use DocumentProvider
com.tibco.xml.channel.dom This package contains interfaces and implementations supporting
org.w3c.dom information channels.
com.tibco.xml.processor Processors for manipulating XML information sets.

Uses of DocumentProvider in com.tibco.xml.channel.dom

Methods in com.tibco.xml.channel.dom with parameters of type DocumentProvider


void DocumentConsumer.setDocumentProvider(DocumentProvider provider)

Uses of DocumentProvider in com.tibco.xml.processor

Methods in com.tibco.xml.processor with parameters of type DocumentProvider


void Aggregate.setDocumentProvider(DocumentProvider provider)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.processor.DOM2Content
No usage of com.tibco.xml.processor.DOM2Content

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.processor.DOM2XmlStream
No usage of com.tibco.xml.processor.DOM2XmlStream

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.channel.dom.DOMHandler
Packages that use DOMHandler
com.tibco.xml.channel.dom This package contains interfaces and implementations supporting
org.w3c.dom information channels.
com.tibco.xml.processor Processors for manipulating XML information sets.
com.tibco.xml.validation.helpers Ready-to-use validation patterns.
A mechanism for extending standard validation using XML
com.tibco.xml.validation.scripting
Processing Language (XPL) script.

Uses of DOMHandler in com.tibco.xml.channel.dom

Methods in com.tibco.xml.channel.dom with parameters of type DOMHandler


void DOMSupplier.addDOMHandler(DOMHandler handler)

void DOMSupplier.removeDOMHandler(DOMHandler handler)

Uses of DOMHandler in com.tibco.xml.processor

Classes in com.tibco.xml.processor that implement DOMHandler


class DOM2Content
Traverses a Document to generate SAX Content.
class DOM2XmlStream
Traverses a Document to generate an XML stream.

Methods in com.tibco.xml.processor with parameters of type DOMHandler


void DOM2XmlStream.addDOMHandler(DOMHandler handler)
void DOM2XmlStream.removeDOMHandler(DOMHandler handler)

void SAXContent2DOM.addDOMHandler(DOMHandler handler)

void SAXContent2DOM.removeDOMHandler(DOMHandler handler)

void XmlStream2DOM.addDOMHandler(DOMHandler handler)

void XmlStream2DOM.removeDOMHandler(DOMHandler handler)

Uses of DOMHandler in com.tibco.xml.validation.helpers

Classes in com.tibco.xml.validation.helpers that implement DOMHandler


class Validator_DOM_Remark_ExternalCache
A DOM validator producing XML remarks and employing an external schema cache.

Methods in com.tibco.xml.validation.helpers with parameters of type DOMHandler


void Validator_DOM_Remark_ExternalCache.addDOMHandler(DOMHandler handler)

void Validator_DOM_Remark_ExternalCache.removeDOMHandler(DOMHandler handler)

Uses of DOMHandler in com.tibco.xml.validation.scripting

Classes in com.tibco.xml.validation.scripting that implement DOMHandler


class ScriptingValidatorMk1
Scripting Extended Validation Implementation.

Methods in com.tibco.xml.validation.scripting with parameters of type DOMHandler


void ScriptingValidatorMk1.addDOMHandler(DOMHandler handler)

void ScriptingValidatorMk1.removeDOMHandler(DOMHandler handler)


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.channel.dom.DOMSupplier
Packages that use DOMSupplier
com.tibco.xml.processor Processors for manipulating XML information sets.
com.tibco.xml.validation.helpers Ready-to-use validation patterns.

com.tibco.xml.validation.scripting A mechanism for extending standard validation using XML


Processing Language (XPL) script.

Uses of DOMSupplier in com.tibco.xml.processor

Classes in com.tibco.xml.processor that implement DOMSupplier


class SAXContent2DOM
Performs conversion from SAX Content to a Document.
class XmlStream2DOM
Performs conversion from an XML stream to a document.

Uses of DOMSupplier in com.tibco.xml.validation.helpers

Classes in com.tibco.xml.validation.helpers that implement DOMSupplier


class Validator_DOM_Remark_ExternalCache
A DOM validator producing XML remarks and employing an external schema cache.

Uses of DOMSupplier in com.tibco.xml.validation.scripting


Classes in com.tibco.xml.validation.scripting that implement DOMSupplier
class ScriptingValidatorMk1
Scripting Extended Validation Implementation.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.runtime.data.DTDSupplier
No usage of com.tibco.xml.runtime.data.DTDSupplier

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.runtime.data.Entity
Packages that use Entity
Interfaces used by the validator to communicate schema location
com.tibco.xml.validation.channel
hints in documents.

com.tibco.xml.validation.kernel Validation components that may be used to assemble a specialized


validator.

Uses of Entity in com.tibco.xml.validation.channel

Methods in com.tibco.xml.validation.channel with parameters of type Entity


void LocationHintHandler.locationHintDTD(java.lang.String namespace,
Entity entity)

Uses of Entity in com.tibco.xml.validation.kernel

Methods in com.tibco.xml.validation.kernel with parameters of type Entity


void DefaultSchemaSupplier.locationHintDTD(java.lang.String namespaceURI,
Entity entity)

void DefaultNamespaceConverter.locationHintDTD(java.lang.String namespaceURI,


Entity entity)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.channel.entity.EntityConsumer
Packages that use EntityConsumer
com.tibco.xml.processor Processors for manipulating XML information sets.
This package contains a collection of interfaces for representation
com.tibco.xml.schema
of a schema.
com.tibco.xml.validation.helpers Ready-to-use validation patterns.

com.tibco.xml.validation.kernel Validation components that may be used to assemble a specialized


validator.

Uses of EntityConsumer in com.tibco.xml.processor

Classes in com.tibco.xml.processor that implement EntityConsumer


class XmlStreamParser

Uses of EntityConsumer in com.tibco.xml.schema

Subinterfaces of EntityConsumer in com.tibco.xml.schema


interface NewSchemaParser
A generalized schema/DTD parser.

Uses of EntityConsumer in
com.tibco.xml.validation.helpers
Classes in com.tibco.xml.validation.helpers that implement EntityConsumer
class Validator_SAX_Error_InternalCache
A validator with SAX interfaces but not a SAX Filter, and with an internal schema
cache.
class Validator_SAX_Remark_InternalCache
A validator with SAX interfaces but not a SAX Filter, emits XML remarks, and with an
internal schema cache.

Uses of EntityConsumer in com.tibco.xml.validation.kernel

Classes in com.tibco.xml.validation.kernel that implement EntityConsumer


class DefaultSchemaSupplier
Supplies SmSchema(s) when driven by Location Hints.
class SAXLocationHintSupplier
Extracts schema location and document hints from a SAX stream and provides them to
listeners.
class Validator
The core XML Validator implementation.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.validation.ErrorCode
No usage of com.tibco.xml.validation.ErrorCode

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.channel.error.ErrorSupplier
Packages that use ErrorSupplier
This package contains a collection of interfaces for representation
com.tibco.xml.schema
of a schema.
com.tibco.xml.validation.helpers Ready-to-use validation patterns.

com.tibco.xml.validation.kernel Validation components that may be used to assemble a specialized


validator.

Uses of ErrorSupplier in com.tibco.xml.schema

Subinterfaces of ErrorSupplier in com.tibco.xml.schema


interface NewSchemaParser
A generalized schema/DTD parser.

Uses of ErrorSupplier in com.tibco.xml.validation.helpers

Classes in com.tibco.xml.validation.helpers that implement ErrorSupplier


class Validator_SAX_Error_ExternalCache
A validator with SAX interfaces but not a SAX Filter, and employing an external
schema model provider.
class Validator_SAX_Error_InternalCache
A validator with SAX interfaces but not a SAX Filter, and with an internal schema
cache.
Uses of ErrorSupplier in com.tibco.xml.validation.kernel

Classes in com.tibco.xml.validation.kernel that implement ErrorSupplier


class DefaultAdjunctSupplier
Supplies adjunct Document(s) when driven by Location Hints.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.channel.error.ErrorSupplierMulticast
No usage of com.tibco.xml.channel.error.ErrorSupplierMulticast

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.data.primitive.ExpandedName
Packages that use ExpandedName
com.tibco.xml.data.context The XmlContext interface, representing a context in an XML information set.
com.tibco.xml.data.context.helpers Utility classes for operating on XML contexts.
com.tibco.xml.data.cursor The XmlCursor interface, representing a cursor over an XML information set.
com.tibco.xml.data.cursor.helpers Utility classes for operating on XML cursors.
The XmlNode interface, representing information common to an XML context and an
com.tibco.xml.data.node
XML cursor.
com.tibco.xml.data.primitive XML primitive types.
com.tibco.xml.validation.channel Interfaces used by the validator to communicate schema location hints in documents.
com.tibco.xml.validation.kernel Validation components that may be used to assemble a specialized validator.
A mechanism for extending standard validation using XML Processing Language (XPL)
com.tibco.xml.validation.scripting
script.

Uses of ExpandedName in com.tibco.xml.data.context

Methods in com.tibco.xml.data.context with parameters of type ExpandedName


XmlContext XmlContext.getAttribute(ExpandedName name)
Return the attribute with the specified name.

Uses of ExpandedName in com.tibco.xml.data.context.helpers

Methods in com.tibco.xml.data.context.helpers that return ExpandedName


ExpandedName XmlContextOnXmlCursor.getName()

Methods in com.tibco.xml.data.context.helpers with parameters of type ExpandedName


java.lang.String XmlContextOnXmlCursor.getAttributeValue(ExpandedName name)

XmlContext XmlContextOnXmlCursor.getAttribute(ExpandedName name)

Uses of ExpandedName in com.tibco.xml.data.cursor

Methods in com.tibco.xml.data.cursor that return ExpandedName


static ExpandedName UndefinedPropertyException.getNodeTypeName(short nodeType)

Uses of ExpandedName in com.tibco.xml.data.cursor.helpers

Methods in com.tibco.xml.data.cursor.helpers that return ExpandedName


ExpandedName XmlCursor4DOM.getName()

ExpandedName XmlCursorOnXmlContext.getName()

Methods in com.tibco.xml.data.cursor.helpers with parameters of type ExpandedName


boolean XmlCursorNoNavigation.moveToAttribute(ExpandedName name)

java.lang.String XmlCursor4DOM.getAttributeValue(ExpandedName name)

boolean XmlCursor4DOM.moveToAttribute(ExpandedName name)

java.lang.String XmlCursorOnXmlContext.getAttributeValue(ExpandedName name)

boolean XmlCursorOnXmlContext.moveToAttribute(ExpandedName name)

Uses of ExpandedName in com.tibco.xml.data.node


Fields in com.tibco.xml.data.node declared as ExpandedName
static ExpandedName XmlTypes.NAME_ELEMENT

static ExpandedName XmlTypes.NAME_ATTRIBUTE

static ExpandedName XmlTypes.NAME_TEXT

static ExpandedName XmlTypes.NAME_CDATA_SECTION

static ExpandedName XmlTypes.NAME_ENTITY_REFERENCE

static ExpandedName XmlTypes.NAME_ENTITY

static ExpandedName XmlTypes.NAME_PROCESSING_INSTRUCTION

static ExpandedName XmlTypes.NAME_COMMENT

static ExpandedName XmlTypes.NAME_DOCUMENT

static ExpandedName XmlTypes.NAME_DOCUMENT_TYPE

static ExpandedName XmlTypes.NAME_DOCUMENT_FRAGMENT

static ExpandedName XmlTypes.NAME_NOTATION

static ExpandedName XmlTypes.NAME_NAMESPACE

Methods in com.tibco.xml.data.node that return ExpandedName


ExpandedName XmlNode.getName()
Return the expanded name of this node, depending upon the type.

Methods in com.tibco.xml.data.node with parameters of type ExpandedName


java.lang.String XmlNode.getAttributeValue(ExpandedName name)
Returns the value of the attribute with the specified name.
Uses of ExpandedName in com.tibco.xml.data.primitive

Methods in com.tibco.xml.data.primitive that return ExpandedName


ExpandedName QName.getExpandedName(PrefixToNamespaceResolver resolver)
Returns the ExpandedName for this QName given a prefix to namespace resolver.
static ExpandedName ExpandedName.parse(java.lang.String name)
Given a string, create and return a ExpandedName object

Uses of ExpandedName in com.tibco.xml.validation.channel

Methods in com.tibco.xml.validation.channel with parameters of type ExpandedName


void LocationHintHandler.documentElement(ExpandedName name)

Uses of ExpandedName in com.tibco.xml.validation.kernel

Methods in com.tibco.xml.validation.kernel with parameters of type ExpandedName


void DefaultSchemaSupplier.documentElement(ExpandedName name)

void DefaultNamespaceConverter.documentElement(ExpandedName name)

Uses of ExpandedName in com.tibco.xml.validation.scripting

Methods in com.tibco.xml.validation.scripting with parameters of type ExpandedName


com.tibco.xml.channel.simpletypecompiler.SimpleTypeCompiler ScriptingSimpleTypeCompilers.getSimpleTypeCompiler(ExpandedName name)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.runtime.IBlackBox
Packages that use IBlackBox
com.tibco.xml.channel.stream.helpers Utility classes for operating on XML streams.
com.tibco.xml.processor Processors for manipulating XML information sets.
com.tibco.xml.runtime This is the main XML Runtime package.
Validation components that may be used to assemble a
com.tibco.xml.validation.kernel
specialized validator.
A mechanism for extending standard validation using XML
com.tibco.xml.validation.scripting
Processing Language (XPL) script.

Uses of IBlackBox in com.tibco.xml.channel.stream.helpers

Classes in com.tibco.xml.channel.stream.helpers that implement IBlackBox


class XmlStreamMulticastHelper
This class helps classes to support XmlStreamSupplier by managing the set of
XmlStreamHandler(s) and iteration over them when events need to be broadcast.
class XmlStreamProfiler

class XmlStreamTermination

class XmlStreamTracer

Uses of IBlackBox in com.tibco.xml.processor


Classes in com.tibco.xml.processor that implement IBlackBox
class Aggregate

class DOM2Content
Traverses a Document to generate SAX Content.
class DOM2XmlStream
Traverses a Document to generate an XML stream.
class SAXContent2DOM
Performs conversion from SAX Content to a Document.
class SAXContent2XmlStream
Performs conversion from SAX Content to an untyped XML Stream.
class SAXContentNormalizer
Performs normalization of SAX Content.
class XmlStream2DOM
Performs conversion from an XML stream to a document.
class XmlStreamEnhancer
Performs conversion from a basic XML Stream to an XML Stream with Schema
Information.

Uses of IBlackBox in com.tibco.xml.runtime

Methods in com.tibco.xml.runtime that return IBlackBox


IBlackBox IFactory.createInstance(java.lang.String classURI)

Methods in com.tibco.xml.runtime with parameters of type IBlackBox


void IConnectionBuilder.connect(IBlackBox callerBox,
java.lang.String callerChannel, IBlackBox calleeBox,
java.lang.String calleeChannel)
Connects the specified channels of two black box components together.
void IConnectionBuilder.disconnect(IBlackBox callerBox,
java.lang.String callerChannel, IBlackBox calleeBox,
java.lang.String calleeChannel)
Disconnects the specified channels of two black box components.

Uses of IBlackBox in com.tibco.xml.validation.kernel

Classes in com.tibco.xml.validation.kernel that implement IBlackBox


class DefaultAdjunctCache
Maps namespaceURI to an Adjunct (Document).
class DefaultSchemaCache
Maps namespaceURI to an SmSchema.
class DefaultSchemaSupplier
Supplies SmSchema(s) when driven by Location Hints.
class NativeSchemaProvider
Maps namespaceURI to an SmSchema for built-in XML schemas.
class SAXLocationHintSupplier
Extracts schema location and document hints from a SAX stream and provides them to
listeners.
class ValidationControl

class ValidationKernel
Validates the XmlStream against the associated schema type information.

Uses of IBlackBox in com.tibco.xml.validation.scripting

Classes in com.tibco.xml.validation.scripting that implement IBlackBox


class ScriptingValidatorMk1
Scripting Extended Validation Implementation.
Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.runtime.IConfigurable
Packages that use IConfigurable
com.tibco.xml.processor Processors for manipulating XML information sets.

Uses of IConfigurable in com.tibco.xml.processor

Classes in com.tibco.xml.processor that implement IConfigurable


class Aggregate

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.runtime.IConnectionBuilder
Packages that use IConnectionBuilder
com.tibco.xml.runtime This is the main XML Runtime package.

Uses of IConnectionBuilder in com.tibco.xml.runtime

Methods in com.tibco.xml.runtime that return IConnectionBuilder


IConnectionBuilder IContextProvider.getConnectionBuilder(java.lang.String channelType)
Retrieves a connection builder for the specified channel type.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.runtime.IContextConsumer
Packages that use IContextConsumer
com.tibco.xml.processor Processors for manipulating XML information sets.

Uses of IContextConsumer in com.tibco.xml.processor

Classes in com.tibco.xml.processor that implement IContextConsumer


class Aggregate

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.runtime.IContextProvider
Packages that use IContextProvider
com.tibco.xml.processor Processors for manipulating XML information sets.
com.tibco.xml.runtime This is the main XML Runtime package.

Uses of IContextProvider in com.tibco.xml.processor

Methods in com.tibco.xml.processor with parameters of type IContextProvider


void Aggregate.setContextProvider(IContextProvider provider)

Uses of IContextProvider in com.tibco.xml.runtime

Methods in com.tibco.xml.runtime with parameters of type IContextProvider


void IContextConsumer.setContextProvider(IContextProvider contextProvider)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.runtime.IFactory
Packages that use IFactory
com.tibco.xml.runtime This is the main XML Runtime package.

Uses of IFactory in com.tibco.xml.runtime

Methods in com.tibco.xml.runtime that return IFactory


IFactory IContextProvider.getFactory(java.lang.String classURI)
Retrieves a factory for the specified class identifier.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.validation.channel.LocationHintHandler
Packages that use LocationHintHandler
com.tibco.xml.processor Processors for manipulating XML information sets.
Interfaces used by the validator to communicate schema location
com.tibco.xml.validation.channel
hints in documents.

com.tibco.xml.validation.kernel Validation components that may be used to assemble a specialized


validator.

Uses of LocationHintHandler in com.tibco.xml.processor

Methods in com.tibco.xml.processor with parameters of type LocationHintHandler


void XmlStreamParser.addLocationHintHandler(LocationHintHandler handler)

void XmlStreamParser.removeLocationHintHandler(LocationHintHandler handler)

Uses of LocationHintHandler in
com.tibco.xml.validation.channel

Methods in com.tibco.xml.validation.channel with parameters of type LocationHintHandler


void LocationHintSupplier.addLocationHintHandler(LocationHintHandler handler)

void LocationHintSupplier.removeLocationHintHandler(LocationHintHandler handler)

Uses of LocationHintHandler in
com.tibco.xml.validation.kernel

Classes in com.tibco.xml.validation.kernel that implement LocationHintHandler


class DefaultNamespaceConverter
Converts schema requests by namespace for the null namespace to requests using the
normalized document element name.
class DefaultSchemaSupplier
Supplies SmSchema(s) when driven by Location Hints.

Methods in com.tibco.xml.validation.kernel with parameters of type LocationHintHandler


void Validator.addLocationHintHandler(LocationHintHandler handler)

void Validator.removeLocationHintHandler(LocationHintHandler handler)

void SAXLocationHintSupplier.addLocationHintHandler(LocationHintHandler handler)

void SAXLocationHintSupplier.removeLocationHintHandler(LocationHintHandler handler)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.validation.channel.LocationHintSupplier
Packages that use LocationHintSupplier
com.tibco.xml.processor Processors for manipulating XML information sets.

com.tibco.xml.validation.kernel Validation components that may be used to assemble a specialized


validator.

Uses of LocationHintSupplier in com.tibco.xml.processor

Classes in com.tibco.xml.processor that implement LocationHintSupplier


class XmlStreamParser

Uses of LocationHintSupplier in
com.tibco.xml.validation.kernel

Classes in com.tibco.xml.validation.kernel that implement LocationHintSupplier


class SAXLocationHintSupplier
Extracts schema location and document hints from a SAX stream and provides them to
listeners.
class Validator
The core XML Validator implementation.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.runtime.MissingConnectionException
No usage of com.tibco.xml.runtime.MissingConnectionException

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.schema.channel.NamespaceEntityConsumer
Packages that use NamespaceEntityConsumer
com.tibco.xml.schema This package contains a collection of interfaces for representation of a
schema.

Uses of NamespaceEntityConsumer in
com.tibco.xml.schema

Subinterfaces of NamespaceEntityConsumer in com.tibco.xml.schema


interface NewSchemaParser
A generalized schema/DTD parser.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.schema.NamespaceEntityResolver
Packages that use NamespaceEntityResolver
com.tibco.xml.schema.channel Schema provisioning interfaces.

Uses of NamespaceEntityResolver in
com.tibco.xml.schema.channel

Methods in com.tibco.xml.schema.channel with parameters of type NamespaceEntityResolver


void NamespaceEntityConsumer.setNamespaceEntityResolver(NamespaceEntityResolver resolver)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.data.primitive.NamespaceResolver
Packages that use NamespaceResolver
The XmlContext interface, representing a context in an XML
com.tibco.xml.data.context
information set.
com.tibco.xml.data.context.helpers Utility classes for operating on XML contexts.
The XmlCursor interface, representing a cursor over an XML
com.tibco.xml.data.cursor
information set.
com.tibco.xml.data.cursor.helpers Utility classes for operating on XML cursors.
The XmlNode interface, representing information common to an
com.tibco.xml.data.node
XML context and an XML cursor.

Uses of NamespaceResolver in com.tibco.xml.data.context

Subinterfaces of NamespaceResolver in com.tibco.xml.data.context


interface XmlContext
Provides access to data and type information for an attribute or element within an
information set.

Uses of NamespaceResolver in
com.tibco.xml.data.context.helpers

Classes in com.tibco.xml.data.context.helpers that implement NamespaceResolver


class XmlContextOnXmlCursor
Uses of NamespaceResolver in com.tibco.xml.data.cursor

Subinterfaces of NamespaceResolver in com.tibco.xml.data.cursor


interface XmlCursor
Provides access to data and type information for an XML information set item.
interface XmlReader
A forward-only pull style cursor over an XML information set.

Uses of NamespaceResolver in
com.tibco.xml.data.cursor.helpers

Classes in com.tibco.xml.data.cursor.helpers that implement NamespaceResolver


class XmlCursor4DOM

class XmlCursorNoNavigation
A simple XmlCursor helper needed for stream operations.
class XmlCursorOnXmlContext

Uses of NamespaceResolver in com.tibco.xml.data.node

Subinterfaces of NamespaceResolver in com.tibco.xml.data.node


interface XmlNode
Provides access to data and type information for an attribute or element within an
information set.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES
Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.data.primitive.NamespaceToPrefixResolver
Packages that use NamespaceToPrefixResolver
com.tibco.xml.data.context The XmlContext interface, representing a context in an XML
information set.
com.tibco.xml.data.context.helpers Utility classes for operating on XML contexts.

com.tibco.xml.data.cursor The XmlCursor interface, representing a cursor over an XML


information set.
com.tibco.xml.data.cursor.helpers Utility classes for operating on XML cursors.

com.tibco.xml.data.node The XmlNode interface, representing information common to an


XML context and an XML cursor.
com.tibco.xml.data.primitive XML primitive types.

Uses of NamespaceToPrefixResolver in
com.tibco.xml.data.context

Subinterfaces of NamespaceToPrefixResolver in com.tibco.xml.data.context


interface XmlContext
Provides access to data and type information for an attribute or element within an
information set.

Uses of NamespaceToPrefixResolver in
com.tibco.xml.data.context.helpers

Classes in com.tibco.xml.data.context.helpers that implement NamespaceToPrefixResolver


class XmlContextOnXmlCursor

Methods in com.tibco.xml.data.context.helpers with parameters of type NamespaceToPrefixResolver


static java.lang.String XPathHelper.calculateXPath(XmlContext from,
XmlContext to, int format,
NamespaceToPrefixResolver resolver)
Calculates an XPath expression that assumes a context node
specified by from parameter and uniquely selects the node specified by
the to parameter.

Uses of NamespaceToPrefixResolver in
com.tibco.xml.data.cursor

Subinterfaces of NamespaceToPrefixResolver in com.tibco.xml.data.cursor


interface XmlCursor
Provides access to data and type information for an XML information set item.
interface XmlReader
A forward-only pull style cursor over an XML information set.

Uses of NamespaceToPrefixResolver in
com.tibco.xml.data.cursor.helpers

Classes in com.tibco.xml.data.cursor.helpers that implement NamespaceToPrefixResolver


class XmlCursor4DOM

class XmlCursorNoNavigation
A simple XmlCursor helper needed for stream operations.
class XmlCursorOnXmlContext

Methods in com.tibco.xml.data.cursor.helpers with parameters of type NamespaceToPrefixResolver


java.lang.String XmlStringValue.getSerializedForm(NamespaceToPrefixResolver resolver)

Uses of NamespaceToPrefixResolver in
com.tibco.xml.data.node

Subinterfaces of NamespaceToPrefixResolver in com.tibco.xml.data.node


interface XmlNode
Provides access to data and type information for an attribute or element within an
information set.

Methods in com.tibco.xml.data.node with parameters of type NamespaceToPrefixResolver


java.lang.String XmlValue.getSerializedForm(NamespaceToPrefixResolver resolver)
Returns a string representation of the value that is suitable for serialization.

Uses of NamespaceToPrefixResolver in
com.tibco.xml.data.primitive

Subinterfaces of NamespaceToPrefixResolver in com.tibco.xml.data.primitive


interface NamespaceResolver
A bidirectional namespace-prefix resolver

Methods in com.tibco.xml.data.primitive with parameters of type NamespaceToPrefixResolver


java.lang.String ExpandedName.getSerializedForm(NamespaceToPrefixResolver resolver)
The serialized form of an ExpandedName is a QName.
QName ExpandedName.getQName(NamespaceToPrefixResolver resolver)
Returns the QName for this ExpandedName given a namespace to prefix resolver.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.data.primitive.NamespaceToPrefixResolver.NamespaceNotFoundException
Packages that use
NamespaceToPrefixResolver.NamespaceNotFoundException
com.tibco.xml.data.cursor.helpers Utility classes for operating on XML cursors.
com.tibco.xml.data.primitive XML primitive types.
com.tibco.xml.processor Processors for manipulating XML information sets.

Uses of NamespaceToPrefixResolver.NamespaceNotFoundException in
com.tibco.xml.data.cursor.helpers

Methods in com.tibco.xml.data.cursor.helpers that throw NamespaceToPrefixResolver.NamespaceNotFoundException


java.lang.String XmlCursorOnXmlContext.getPrefixForNamespaceURI(java.lang.String namespaceURI)

Uses of NamespaceToPrefixResolver.NamespaceNotFoundException in
com.tibco.xml.data.primitive

Methods in com.tibco.xml.data.primitive that throw NamespaceToPrefixResolver.NamespaceNotFoundException


java.lang.String NamespaceToPrefixResolver.getPrefixForNamespaceURI(java.lang.String namespaceURI)
Given a namespace, get the corrisponding prefix.

Uses of NamespaceToPrefixResolver.NamespaceNotFoundException in
com.tibco.xml.processor

Methods in com.tibco.xml.processor that throw NamespaceToPrefixResolver.NamespaceNotFoundException


protected XmlStreamSerializer.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.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.validation.kernel.NativeSchemaProvider
No usage of com.tibco.xml.validation.kernel.NativeSchemaProvider

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.schema.NewSchemaParser
No usage of com.tibco.xml.schema.NewSchemaParser

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.data.primitive.PrefixToNamespaceResolver
Packages that use PrefixToNamespaceResolver
com.tibco.xml.data.context The XmlContext interface, representing a context in an XML
information set.
com.tibco.xml.data.context.helpers Utility classes for operating on XML contexts.
The XmlCursor interface, representing a cursor over an XML
com.tibco.xml.data.cursor
information set.
com.tibco.xml.data.cursor.helpers Utility classes for operating on XML cursors.

com.tibco.xml.data.node The XmlNode interface, representing information common to an


XML context and an XML cursor.
com.tibco.xml.data.primitive XML primitive types.

Uses of PrefixToNamespaceResolver in
com.tibco.xml.data.context

Subinterfaces of PrefixToNamespaceResolver in com.tibco.xml.data.context


interface XmlContext
Provides access to data and type information for an attribute or element within an
information set.

Uses of PrefixToNamespaceResolver in
com.tibco.xml.data.context.helpers

Classes in com.tibco.xml.data.context.helpers that implement PrefixToNamespaceResolver


class XmlContextOnXmlCursor
Uses of PrefixToNamespaceResolver in
com.tibco.xml.data.cursor

Subinterfaces of PrefixToNamespaceResolver in com.tibco.xml.data.cursor


interface XmlCursor
Provides access to data and type information for an XML information set item.
interface XmlReader
A forward-only pull style cursor over an XML information set.

Uses of PrefixToNamespaceResolver in
com.tibco.xml.data.cursor.helpers

Classes in com.tibco.xml.data.cursor.helpers that implement PrefixToNamespaceResolver


class XmlCursor4DOM

class XmlCursorNoNavigation
A simple XmlCursor helper needed for stream operations.
class XmlCursorOnXmlContext

Uses of PrefixToNamespaceResolver in
com.tibco.xml.data.node

Subinterfaces of PrefixToNamespaceResolver in com.tibco.xml.data.node


interface XmlNode
Provides access to data and type information for an attribute or element within an
information set.

Uses of PrefixToNamespaceResolver in
com.tibco.xml.data.primitive
Subinterfaces of PrefixToNamespaceResolver in com.tibco.xml.data.primitive
interface NamespaceResolver
A bidirectional namespace-prefix resolver

Methods in com.tibco.xml.data.primitive with parameters of type PrefixToNamespaceResolver


ExpandedName QName.getExpandedName(PrefixToNamespaceResolver resolver)
Returns the ExpandedName for this QName given a prefix to namespace
resolver.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.data.primitive.PrefixToNamespaceResolver.PrefixNotFoundException
Packages that use PrefixToNamespaceResolver.PrefixNotFoundException
com.tibco.xml.data.cursor.helpers Utility classes for operating on XML cursors.
com.tibco.xml.data.primitive XML primitive types.

Uses of PrefixToNamespaceResolver.PrefixNotFoundException in
com.tibco.xml.data.cursor.helpers

Methods in com.tibco.xml.data.cursor.helpers that throw PrefixToNamespaceResolver.PrefixNotFoundException


java.lang.String XmlCursorOnXmlContext.getNamespaceURIForPrefix(java.lang.String prefix)

Uses of PrefixToNamespaceResolver.PrefixNotFoundException in
com.tibco.xml.data.primitive

Methods in com.tibco.xml.data.primitive that throw PrefixToNamespaceResolver.PrefixNotFoundException


java.lang.String PrefixToNamespaceResolver.getNamespaceURIForPrefix(java.lang.String prefix)
Given a prefix, get the corresponding namespace URI.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.validation.PrintWriterErrorHandler
No usage of com.tibco.xml.validation.PrintWriterErrorHandler

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.channel.property.PropertyConsumer
Packages that use PropertyConsumer
com.tibco.xml.validation.helpers Ready-to-use validation patterns.
Validation components that may be used to assemble a
com.tibco.xml.validation.kernel
specialized validator.

com.tibco.xml.validation.scripting A mechanism for extending standard validation using XML


Processing Language (XPL) script.

Uses of PropertyConsumer in
com.tibco.xml.validation.helpers

Classes in com.tibco.xml.validation.helpers that implement PropertyConsumer


class ValidatingFilter_ExternalCache
A SAX validating filter employing an external schema cache.
class ValidatingFilter_InternalCache
A SAX validating filter with an internal schema cache.
class Validator_SAX_Error_InternalCache
A validator with SAX interfaces but not a SAX Filter, and with an internal schema
cache.
class Validator_SAX_Remark_InternalCache
A validator with SAX interfaces but not a SAX Filter, emits XML remarks, and with an
internal schema cache.

Uses of PropertyConsumer in
com.tibco.xml.validation.kernel
Classes in com.tibco.xml.validation.kernel that implement PropertyConsumer
class DefaultSchemaSupplier
Supplies SmSchema(s) when driven by Location Hints.
class SAXLocationHintSupplier
Extracts schema location and document hints from a SAX stream and provides them to
listeners.

Uses of PropertyConsumer in
com.tibco.xml.validation.scripting

Classes in com.tibco.xml.validation.scripting that implement PropertyConsumer


class ScriptingValidatorMk1
Scripting Extended Validation Implementation.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.channel.property.PropertyHandler
Packages that use PropertyHandler
com.tibco.xml.channel.property Property information channels.
A mechanism for extending standard validation using XML
com.tibco.xml.validation.scripting
Processing Language (XPL) script.

Uses of PropertyHandler in com.tibco.xml.channel.property

Methods in com.tibco.xml.channel.property with parameters of type PropertyHandler


void PropertySupplierMulticast.addPropertyHandler(PropertyHandler handler)
Allows a component to register a PropertyHandler for this supplier.
void PropertySupplierMulticast.removePropertyHandler(PropertyHandler handler)
Allows a component to unregister a PropertyHandler for this supplier.
void PropertySupplier.setPropertyHandler(PropertyHandler handler)
Allows a component to register and unregister a PropertyHandler for this supplier.

Uses of PropertyHandler in
com.tibco.xml.validation.scripting

Methods in com.tibco.xml.validation.scripting with parameters of type PropertyHandler


void ScriptingValidatorMk1.setPropertyHandler(PropertyHandler handler)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.channel.property.PropertyProvider
Packages that use PropertyProvider
com.tibco.xml.channel.property Property information channels.
com.tibco.xml.validation.helpers Ready-to-use validation patterns.

com.tibco.xml.validation.kernel Validation components that may be used to assemble a


specialized validator.

com.tibco.xml.validation.scripting A mechanism for extending standard validation using XML


Processing Language (XPL) script.

Uses of PropertyProvider in com.tibco.xml.channel.property

Methods in com.tibco.xml.channel.property with parameters of type PropertyProvider


void PropertyConsumer.setPropertyProvider(PropertyProvider provider)

Uses of PropertyProvider in
com.tibco.xml.validation.helpers

Methods in com.tibco.xml.validation.helpers with parameters of type PropertyProvider


void Validator_SAX_Remark_InternalCache.setPropertyProvider(PropertyProvider policies)

void ValidatingFilter_InternalCache.setPropertyProvider(PropertyProvider policies)

void ValidatingFilter_ExternalCache.setPropertyProvider(PropertyProvider policies)

void Validator_SAX_Error_InternalCache.setPropertyProvider(PropertyProvider policies)

Uses of PropertyProvider in com.tibco.xml.validation.kernel

Methods in com.tibco.xml.validation.kernel with parameters of type PropertyProvider


void DefaultSchemaSupplier.setPropertyProvider(PropertyProvider provider)

void SAXLocationHintSupplier.setPropertyProvider(PropertyProvider provider)

Uses of PropertyProvider in
com.tibco.xml.validation.scripting

Methods in com.tibco.xml.validation.scripting with parameters of type PropertyProvider


void ScriptingValidatorMk1.setPropertyProvider(PropertyProvider provider)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.channel.property.PropertySupplier
Packages that use PropertySupplier
com.tibco.xml.validation.scripting A mechanism for extending standard validation using XML
Processing Language (XPL) script.

Uses of PropertySupplier in
com.tibco.xml.validation.scripting

Classes in com.tibco.xml.validation.scripting that implement PropertySupplier


class ScriptingValidatorMk1
Scripting Extended Validation Implementation.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.channel.property.PropertySupplierMulticast
No usage of com.tibco.xml.channel.property.PropertySupplierMulticast

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.data.primitive.QName
Packages that use QName
com.tibco.xml.data.context.helpers Utility classes for operating on XML contexts.
com.tibco.xml.data.cursor.helpers Utility classes for operating on XML cursors.
The XmlNode interface, representing information common to an
com.tibco.xml.data.node
XML context and an XML cursor.
com.tibco.xml.data.primitive XML primitive types.

Uses of QName in com.tibco.xml.data.context.helpers

Methods in com.tibco.xml.data.context.helpers that return QName


QName XmlContextOnXmlCursor.getXsiType()

Uses of QName in com.tibco.xml.data.cursor.helpers

Methods in com.tibco.xml.data.cursor.helpers that return QName


QName XmlCursor4DOM.getXsiType()

static QName XmlCursor4DOM.getXsiType(org.w3c.dom.Element element)


The value of the xsi:type attribute on an element.
QName XmlCursorOnXmlContext.getXsiType()
Uses of QName in com.tibco.xml.data.node

Methods in com.tibco.xml.data.node that return QName


QName XmlNode.getXsiType()
Return the value of the xsi:type attribute if defined, or null.

Uses of QName in com.tibco.xml.data.primitive

Methods in com.tibco.xml.data.primitive that return QName


static QName QName.parse(java.lang.String name)
Given a string, create and return a QName object
QName ExpandedName.getQName(NamespaceToPrefixResolver resolver)
Returns the QName for this ExpandedName given a namespace to prefix
resolver.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.processor.SAXContent2DOM
No usage of com.tibco.xml.processor.SAXContent2DOM

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.processor.SAXContent2XmlStream
Packages that use SAXContent2XmlStream
com.tibco.xml.processor Processors for manipulating XML information sets.

com.tibco.xml.validation.kernel Validation components that may be used to assemble a specialized


validator.

Uses of SAXContent2XmlStream in
com.tibco.xml.processor

Constructors in com.tibco.xml.processor with parameters of type SAXContent2XmlStream


SAXContent2XmlStream.SAXContent2XmlKernel()

Uses of SAXContent2XmlStream in
com.tibco.xml.validation.kernel

Fields in com.tibco.xml.validation.kernel declared as SAXContent2XmlStream


protected SAXContent2XmlStream Validator.adapter

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES
Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.processor.SAXContentNormalizer
Packages that use SAXContentNormalizer
com.tibco.xml.validation.kernel Validation components that may be used to assemble a specialized
validator.

Uses of SAXContentNormalizer in
com.tibco.xml.validation.kernel

Fields in com.tibco.xml.validation.kernel declared as SAXContentNormalizer


protected SAXContentNormalizer Validator.normal

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.validation.kernel.SAXLocationHintSupplier
Packages that use SAXLocationHintSupplier
com.tibco.xml.validation.kernel Validation components that may be used to assemble a specialized
validator.

Uses of SAXLocationHintSupplier in
com.tibco.xml.validation.kernel

Fields in com.tibco.xml.validation.kernel declared as SAXLocationHintSupplier


protected SAXLocationHintSupplier Validator.hints

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.validation.SchemaException
Packages that use SchemaException
com.tibco.xml.validation XML Validation in a pure SAX 2.0 environment.

Uses of SchemaException in com.tibco.xml.validation

Methods in com.tibco.xml.validation that throw SchemaException


static void ValidationUtilities.validateXML(org.xml.sax.InputSource instance,
org.xml.sax.InputSource schema, org.xml.sax.ErrorHandler errors)
Validate a single XML document/message using a single schema.
void SchemaMap.addSchema(java.lang.String namespace,
org.xml.sax.InputSource source)
Deprecated.
void SchemaMap.addSchema(org.xml.sax.InputSource source)
Add a schema to the map, using the target namespace URI as a key.
void SchemaMap.addDTD(org.xml.sax.InputSource source)
Adds a DTD to this schemaMap.
void SchemaMap.addXDR(java.lang.String namespace,
org.xml.sax.InputSource source)
Add an XDR schema to the map specifying the target namespace URI as a key.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.validation.SchemaMap
Packages that use SchemaMap
com.tibco.xml.validation XML Validation in a pure SAX 2.0 environment.
com.tibco.xml.validation.helpers Ready-to-use validation patterns.

Uses of SchemaMap in com.tibco.xml.validation

Fields in com.tibco.xml.validation declared as SchemaMap


protected static SchemaMap StringValidation.schemas

Methods in com.tibco.xml.validation that return SchemaMap


static SchemaMap ValidationFactory.createSchemaMap()
Create an instance of SchemaMap.
SchemaMap XMLValidator.getSchemaMap()
Return the current schema map in use.

Methods in com.tibco.xml.validation with parameters of type SchemaMap


void XMLValidator.setSchemaMap(SchemaMap schemas)
Set the schema map to use during validation.
static void ValidationUtilities.validateXML(org.xml.sax.InputSource instance,
SchemaMap schemas, org.xml.sax.ErrorHandler errors)
Validate a single XML document/message using a set of schemas, already inserted into a
SchemaMap object.
static XMLValidator ValidationUtilities.createValidator(SchemaMap schemas,
org.xml.sax.ErrorHandler errors)
Create an XMLValidator with a given set of schemas, already inserted into a SchemaMap
object, and with a given ErrorHandler.

Uses of SchemaMap in com.tibco.xml.validation.helpers


Methods in com.tibco.xml.validation.helpers that return SchemaMap
SchemaMap XMLValidatorFilterImplMk1.getSchemaMap()

Methods in com.tibco.xml.validation.helpers with parameters of type SchemaMap


void XMLValidatorFilterImplMk1.setSchemaMap(SchemaMap schemaMap)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.schema.channel.SchemaModelConsumer
Packages that use SchemaModelConsumer
com.tibco.xml.processor Processors for manipulating XML information sets.

com.tibco.xml.schema This package contains a collection of interfaces for representation


of a schema.
com.tibco.xml.validation.helpers Ready-to-use validation patterns.
Validation components that may be used to assemble a specialized
com.tibco.xml.validation.kernel
validator.

Uses of SchemaModelConsumer in
com.tibco.xml.processor

Classes in com.tibco.xml.processor that implement SchemaModelConsumer


class XmlStreamEnhancer
Performs conversion from a basic XML Stream to an XML Stream with Schema
Information.

Uses of SchemaModelConsumer in com.tibco.xml.schema

Subinterfaces of SchemaModelConsumer in com.tibco.xml.schema


interface NewSchemaParser
A generalized schema/DTD parser.

Uses of SchemaModelConsumer in
com.tibco.xml.validation.helpers
Classes in com.tibco.xml.validation.helpers that implement SchemaModelConsumer
class Validator_DOM_Remark_ExternalCache
A DOM validator producing XML remarks and employing an external schema cache.
class Validator_SAX_Error_ExternalCache
A validator with SAX interfaces but not a SAX Filter, and employing an external
schema model provider.
class Validator_SAX_Remark_ExternalCache
A validator that accepts SAX Content, generates XML remarks, with an external
schema cache.

Uses of SchemaModelConsumer in
com.tibco.xml.validation.kernel

Classes in com.tibco.xml.validation.kernel that implement SchemaModelConsumer


class DefaultNamespaceConverter
Converts schema requests by namespace for the null namespace to requests using the
normalized document element name.
class DefaultSchemaCache
Maps namespaceURI to an SmSchema.
class DefaultSchemaSupplier
Supplies SmSchema(s) when driven by Location Hints.
class Validator
The core XML Validator implementation.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.schema.channel.SchemaModelHandler
Packages that use SchemaModelHandler
com.tibco.xml.schema.channel Schema provisioning interfaces.
Validation components that may be used to assemble a specialized
com.tibco.xml.validation.kernel
validator.

Uses of SchemaModelHandler in
com.tibco.xml.schema.channel

Methods in com.tibco.xml.schema.channel with parameters of type SchemaModelHandler


void SchemaModelSupplier.setSchemaModelHandler(SchemaModelHandler handler)

Uses of SchemaModelHandler in
com.tibco.xml.validation.kernel

Classes in com.tibco.xml.validation.kernel that implement SchemaModelHandler


class DefaultNamespaceConverter
Converts schema requests by namespace for the null namespace to requests using the
normalized document element name.
class DefaultSchemaCache
Maps namespaceURI to an SmSchema.

Methods in com.tibco.xml.validation.kernel with parameters of type SchemaModelHandler


void DefaultSchemaSupplier.setSchemaModelHandler(SchemaModelHandler handler)

void DefaultNamespaceConverter.setSchemaModelHandler(SchemaModelHandler handler)


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.schema.channel.SchemaModelProvider
Packages that use SchemaModelProvider
com.tibco.xml.processor Processors for manipulating XML information sets.
com.tibco.xml.schema.channel Schema provisioning interfaces.
com.tibco.xml.validation.helpers Ready-to-use validation patterns.
Validation components that may be used to assemble a specialized
com.tibco.xml.validation.kernel
validator.

Uses of SchemaModelProvider in com.tibco.xml.processor

Methods in com.tibco.xml.processor with parameters of type SchemaModelProvider


void XmlStreamEnhancer.setSchemaModelProvider(SchemaModelProvider provider)

Uses of SchemaModelProvider in
com.tibco.xml.schema.channel

Methods in com.tibco.xml.schema.channel with parameters of type SchemaModelProvider


void SchemaModelConsumer.setSchemaModelProvider(SchemaModelProvider schemaModelProvider)

Uses of SchemaModelProvider in
com.tibco.xml.validation.helpers

Methods in com.tibco.xml.validation.helpers with parameters of type SchemaModelProvider


void Validator_SAX_Remark_ExternalCache.setSchemaModelProvider(SchemaModelProvider provider)

void Validator_DOM_Remark_ExternalCache.setSchemaModelProvider(SchemaModelProvider provider)

void Validator_SAX_Error_ExternalCache.setSchemaModelProvider(SchemaModelProvider provider)


Uses of SchemaModelProvider in
com.tibco.xml.validation.kernel

Classes in com.tibco.xml.validation.kernel that implement SchemaModelProvider


class DefaultNamespaceConverter
Converts schema requests by namespace for the null namespace to requests using the
normalized document element name.
class DefaultSchemaCache
Maps namespaceURI to an SmSchema.
class NativeSchemaProvider
Maps namespaceURI to an SmSchema for built-in XML schemas.

Methods in com.tibco.xml.validation.kernel with parameters of type SchemaModelProvider


void Validator.setSchemaModelProvider(SchemaModelProvider schemas)

void DefaultSchemaSupplier.setSchemaModelProvider(SchemaModelProvider provider)

void DefaultNamespaceConverter.setSchemaModelProvider(SchemaModelProvider provider)

void DefaultSchemaCache.setSchemaModelProvider(SchemaModelProvider provider)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.schema.channel.SchemaModelSupplier
Packages that use SchemaModelSupplier
This package contains a collection of interfaces for representation of
com.tibco.xml.schema
a schema.

com.tibco.xml.validation.kernel Validation components that may be used to assemble a specialized


validator.

Uses of SchemaModelSupplier in com.tibco.xml.schema

Subinterfaces of SchemaModelSupplier in com.tibco.xml.schema


interface NewSchemaParser
A generalized schema/DTD parser.

Uses of SchemaModelSupplier in
com.tibco.xml.validation.kernel

Classes in com.tibco.xml.validation.kernel that implement SchemaModelSupplier


class DefaultNamespaceConverter
Converts schema requests by namespace for the null namespace to requests using the
normalized document element name.
class DefaultSchemaSupplier
Supplies SmSchema(s) when driven by Location Hints.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES
Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.validation.scripting.ScriptingAdjunctValidator
No usage of com.tibco.xml.validation.scripting.ScriptingAdjunctValidator

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.validation.scripting.ScriptingSimpleTypeCompilers
No usage of com.tibco.xml.validation.scripting.ScriptingSimpleTypeCompilers

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.validation.scripting.ScriptingValidatorMk1
No usage of com.tibco.xml.validation.scripting.ScriptingValidatorMk1

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.schema.SmAttribute
Packages that use SmAttribute
com.tibco.xml.schema This package contains a collection of interfaces for representation of a
schema.

Uses of SmAttribute in com.tibco.xml.schema

Methods in com.tibco.xml.schema that return SmAttribute


SmAttribute SmFlavor.getPredefinedAttribute(java.lang.String name)
Returns the predeclared attribute by the given name.
static SmAttribute SmSupport.getAttribute(SmSchema schema,
java.lang.String name)

static SmAttribute SmSupport.getAttributeInContext(SmType context,


java.lang.String namespace, java.lang.String name)
name MAY be prefixed by "@"

Methods in com.tibco.xml.schema with parameters of type SmAttribute


void SmVisitor.visitAttribute(SmAttribute attribute)

void SmVisitor.Default.visitAttribute(SmAttribute attribute)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES
Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.schema.SmAttributeGroup
Packages that use SmAttributeGroup
com.tibco.xml.schema This package contains a collection of interfaces for representation of a
schema.

Uses of SmAttributeGroup in com.tibco.xml.schema

Methods in com.tibco.xml.schema that return SmAttributeGroup


static SmAttributeGroup SmSupport.extractRestrictingAttributes(SmAttributeGroup base,
SmAttributeGroup res)
Extract the particles which are restricted from a base content model
SmAttributeGroup SmType.getAttributeModel()
Returns a SmAttributeGroup which represents the attributes for this element.

Methods in com.tibco.xml.schema with parameters of type SmAttributeGroup


static SmAttributeGroup SmSupport.extractRestrictingAttributes(SmAttributeGroup base,
SmAttributeGroup res)
Extract the particles which are restricted from a base content model
void SmVisitor.visitAttributeGroup(SmAttributeGroup attrGroup)

void SmVisitor.Default.visitAttributeGroup(SmAttributeGroup attrGroup)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.schema.SmComponent
Packages that use SmComponent
com.tibco.xml.schema This package contains a collection of interfaces for representation of a
schema.

Uses of SmComponent in com.tibco.xml.schema

Subinterfaces of SmComponent in com.tibco.xml.schema


interface SmAttribute
SmAttribute represents an attribute declaration, which may be global or local to
some type.
interface SmAttributeGroup
SmAttributeGroup is a SmModelGroup with the constraint that all particles are
attributes and the compositor is ALL.
interface SmDataComponent
SmDataComponent represents an data object in a schema (either an element or
attribute), which may be global to a schema or local to some type.
interface SmElement
The SmElement interface models an element declaration, which could be global
within the schema or local to some other element.
interface SmIdentityConstraint
SmIdentityConstraint describes key/key/unique constraints on the schema.
interface SmMetaForeignAttribute

interface SmMetaInfo
Parent of meta-information holders
interface SmModelGroup
SmModelGroup represents a group of content sequences.
interface SmNotation
Notation
interface SmParticle
A SmParticle is a component of a group.
interface SmParticleTerm
SmParticleTerm is a marker interface for items that can be the term of a particle.
interface SmType
SmType represents all types in a schema, both simple types and complex types,
though some methods are only applicable to one or the other.
interface SmTypeFacet
SmTypeFacet represents data-type facets.
interface SmWildcard
SmWildcard represent wildcard terms of content models.

Fields in com.tibco.xml.schema declared as SmComponent


protected SmVisitor.Result.m_component
SmComponent

Methods in com.tibco.xml.schema that return SmComponent


SmComponent SmVisitor.Result.getComponent()

SmComponent SmSchema.getComponent(int componentType,


java.lang.String name)
Returns the (global) component of the given type and name, or null if there is
none.
SmComponent SmSchemaError.getSchemaComponent()

Methods in com.tibco.xml.schema with parameters of type SmComponent


static boolean SmSupport.equalReferences(SmComponent a, SmComponent b)
Returns whether two components have the same name and namespace.
static boolean SmSupport.nameEquals(SmComponent a,
java.lang.String namespace, java.lang.String name)
Returns whether the given component has the same name and namespace as the
given values.
static boolean SmSupport.isGlobalComponent(SmSchema schema,
SmComponent component)
Returns whether the given component is a global component in the given schema.
static java.lang.String SmSupport.makeExpandedName(SmComponent comp)

static java.util.List SmSupport.getInstanceUsers(SmSchema schema, SmComponent c)


Returns components that "use" the given component in the instance sense.
static boolean SmSupport.isInstanceUserOf(SmComponent user, SmComponent c)

static SmMetaForeignAttribute SmSupport.getMetaForeignAttribute(SmComponent comp,


java.lang.String ns, java.lang.String name)
Return the SmMetaForeignAttribute with the given namespace and name from
the given component
void SmVisitor.tryVisit(SmComponent component)
Visit an anonymous component or schedule a visit to a named component.
void SmVisitor.visitComponentRef(SmComponent component)
Visit a named component as a reference.
void SmVisitor.visitComponent(SmComponent component)

void SmVisitor.Default.tryVisit(SmComponent component)


Default implementation of tryVisit only visits anonymous components
immediately, and schedules at most one visit of each named component.
protected void SmVisitor.Default.scheduleVisit(SmComponent namedComponent)

void SmVisitor.Default.visitComponentRef(SmComponent component)

void SmVisitor.Default.visitComponent(SmComponent component)

Constructors in com.tibco.xml.schema with parameters of type SmComponent


SmVisitor.Result(SmComponent component, java.lang.String message)

SmVisitor.Success(SmComponent component, java.lang.String message)

SmVisitor.Failure(SmComponent component, java.lang.String message)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.schema.SmConverter
Packages that use SmConverter
com.tibco.xml.schema This package contains a collection of interfaces for representation of a
schema.

Uses of SmConverter in com.tibco.xml.schema

Methods in com.tibco.xml.schema with parameters of type SmConverter


void SmFactory.addConverter(java.lang.Class clazz,
SmConverter converter)
Adds a Class/SmConverter pairs to this factory.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.schema.SmDataComponent
Packages that use SmDataComponent
com.tibco.xml.data.context.helpers Utility classes for operating on XML contexts.
com.tibco.xml.data.cursor.helpers Utility classes for operating on XML cursors.

com.tibco.xml.data.node The XmlNode interface, representing information common to an


XML context and an XML cursor.
This package contains a collection of interfaces for
com.tibco.xml.schema
representation of a schema.

Uses of SmDataComponent in
com.tibco.xml.data.context.helpers

Methods in com.tibco.xml.data.context.helpers that return SmDataComponent


SmDataComponent XmlContextOnXmlCursor.getDeclaration()

Methods in com.tibco.xml.data.context.helpers with parameters of type SmDataComponent


void XmlContextOnXmlCursor.setDeclaration(SmDataComponent decl)

Uses of SmDataComponent in
com.tibco.xml.data.cursor.helpers

Methods in com.tibco.xml.data.cursor.helpers that return SmDataComponent


SmDataComponent XmlCursor4DOM.getDeclaration()
SmDataComponent XmlCursorOnXmlContext.getDeclaration()

Methods in com.tibco.xml.data.cursor.helpers with parameters of type SmDataComponent


void XmlCursor4DOM.setDeclaration(SmDataComponent declaration)

void XmlCursorOnXmlContext.setDeclaration(SmDataComponent decl)

Uses of SmDataComponent in com.tibco.xml.data.node

Methods in com.tibco.xml.data.node that return SmDataComponent


SmDataComponent XmlNode.getDeclaration()
Returns the declaration for this context.

Methods in com.tibco.xml.data.node with parameters of type SmDataComponent


void XmlNode.setDeclaration(SmDataComponent declaration)
Sets the declaration for this context.

Uses of SmDataComponent in com.tibco.xml.schema

Subinterfaces of SmDataComponent in com.tibco.xml.schema


interface SmAttribute
SmAttribute represents an attribute declaration, which may be global or local to
some type.
interface SmElement
The SmElement interface models an element declaration, which could be global
within the schema or local to some other element.

Methods in com.tibco.xml.schema that return SmDataComponent


static SmDataComponent SmSupport.getComponentInContext(SmType context,
java.lang.String namespace,
java.lang.String name)
use "@" to prefix the name of an attribute
static SmDataComponent SmSupport.getComponentByPath(SmSchema schema,
java.lang.String path)

Methods in com.tibco.xml.schema with parameters of type SmDataComponent


static boolean SmSupport.isTextOnlyContent(SmDataComponent component)
Returns whether this component requires text only content.
static boolean SmSupport.isEmptyContent(SmDataComponent component)
Returns whether this component requires empty element content.
static boolean SmSupport.allowsText(SmDataComponent component)
Returns whether this type of this component allows text content.
static boolean SmSupport.matches(SmDataComponent item, SmParticleTerm term)
Determines whether the given element or attribute (and type) matches the term.
static boolean SmSupport.isDataComponentLocal(SmDataComponent comp)

void SmVisitor.visitDataComponent(SmDataComponent component)

void SmVisitor.Default.visitDataComponent(SmDataComponent component)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.schema.SmElement
Packages that use SmElement
com.tibco.xml.schema This package contains a collection of interfaces for representation of a
schema.

Uses of SmElement in com.tibco.xml.schema

Methods in com.tibco.xml.schema that return SmElement


SmElement SmElement.getSubstitutionGroup()
Returns the head element of the substition group that this element belongs
to.
static SmElement SmSupport.getElement(SmSchema schema,
java.lang.String name)

static SmElement SmSupport.getBestRoot(SmSchema schema)


Returns the "best" root element for the given schema.
static SmElement SmSupport.getElementInContext(SmType context,
java.lang.String namespace, java.lang.String name)

SmElement SmIdentityConstraint.getContext()
Returns the element definition in which the constraint is defined.

Methods in com.tibco.xml.schema with parameters of type SmElement


protected SmSupport.gatherDescendentInfo(SmSchema schema,
static void
java.util.Map descendentMap,
java.util.Map localDescendentMap, SmElement topElement,
SmElement element)

protected SmSupport.gatherDescendentInfo(SmSchema schema,


static void
java.util.Map descendentMap,
java.util.Map localDescendentMap, SmElement topElement,
SmType type)

protected SmSupport.gatherDescendentInfo(SmSchema schema,


static void
java.util.Map descendentMap,
java.util.Map localDescendentMap, SmElement topElement,
SmModelGroup modelGroup)

protected SmSupport.getRootScore(SmSchema schema,


static int
SmElement element)
return a score for this element name as root.
static boolean SmSupport.substitutesFor(SmElement element,
SmElement target)
Returns true when the first element can be substituted for the second.
static void SmSupport.addAllElements(SmSchema schema,
SmElement element, java.util.Set allElements)

void SmVisitor.visitElement(SmElement element)

void SmVisitor.Default.visitElement(SmElement element)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Package
com.tibco.xml.channel.dom
Packages that use com.tibco.xml.channel.dom
This package contains interfaces and implementations supporting
com.tibco.xml.channel.dom
org.w3c.dom information channels.
com.tibco.xml.processor Processors for manipulating XML information sets.
com.tibco.xml.validation.helpers Ready-to-use validation patterns.

com.tibco.xml.validation.scripting A mechanism for extending standard validation using XML


Processing Language (XPL) script.

Classes in com.tibco.xml.channel.dom used by


com.tibco.xml.channel.dom
DocumentProvider
Implemented by components that can provide org.w3c.dom Document(s) through a pull
mechanism to a DocumentConsumer.
DOMHandler
Implemented by components that process Document(s).

Classes in com.tibco.xml.channel.dom used by


com.tibco.xml.processor
DocumentConsumer
Implemented by components that require org.w3c.dom Document(s) from a DocumentProvider
to operate.
DocumentProvider
Implemented by components that can provide org.w3c.dom Document(s) through a pull
mechanism to a DocumentConsumer.
DOMHandler
Implemented by components that process Document(s).
DOMSupplier
Implemented by components that supply Document(s) to DOMHandler(s).

Classes in com.tibco.xml.channel.dom used by


com.tibco.xml.validation.helpers
DOMHandler
Implemented by components that process Document(s).
DOMSupplier
Implemented by components that supply Document(s) to DOMHandler(s).

Classes in com.tibco.xml.channel.dom used by


com.tibco.xml.validation.scripting
DOMHandler
Implemented by components that process Document(s).
DOMSupplier
Implemented by components that supply Document(s) to DOMHandler(s).

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Package
com.tibco.xml.channel.entity
Packages that use com.tibco.xml.channel.entity
com.tibco.xml.processor Processors for manipulating XML information sets.
This package contains a collection of interfaces for representation
com.tibco.xml.schema
of a schema.
com.tibco.xml.validation.helpers Ready-to-use validation patterns.

com.tibco.xml.validation.kernel Validation components that may be used to assemble a specialized


validator.

Classes in com.tibco.xml.channel.entity used by


com.tibco.xml.processor
EntityConsumer

Classes in com.tibco.xml.channel.entity used by


com.tibco.xml.schema
EntityConsumer

Classes in com.tibco.xml.channel.entity used by


com.tibco.xml.validation.helpers
EntityConsumer
Classes in com.tibco.xml.channel.entity used by
com.tibco.xml.validation.kernel
EntityConsumer

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Package
com.tibco.xml.channel.error
Packages that use com.tibco.xml.channel.error
This package contains a collection of interfaces for representation
com.tibco.xml.schema
of a schema.
com.tibco.xml.validation.helpers Ready-to-use validation patterns.

com.tibco.xml.validation.kernel Validation components that may be used to assemble a specialized


validator.

Classes in com.tibco.xml.channel.error used by


com.tibco.xml.schema
ErrorSupplier
Implemented by components that supply SAX Error(s) to SAX ErrorHandler(s).

Classes in com.tibco.xml.channel.error used by


com.tibco.xml.validation.helpers
ErrorSupplier
Implemented by components that supply SAX Error(s) to SAX ErrorHandler(s).

Classes in com.tibco.xml.channel.error used by


com.tibco.xml.validation.kernel
ErrorSupplier
Implemented by components that supply SAX Error(s) to SAX ErrorHandler(s).
Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Package
com.tibco.xml.channel.property
Packages that use com.tibco.xml.channel.property
com.tibco.xml.channel.property Property information channels.
com.tibco.xml.validation.helpers Ready-to-use validation patterns.
Validation components that may be used to assemble a
com.tibco.xml.validation.kernel
specialized validator.

com.tibco.xml.validation.scripting A mechanism for extending standard validation using XML


Processing Language (XPL) script.

Classes in com.tibco.xml.channel.property used by


com.tibco.xml.channel.property
PropertyHandler
Implemented by components that receive property values pushed by a PropertySupplier.
PropertyProvider
Implemented by components that can provide property values through a pull mechanism to a
PropertyConsumer.

Classes in com.tibco.xml.channel.property used by


com.tibco.xml.validation.helpers
PropertyConsumer
Implemented by components that require property values from a PropertyProvider to operate.
PropertyProvider
Implemented by components that can provide property values through a pull mechanism to a
PropertyConsumer.
Classes in com.tibco.xml.channel.property used by
com.tibco.xml.validation.kernel
PropertyConsumer
Implemented by components that require property values from a PropertyProvider to operate.
PropertyProvider
Implemented by components that can provide property values through a pull mechanism to a
PropertyConsumer.

Classes in com.tibco.xml.channel.property used by


com.tibco.xml.validation.scripting
PropertyConsumer
Implemented by components that require property values from a PropertyProvider to operate.
PropertyHandler
Implemented by components that receive property values pushed by a PropertySupplier.
PropertyProvider
Implemented by components that can provide property values through a pull mechanism to a
PropertyConsumer.
PropertySupplier
Implemented by components that can supply property values through a push mechanism to
PropertyHandler(s).

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Package
com.tibco.xml.channel.remark
Packages that use com.tibco.xml.channel.remark
com.tibco.xml.channel.remark Remark information channels.
com.tibco.xml.processor Processors for manipulating XML information sets.
com.tibco.xml.validation.constraints A mechanism for adding custom constraints to the validator.
com.tibco.xml.validation.helpers Ready-to-use validation patterns.
Validation components that may be used to assemble a
com.tibco.xml.validation.kernel
specialized validator.
A mechanism for extending standard validation using XML
com.tibco.xml.validation.scripting
Processing Language (XPL) script.

Classes in com.tibco.xml.channel.remark used by


com.tibco.xml.channel.remark
XmlRemarkHandler
Implemented by components that handle XML Remarks.
XmlRemarkSupplier
Implemented by components that supply XML Remarks to one XmlRemarkHandler.

Classes in com.tibco.xml.channel.remark used by


com.tibco.xml.processor
XmlRemarkHandler
Implemented by components that handle XML Remarks.
XmlRemarkSupplier
Implemented by components that supply XML Remarks to one XmlRemarkHandler.
Classes in com.tibco.xml.channel.remark used by
com.tibco.xml.validation.constraints
XmlRemarkHandler
Implemented by components that handle XML Remarks.
XmlRemarkSupplier
Implemented by components that supply XML Remarks to one XmlRemarkHandler.

Classes in com.tibco.xml.channel.remark used by


com.tibco.xml.validation.helpers
XmlRemarkFilter

XmlRemarkHandler
Implemented by components that handle XML Remarks.
XmlRemarkSupplier
Implemented by components that supply XML Remarks to one XmlRemarkHandler.

Classes in com.tibco.xml.channel.remark used by


com.tibco.xml.validation.kernel
XmlRemarkHandler
Implemented by components that handle XML Remarks.
XmlRemarkSupplier
Implemented by components that supply XML Remarks to one XmlRemarkHandler.

Classes in com.tibco.xml.channel.remark used by


com.tibco.xml.validation.scripting
XmlRemarkHandler
Implemented by components that handle XML Remarks.
XmlRemarkSupplier
Implemented by components that supply XML Remarks to one XmlRemarkHandler.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Package
com.tibco.xml.channel.stream
Packages that use com.tibco.xml.channel.stream
com.tibco.xml.adjuncts.streaming A mechanism for associating metadata with an XML Stream.
com.tibco.xml.channel.stream XML stream information channels.
com.tibco.xml.channel.stream.helpers Utility classes for operating on XML streams.
The XmlCursor interface, representing a cursor over an XML
com.tibco.xml.data.cursor
information set.
com.tibco.xml.processor Processors for manipulating XML information sets.
com.tibco.xml.validation.constraints A mechanism for adding custom constraints to the validator.
com.tibco.xml.validation.helpers Ready-to-use validation patterns.
Validation components that may be used to assemble a
com.tibco.xml.validation.kernel
specialized validator.
A mechanism for extending standard validation using XML
com.tibco.xml.validation.scripting
Processing Language (XPL) script.

Classes in com.tibco.xml.channel.stream used by


com.tibco.xml.adjuncts.streaming
XmlStreamHandler
Implemented by components that process XML Stream events.
XmlStreamSupplier
Implemented by components that supply an XML Stream to XmlStreamHandler(s).

Classes in com.tibco.xml.channel.stream used by


com.tibco.xml.channel.stream
XmlStreamHandler
Implemented by components that process XML Stream events.
XmlStreamSupplier
Implemented by components that supply an XML Stream to XmlStreamHandler(s).

Classes in com.tibco.xml.channel.stream used by


com.tibco.xml.channel.stream.helpers
XmlStreamFilter

XmlStreamHandler
Implemented by components that process XML Stream events.
XmlStreamSupplier
Implemented by components that supply an XML Stream to XmlStreamHandler(s).
XmlStreamSupplierMulticast
Implemented by components that supply XML Stream events to multiple XmlStreamHandler(s).

Classes in com.tibco.xml.channel.stream used by


com.tibco.xml.data.cursor
XmlStreamHandler
Implemented by components that process XML Stream events.

Classes in com.tibco.xml.channel.stream used by


com.tibco.xml.processor
XmlStreamFilter

XmlStreamHandler
Implemented by components that process XML Stream events.
XmlStreamSupplier
Implemented by components that supply an XML Stream to XmlStreamHandler(s).
Classes in com.tibco.xml.channel.stream used by
com.tibco.xml.validation.constraints
XmlStreamHandler
Implemented by components that process XML Stream events.
XmlStreamSupplier
Implemented by components that supply an XML Stream to XmlStreamHandler(s).

Classes in com.tibco.xml.channel.stream used by


com.tibco.xml.validation.helpers
XmlStreamHandler
Implemented by components that process XML Stream events.
XmlStreamSupplier
Implemented by components that supply an XML Stream to XmlStreamHandler(s).

Classes in com.tibco.xml.channel.stream used by


com.tibco.xml.validation.kernel
XmlStreamHandler
Implemented by components that process XML Stream events.
XmlStreamSupplier
Implemented by components that supply an XML Stream to XmlStreamHandler(s).

Classes in com.tibco.xml.channel.stream used by


com.tibco.xml.validation.scripting
XmlStreamHandler
Implemented by components that process XML Stream events.
XmlStreamSupplier
Implemented by components that supply an XML Stream to XmlStreamHandler(s).
Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Package
com.tibco.xml.channel.stream.helpers
Packages that use com.tibco.xml.channel.stream.helpers
com.tibco.xml.adjuncts.streaming A mechanism for associating metadata with an XML Stream.
com.tibco.xml.validation.constraints A mechanism for adding custom constraints to the validator.
Validation components that may be used to assemble a
com.tibco.xml.validation.kernel
specialized validator.

Classes in com.tibco.xml.channel.stream.helpers used by


com.tibco.xml.adjuncts.streaming
DefaultXmlStreamHandler
Acts as a dummy filter

Classes in com.tibco.xml.channel.stream.helpers used by


com.tibco.xml.validation.constraints
DefaultXmlStreamHandler
Acts as a dummy filter

Classes in com.tibco.xml.channel.stream.helpers used by


com.tibco.xml.validation.kernel
DefaultXmlStreamHandler
Acts as a dummy filter
Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Package
com.tibco.xml.channel.typeuri
Packages that use com.tibco.xml.channel.typeuri
com.tibco.xml.channel.typeuri TypeURI information channels.
com.tibco.xml.processor Processors for manipulating XML information sets.
com.tibco.xml.validation.helpers Ready-to-use validation patterns.
Validation components that may be used to assemble a
com.tibco.xml.validation.kernel
specialized validator.

com.tibco.xml.validation.scripting A mechanism for extending standard validation using XML


Processing Language (XPL) script.

Classes in com.tibco.xml.channel.typeuri used by


com.tibco.xml.channel.typeuri
TypeURIHandler

Classes in com.tibco.xml.channel.typeuri used by


com.tibco.xml.processor
TypeURIHandler

Classes in com.tibco.xml.channel.typeuri used by


com.tibco.xml.validation.helpers
TypeURIHandler

TypeURISupplier

Classes in com.tibco.xml.channel.typeuri used by


com.tibco.xml.validation.kernel
TypeURIHandler

TypeURISupplier

Classes in com.tibco.xml.channel.typeuri used by


com.tibco.xml.validation.scripting
TypeURIHandler

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Package
com.tibco.xml.data.context
Packages that use com.tibco.xml.data.context
com.tibco.xml.channel.context XML Context information channels.
com.tibco.xml.channel.remark Remark information channels.
The XmlContext interface, representing a context in an XML
com.tibco.xml.data.context
information set.
com.tibco.xml.data.context.helpers Utility classes for operating on XML contexts.
com.tibco.xml.data.cursor.helpers Utility classes for operating on XML cursors.
com.tibco.xml.validation.constraints A mechanism for adding custom constraints to the validator.
com.tibco.xml.validation.helpers Ready-to-use validation patterns.
Validation components that may be used to assemble a
com.tibco.xml.validation.kernel
specialized validator.

Classes in com.tibco.xml.data.context used by


com.tibco.xml.channel.context
XmlContext
Provides access to data and type information for an attribute or element within an information
set.

Classes in com.tibco.xml.data.context used by


com.tibco.xml.channel.remark
XmlContext
Provides access to data and type information for an attribute or element within an information
set.
Classes in com.tibco.xml.data.context used by
com.tibco.xml.data.context
XmlContext
Provides access to data and type information for an attribute or element within an information
set.

Classes in com.tibco.xml.data.context used by


com.tibco.xml.data.context.helpers
XmlContext
Provides access to data and type information for an attribute or element within an information
set.

Classes in com.tibco.xml.data.context used by


com.tibco.xml.data.cursor.helpers
XmlContext
Provides access to data and type information for an attribute or element within an information
set.

Classes in com.tibco.xml.data.context used by


com.tibco.xml.validation.constraints
XmlContext
Provides access to data and type information for an attribute or element within an information
set.

Classes in com.tibco.xml.data.context used by


com.tibco.xml.validation.helpers
XmlContext
Provides access to data and type information for an attribute or element within an information
set.

Classes in com.tibco.xml.data.context used by


com.tibco.xml.validation.kernel
XmlContext
Provides access to data and type information for an attribute or element within an information
set.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Package
com.tibco.xml.data.context.helpers
No usage of com.tibco.xml.data.context.helpers

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Package
com.tibco.xml.data.cursor
Packages that use com.tibco.xml.data.cursor
com.tibco.xml.channel.stream XML stream information channels.
com.tibco.xml.channel.stream.helpers Utility classes for operating on XML streams.
com.tibco.xml.data.context.helpers Utility classes for operating on XML contexts.
The XmlCursor interface, representing a cursor over an XML
com.tibco.xml.data.cursor
information set.
com.tibco.xml.data.cursor.helpers Utility classes for operating on XML cursors.
com.tibco.xml.processor Processors for manipulating XML information sets.
Validation components that may be used to assemble a
com.tibco.xml.validation.kernel
specialized validator.

Classes in com.tibco.xml.data.cursor used by


com.tibco.xml.channel.stream
XmlCursor
Provides access to data and type information for an XML information set item.

Classes in com.tibco.xml.data.cursor used by


com.tibco.xml.channel.stream.helpers
XmlCursor
Provides access to data and type information for an XML information set item.
Classes in com.tibco.xml.data.cursor used by
com.tibco.xml.data.context.helpers
XmlCursor
Provides access to data and type information for an XML information set item.

Classes in com.tibco.xml.data.cursor used by


com.tibco.xml.data.cursor
XmlCursor
Provides access to data and type information for an XML information set item.

Classes in com.tibco.xml.data.cursor used by


com.tibco.xml.data.cursor.helpers
XmlCursor
Provides access to data and type information for an XML information set item.

Classes in com.tibco.xml.data.cursor used by


com.tibco.xml.processor
XmlCursor
Provides access to data and type information for an XML information set item.

Classes in com.tibco.xml.data.cursor used by


com.tibco.xml.validation.kernel
XmlCursor
Provides access to data and type information for an XML information set item.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Package
com.tibco.xml.data.cursor.helpers
No usage of com.tibco.xml.data.cursor.helpers

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Package
com.tibco.xml.data.node
Packages that use com.tibco.xml.data.node
The XmlContext interface, representing a context in an XML
com.tibco.xml.data.context
information set.
com.tibco.xml.data.context.helpers Utility classes for operating on XML contexts.
The XmlCursor interface, representing a cursor over an XML
com.tibco.xml.data.cursor
information set.
com.tibco.xml.data.cursor.helpers Utility classes for operating on XML cursors.
The XmlNode interface, representing information common to an
com.tibco.xml.data.node
XML context and an XML cursor.
com.tibco.xml.data.primitive XML primitive types.

Classes in com.tibco.xml.data.node used by


com.tibco.xml.data.context
XmlNode
Provides access to data and type information for an attribute or element within an information
set.
XmlProps

XmlTypes

Classes in com.tibco.xml.data.node used by


com.tibco.xml.data.context.helpers
XmlNode
Provides access to data and type information for an attribute or element within an information
set.
XmlProps

XmlTypes

XmlValue
XmlValue is the representation of a simple type in an XML information set.

Classes in com.tibco.xml.data.node used by


com.tibco.xml.data.cursor
XmlNode
Provides access to data and type information for an attribute or element within an information
set.
XmlProps

XmlTypes

Classes in com.tibco.xml.data.node used by


com.tibco.xml.data.cursor.helpers
XmlNode
Provides access to data and type information for an attribute or element within an information
set.
XmlProps

XmlTypes

XmlValue
XmlValue is the representation of a simple type in an XML information set.
Classes in com.tibco.xml.data.node used by
com.tibco.xml.data.node
XmlProps

XmlTypes

XmlValue
XmlValue is the representation of a simple type in an XML information set.

Classes in com.tibco.xml.data.node used by


com.tibco.xml.data.primitive
XmlValue
XmlValue is the representation of a simple type in an XML information set.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Package
com.tibco.xml.data.primitive
Packages that use com.tibco.xml.data.primitive
The XmlContext interface, representing a context in an XML
com.tibco.xml.data.context
information set.
com.tibco.xml.data.context.helpers Utility classes for operating on XML contexts.
The XmlCursor interface, representing a cursor over an XML
com.tibco.xml.data.cursor
information set.
com.tibco.xml.data.cursor.helpers Utility classes for operating on XML cursors.
The XmlNode interface, representing information common to an
com.tibco.xml.data.node
XML context and an XML cursor.
com.tibco.xml.data.primitive XML primitive types.
com.tibco.xml.processor Processors for manipulating XML information sets.
Interfaces used by the validator to communicate schema location
com.tibco.xml.validation.channel
hints in documents.
Validation components that may be used to assemble a
com.tibco.xml.validation.kernel
specialized validator.

com.tibco.xml.validation.scripting A mechanism for extending standard validation using XML


Processing Language (XPL) script.

Classes in com.tibco.xml.data.primitive used by


com.tibco.xml.data.context
ExpandedName

NamespaceResolver
A bidirectional namespace-prefix resolver
NamespaceToPrefixResolver

PrefixToNamespaceResolver

UnsupportedAxisException

Classes in com.tibco.xml.data.primitive used by


com.tibco.xml.data.context.helpers
ExpandedName

NamespaceResolver
A bidirectional namespace-prefix resolver
NamespaceToPrefixResolver

PrefixToNamespaceResolver

QName

UnsupportedAxisException

Classes in com.tibco.xml.data.primitive used by


com.tibco.xml.data.cursor
ExpandedName

NamespaceResolver
A bidirectional namespace-prefix resolver
NamespaceToPrefixResolver

PrefixToNamespaceResolver
UnsupportedAxisException

Classes in com.tibco.xml.data.primitive used by


com.tibco.xml.data.cursor.helpers
ExpandedName

NamespaceResolver
A bidirectional namespace-prefix resolver
NamespaceToPrefixResolver

NamespaceToPrefixResolver.NamespaceNotFoundException
Indicates that a namespace could not be found by the NamespaceToPrefixResolver
PrefixToNamespaceResolver

PrefixToNamespaceResolver.PrefixNotFoundException
Indicates that a prefix could not be found by the PrefixToNamespaceResolver
QName

UnsupportedAxisException

Classes in com.tibco.xml.data.primitive used by


com.tibco.xml.data.node
ExpandedName

NamespaceResolver
A bidirectional namespace-prefix resolver
NamespaceToPrefixResolver

PrefixToNamespaceResolver
QName

Classes in com.tibco.xml.data.primitive used by


com.tibco.xml.data.primitive
ExpandedName

NamespaceToPrefixResolver

NamespaceToPrefixResolver.NamespaceNotFoundException
Indicates that a namespace could not be found by the NamespaceToPrefixResolver
PrefixToNamespaceResolver

PrefixToNamespaceResolver.PrefixNotFoundException
Indicates that a prefix could not be found by the PrefixToNamespaceResolver
QName

Classes in com.tibco.xml.data.primitive used by


com.tibco.xml.processor
NamespaceToPrefixResolver.NamespaceNotFoundException
Indicates that a namespace could not be found by the NamespaceToPrefixResolver

Classes in com.tibco.xml.data.primitive used by


com.tibco.xml.validation.channel
ExpandedName
Classes in com.tibco.xml.data.primitive used by
com.tibco.xml.validation.kernel
ExpandedName

Classes in com.tibco.xml.data.primitive used by


com.tibco.xml.validation.scripting
ExpandedName

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Package
com.tibco.xml.processor
Packages that use com.tibco.xml.processor
com.tibco.xml.processor Processors for manipulating XML information sets.

com.tibco.xml.validation.kernel Validation components that may be used to assemble a specialized


validator.

Classes in com.tibco.xml.processor used by


com.tibco.xml.processor
SAXContent2XmlStream
Performs conversion from SAX Content to an untyped XML Stream.
XmlStreamCompiler
Compiles Simple Types in an XML stream to user-defined types derived from XmlValue
through the plug-in SimpleTypeCompiler mechanism.
XmlStreamSerializer
An XmlStreamHandler serializing the stream into an XML document using the Writer or
OutputStream passed to the constructor.
XmlStreamSimplEx
Simple Type Extended Validation (SimpleEx).

Classes in com.tibco.xml.processor used by


com.tibco.xml.validation.kernel
SAXContent2XmlStream
Performs conversion from SAX Content to an untyped XML Stream.
SAXContentNormalizer
Performs normalization of SAX Content.
XmlStreamEnhancer
Performs conversion from a basic XML Stream to an XML Stream with Schema Information.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Package
com.tibco.xml.runtime
Packages that use com.tibco.xml.runtime
com.tibco.xml.channel.stream.helpers Utility classes for operating on XML streams.
com.tibco.xml.processor Processors for manipulating XML information sets.
com.tibco.xml.runtime This is the main XML Runtime package.
Validation components that may be used to assemble a
com.tibco.xml.validation.kernel
specialized validator.
A mechanism for extending standard validation using XML
com.tibco.xml.validation.scripting
Processing Language (XPL) script.

Classes in com.tibco.xml.runtime used by


com.tibco.xml.channel.stream.helpers
IBlackBox
A Black Box is a component with a hidden implementation.

Classes in com.tibco.xml.runtime used by


com.tibco.xml.processor
IBlackBox
A Black Box is a component with a hidden implementation.
IConfigurable
The IConfigurable interface allows an instance to have configuration information set at runtime.
IContextConsumer
This interface should be implemented by all black box components that require contextual
information or the creation of other components.
IContextProvider
This interface is implemented to provide contextual information to black box components.

Classes in com.tibco.xml.runtime used by


com.tibco.xml.runtime
IBlackBox
A Black Box is a component with a hidden implementation.
IConnectionBuilder
This interface is implemented for each pair of message interfaces so that a script may be used to
connect together the channels of black boxes at execution time.
IContextProvider
This interface is implemented to provide contextual information to black box components.
IFactory
This interface implements the standard factory pattern for black box components.

Classes in com.tibco.xml.runtime used by


com.tibco.xml.validation.kernel
IBlackBox
A Black Box is a component with a hidden implementation.

Classes in com.tibco.xml.runtime used by


com.tibco.xml.validation.scripting
IBlackBox
A Black Box is a component with a hidden implementation.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Package
com.tibco.xml.runtime.data
Packages that use com.tibco.xml.runtime.data
This package contains some standard "channel" interfaces for
com.tibco.xml.runtime.data
XML Runtime.

com.tibco.xml.validation.channel Interfaces used by the validator to communicate schema location


hints in documents.
Validation components that may be used to assemble a specialized
com.tibco.xml.validation.kernel
validator.

Classes in com.tibco.xml.runtime.data used by


com.tibco.xml.runtime.data
BooleanHandler

DocumentLocatorProvider
Implemented by components that can provide a SAX Locator.
StringHandler

UriHandler

UrlHandler

Classes in com.tibco.xml.runtime.data used by


com.tibco.xml.validation.channel
Entity
Classes in com.tibco.xml.runtime.data used by
com.tibco.xml.validation.kernel
Entity

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Package
com.tibco.xml.validation.channel
Packages that use com.tibco.xml.validation.channel
com.tibco.xml.processor Processors for manipulating XML information sets.

com.tibco.xml.validation.channel Interfaces used by the validator to communicate schema location


hints in documents.
Validation components that may be used to assemble a specialized
com.tibco.xml.validation.kernel
validator.

Classes in com.tibco.xml.validation.channel used by


com.tibco.xml.processor
LocationHintHandler

LocationHintSupplier

Classes in com.tibco.xml.validation.channel used by


com.tibco.xml.validation.channel
LocationHintHandler

Classes in com.tibco.xml.validation.channel used by


com.tibco.xml.validation.kernel
LocationHintHandler
LocationHintSupplier

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.schema.SmException
Packages that use SmException
This package contains a collection of interfaces for representation of a
com.tibco.xml.schema
schema.

Uses of SmException in com.tibco.xml.schema

Subclasses of SmException in com.tibco.xml.schema


static class SmVisitor.Failure

static class SmVisitor.Result


Result of a "search" visit.
static class SmVisitor.Success

Methods in com.tibco.xml.schema that throw SmException


void SmSchemaSpace.add(SmSchema schema, java.lang.String prefix)
Adds a schema to this schemaSpace.
void SmSchemaSpace.add(SmSchema schema)
Adds a schema to this schemaSpace.
void SmSchemaSpace.addXDR(SmSchema schema, java.lang.String namespace)
Adds an XDR schema to this schemaSpace.
void SmSchemaSpace.addDTD(SmSchema dtd, java.lang.String publicId)
Adds a DTD to this schemaSpace.
void SmComponent.checkErrors(SmSchemaError.Handler handler)
Check for errors.
void SmComponent.accept(SmVisitor visitor)
Visit this component.
static SmDataComponent SmSupport.getComponentByPath(SmSchema schema, java.lang.String path)

void SmVisitor.visitSchema(SmSchema schema)

void SmVisitor.tryVisit(SmComponent component)


Visit an anonymous component or schedule a visit to a named component.
void SmVisitor.visitComponentRef(SmComponent component)
Visit a named component as a reference.
void SmVisitor.visitElement(SmElement element)
void SmVisitor.visitAttribute(SmAttribute attribute)

void SmVisitor.visitDataComponent(SmDataComponent component)

void SmVisitor.visitComponent(SmComponent component)

void SmVisitor.visitParticleTerm(SmParticleTerm term)

void SmVisitor.visitParticle(SmParticle particle)

void SmVisitor.visitModelGroup(SmModelGroup group)

void SmVisitor.visitWildcard(SmWildcard wildcard)

void SmVisitor.visitAttributeGroup(SmAttributeGroup attrGroup)

void SmVisitor.visitType(SmType type)

void SmVisitor.visitTypeFacet(SmTypeFacet facet)

void SmVisitor.visitIdentityConstraint(SmIdentityConstraint constraint)

void SmVisitor.visitNotation(SmNotation notation)

void SmVisitor.visitMetaForeignAttribute(SmMetaForeignAttribute mfa)

void SmVisitor.Default.visitSchema(SmSchema schema)

void SmVisitor.Default.tryVisit(SmComponent component)


Default implementation of tryVisit only visits anonymous components immediately, and schedules at
most one visit of each named component.
protected void SmVisitor.Default.tryVisit(java.util.Iterator components)

void SmVisitor.Default.visitComponentRef(SmComponent component)

void SmVisitor.Default.visitElement(SmElement element)

void SmVisitor.Default.visitAttribute(SmAttribute attribute)

void SmVisitor.Default.visitDataComponent(SmDataComponent component)

void SmVisitor.Default.visitComponent(SmComponent component)

void SmVisitor.Default.visitParticleTerm(SmParticleTerm term)

void SmVisitor.Default.visitParticle(SmParticle particle)


void SmVisitor.Default.visitModelGroup(SmModelGroup group)

void SmVisitor.Default.visitWildcard(SmWildcard wildcard)

void SmVisitor.Default.visitAttributeGroup(SmAttributeGroup attrGroup)

void SmVisitor.Default.visitType(SmType type)

void SmVisitor.Default.visitTypeFacet(SmTypeFacet facet)

void SmVisitor.Default.visitIdentityConstraint(SmIdentityConstraint constraint)

void SmVisitor.Default.visitNotation(SmNotation notation)

void SmVisitor.Default.visitMetaForeignAttribute(SmMetaForeignAttribute mfa)

void SmSchema.checkErrors(SmSchemaError.Handler handler)


Check for errors in the schema.
void SmSchema.accept(SmVisitor visitor)
Visit this schema and its components.
void SmSchemaError.Handler.error(SmSchemaError e)

void SmSchemaError.Handler.warning(SmSchemaError e)

SmSchema SmParser.parse(org.xml.sax.InputSource input, SmSchemaSpace schemaSpace,


java.lang.String namespace)
Parses the given input into an equivalent SmSchema.
SmSchema SmFactory.parse(org.xml.sax.InputSource input, SmSchemaSpace schemaSpace,
java.lang.String namespace)
Parses the input with the stored SmParser.
static SmFactory SmFactory.newInstance()
Obtain a new instance of a SmFactory.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.schema.SmFactory
Packages that use SmFactory
com.tibco.xml.schema This package contains a collection of interfaces for representation of a
schema.

Uses of SmFactory in com.tibco.xml.schema

Methods in com.tibco.xml.schema that return SmFactory


static SmFactory SmFactory.newInstance()
Obtain a new instance of a SmFactory.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.schema.SmFlavor
Packages that use SmFlavor
com.tibco.xml.schema This package contains a collection of interfaces for representation of a
schema.

Uses of SmFlavor in com.tibco.xml.schema

Methods in com.tibco.xml.schema that return SmFlavor


SmFlavor SmSchema.getFlavor()
Returns the "flavor" of the schema.

Methods in com.tibco.xml.schema with parameters of type SmFlavor


static boolean SmSupport.attributeIsPredefined(java.lang.String namespace,
java.lang.String attrName, SmFlavor flavor)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.schema.SmIdentityConstraint
Packages that use SmIdentityConstraint
This package contains a collection of interfaces for representation of a
com.tibco.xml.schema
schema.

Uses of SmIdentityConstraint in com.tibco.xml.schema

Methods in com.tibco.xml.schema that return SmIdentityConstraint


static SmIdentityConstraint SmSupport.getIdentityConstraint(SmSchema schema,
java.lang.String name)

SmIdentityConstraint SmIdentityConstraint.getReferencedKey()
In the case of keyref constraints, returns the corresponding key
constraint.

Methods in com.tibco.xml.schema with parameters of type SmIdentityConstraint


void SmVisitor.visitIdentityConstraint(SmIdentityConstraint constraint)

void SmVisitor.Default.visitIdentityConstraint(SmIdentityConstraint constraint)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.schema.SmIdentityConstraint.Path
Packages that use SmIdentityConstraint.Path
com.tibco.xml.schema This package contains a collection of interfaces for representation of a
schema.

Uses of SmIdentityConstraint.Path in com.tibco.xml.schema

Methods in com.tibco.xml.schema that return SmIdentityConstraint.Path


SmIdentityConstraint.Path SmIdentityConstraint.getSelector()
Returns the selector path of the constraint.

Methods in com.tibco.xml.schema with parameters of type SmIdentityConstraint.Path


static java.lang.String SmSupport.xpath2Str(com.tibco.sax.PrefixMap prefMap,
SmIdentityConstraint.Path xpath)
Convert an SmIdentityConstraint.Path to an xpath expression

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.schema.SmMetaForeignAttribute
Packages that use SmMetaForeignAttribute
com.tibco.xml.schema This package contains a collection of interfaces for representation of a
schema.

Uses of SmMetaForeignAttribute in com.tibco.xml.schema

Methods in com.tibco.xml.schema that return SmMetaForeignAttribute


static SmMetaForeignAttribute SmSupport.getMetaForeignAttribute(SmComponent comp,
java.lang.String ns, java.lang.String name)
Return the SmMetaForeignAttribute with the given namespace and
name from the given component

Methods in com.tibco.xml.schema with parameters of type SmMetaForeignAttribute


void SmVisitor.visitMetaForeignAttribute(SmMetaForeignAttribute mfa)

void SmVisitor.Default.visitMetaForeignAttribute(SmMetaForeignAttribute mfa)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.schema.SmMetaInfo
Packages that use SmMetaInfo
com.tibco.xml.schema This package contains a collection of interfaces for representation of a
schema.

Uses of SmMetaInfo in com.tibco.xml.schema

Subinterfaces of SmMetaInfo in com.tibco.xml.schema


interface SmMetaForeignAttribute

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.schema.SmModelGroup
Packages that use SmModelGroup
com.tibco.xml.schema This package contains a collection of interfaces for representation of a
schema.

Uses of SmModelGroup in com.tibco.xml.schema

Subinterfaces of SmModelGroup in com.tibco.xml.schema


interface SmAttributeGroup
SmAttributeGroup is a SmModelGroup with the constraint that all particles are
attributes and the compositor is ALL.

Methods in com.tibco.xml.schema that return SmModelGroup


static SmModelGroup SmSupport.getModelGroup(SmSchema schema,
java.lang.String name)

static SmModelGroup SmSupport.extractExtendedParticles(SmModelGroup base,


SmModelGroup ext)
Extract the particles which are extended to a base content model
SmModelGroup SmType.getContentModel()
Returns the model group for the element content, or null for simple
content.

Methods in com.tibco.xml.schema with parameters of type SmModelGroup


protected static void SmSupport.gatherDescendentInfo(SmSchema schema,
java.util.Map descendentMap,
java.util.Map localDescendentMap, SmElement topElement,
SmModelGroup modelGroup)

static java.lang.String SmSupport.getModelString(SmModelGroup model)


Builds a DTD-like string representation of the given model group.
static java.util.List SmSupport.getModelContentList(SmModelGroup model)
Given a model group, returns a list of SmDataComponent particle terms in the
model group.
static void SmSupport.extractModelContent(SmModelGroup model,
java.util.List modelContent)
Walks the content model tree and fills in the given List with the
SmDataComponents in the model.
static boolean SmSupport.addPotentialFollowers(java.util.List followers,
SmModelGroup model, java.lang.String namespace,
java.lang.String name)
Determines possible followers of a node of the given name and namespace.
static java.util.List SmSupport.getPotentialFollowers(SmModelGroup model,
java.lang.String namespace, java.lang.String name)
Determines possible followers of a node of the given name and namespace.
static SmModelGroup SmSupport.extractExtendedParticles(SmModelGroup base,
SmModelGroup ext)
Extract the particles which are extended to a base content model
void SmVisitor.visitModelGroup(SmModelGroup group)

void SmVisitor.Default.visitModelGroup(SmModelGroup group)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.schema.SmNotation
Packages that use SmNotation
com.tibco.xml.schema This package contains a collection of interfaces for representation of a
schema.

Uses of SmNotation in com.tibco.xml.schema

Methods in com.tibco.xml.schema that return SmNotation


static SmNotation SmSupport.getNotation(SmSchema schema,
java.lang.String name)

Methods in com.tibco.xml.schema with parameters of type SmNotation


void SmVisitor.visitNotation(SmNotation notation)

void SmVisitor.Default.visitNotation(SmNotation notation)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.schema.SmParser
Packages that use SmParser
com.tibco.xml.schema This package contains a collection of interfaces for representation of a
schema.

Uses of SmParser in com.tibco.xml.schema

Fields in com.tibco.xml.schema declared as SmParser


protected SmParser SmFactory.m_parser

Methods in com.tibco.xml.schema that return SmParser


SmParser SmFactory.getParser()
Returns the current parser.

Methods in com.tibco.xml.schema with parameters of type SmParser


void SmFactory.setParser(SmParser parser)
Sets the parser for parsing InputSources.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.schema.SmParticle
Packages that use SmParticle
com.tibco.xml.schema This package contains a collection of interfaces for representation of a
schema.

Uses of SmParticle in com.tibco.xml.schema

Methods in com.tibco.xml.schema with parameters of type SmParticle


static java.lang.String SmSupport.getParticleOccurrenceString(SmParticle p)
Returns a string representation for the occurrence values of the given
group particle.
void SmVisitor.visitParticle(SmParticle particle)

void SmVisitor.Default.visitParticle(SmParticle particle)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.schema.SmParticleTerm
Packages that use SmParticleTerm
com.tibco.xml.schema This package contains a collection of interfaces for representation of a
schema.

Uses of SmParticleTerm in com.tibco.xml.schema

Subinterfaces of SmParticleTerm in com.tibco.xml.schema


interface SmAttribute
SmAttribute represents an attribute declaration, which may be global or local to
some type.
interface SmAttributeGroup
SmAttributeGroup is a SmModelGroup with the constraint that all particles are
attributes and the compositor is ALL.
interface SmDataComponent
SmDataComponent represents an data object in a schema (either an element or
attribute), which may be global to a schema or local to some type.
interface SmElement
The SmElement interface models an element declaration, which could be global
within the schema or local to some other element.
interface SmModelGroup
SmModelGroup represents a group of content sequences.
interface SmWildcard
SmWildcard represent wildcard terms of content models.

Methods in com.tibco.xml.schema that return SmParticleTerm


SmParticleTerm SmParticle.getTerm()
Returns the SmParticleTerm for this SmParticle.

Methods in com.tibco.xml.schema with parameters of type SmParticleTerm


static void SmSupport.addFirstTerms(java.util.List followers,
SmParticleTerm term)

static boolean SmSupport.matches(SmDataComponent item,


SmParticleTerm term)
Determines whether the given element or attribute (and type) matches the
term.
static boolean SmSupport.matches(SmParticleTerm term,
java.lang.String namespace, java.lang.String name)
Determines whether the given term matches the given namespace and name.
void SmVisitor.visitParticleTerm(SmParticleTerm term)

void SmVisitor.Default.visitParticleTerm(SmParticleTerm term)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.schema.SmSchema
Packages that use SmSchema
com.tibco.xml.data.context.helpers Utility classes for operating on XML contexts.
com.tibco.xml.data.cursor.helpers Utility classes for operating on XML cursors.
The XmlNode interface, representing information common to an
com.tibco.xml.data.node
XML context and an XML cursor.

com.tibco.xml.schema This package contains a collection of interfaces for


representation of a schema.
com.tibco.xml.schema.channel Schema provisioning interfaces.
Validation components that may be used to assemble a
com.tibco.xml.validation.kernel
specialized validator.

Uses of SmSchema in com.tibco.xml.data.context.helpers

Methods in com.tibco.xml.data.context.helpers that return SmSchema


SmSchema XmlContextOnXmlCursor.getSchema()

Methods in com.tibco.xml.data.context.helpers with parameters of type SmSchema


void XmlContextOnXmlCursor.setSchema(SmSchema schema)

Uses of SmSchema in com.tibco.xml.data.cursor.helpers

Methods in com.tibco.xml.data.cursor.helpers that return SmSchema


SmSchema XmlCursor4DOM.getSchema()
SmSchema XmlCursorOnXmlContext.getSchema()

Methods in com.tibco.xml.data.cursor.helpers with parameters of type SmSchema


void XmlCursor4DOM.setSchema(SmSchema schema)

void XmlCursorOnXmlContext.setSchema(SmSchema schema)

Uses of SmSchema in com.tibco.xml.data.node

Methods in com.tibco.xml.data.node that return SmSchema


SmSchema XmlNode.getSchema()
Returns the schema for this context.

Methods in com.tibco.xml.data.node with parameters of type SmSchema


void XmlNode.setSchema(SmSchema schema)
Sets the schema model for this context.

Uses of SmSchema in com.tibco.xml.schema

Methods in com.tibco.xml.schema that return SmSchema


SmSchema SmSchemaSpace.remove(SmSchema schema)
Removes the given schema from the schemaspace.
SmSchema SmSchemaSpace.remove(java.lang.String namespace)
Removes the schema for the given namespace from the schemaspace.
SmSchema SmSchemaSpace.removeDTD(java.lang.String publicId)
Removes the DTD with the given public identifier from the schemaspace.
SmSchema SmSchemaSpace.get(java.lang.String namespace)
Looks up the given namespace and returns the associated schema.
SmSchema SmSchemaSpace.getDTD(java.lang.String publicId)
Looks up the given public identifier and returns the associated DTD.
SmSchema NewSchemaParser.parseSchema(org.xml.sax.InputSource schemaText,
java.lang.String namespace)
Parses the given input into an equivalent SmSchema.
SmSchema SmConverter.convert(java.lang.Object input,
SmSchemaSpace schemaSpace)
Converts the given object into an equivalent SmSchema.
SmSchema SmComponent.getSchema()
Returns the schema that declares this component.
SmSchema SmParser.parse(org.xml.sax.InputSource input,
SmSchemaSpace schemaSpace, java.lang.String namespace)
Parses the given input into an equivalent SmSchema.
SmSchema SmFactory.parse(org.xml.sax.InputSource input,
SmSchemaSpace schemaSpace, java.lang.String namespace)
Parses the input with the stored SmParser.
SmSchema SmFactory.convert(java.lang.Object input,
SmSchemaSpace schemaSpace)
Converts the input into a SmSchema with a stored SmConverter.

Methods in com.tibco.xml.schema with parameters of type SmSchema


void SmSchemaSpace.add(SmSchema schema,
java.lang.String prefix)
Adds a schema to this schemaSpace.
void SmSchemaSpace.add(SmSchema schema)
Adds a schema to this schemaSpace.
void SmSchemaSpace.addXDR(SmSchema schema,
java.lang.String namespace)
Adds an XDR schema to this schemaSpace.
void SmSchemaSpace.addDTD(SmSchema dtd,
java.lang.String publicId)
Adds a DTD to this schemaSpace.
SmSchema SmSchemaSpace.remove(SmSchema schema)
Removes the given schema from the schemaspace.
static java.util.Iterator SmSupport.getElements(SmSchema schema)

static SmElement SmSupport.getElement(SmSchema schema,


java.lang.String name)

static java.util.Iterator SmSupport.getAttributes(SmSchema schema)


static SmAttribute SmSupport.getAttribute(SmSchema schema,
java.lang.String name)

static java.util.Iterator SmSupport.getTypes(SmSchema schema)

static SmType SmSupport.getType(SmSchema schema,


java.lang.String name)

static java.util.Iterator SmSupport.getNotations(SmSchema schema)

static SmNotation SmSupport.getNotation(SmSchema schema,


java.lang.String name)

static java.util.Iterator SmSupport.getModelGroups(SmSchema schema)

static SmModelGroup SmSupport.getModelGroup(SmSchema schema,


java.lang.String name)

static java.util.Iterator SmSupport.getIdentityConstraints(SmSchema schema)

static SmIdentityConstraint SmSupport.getIdentityConstraint(SmSchema schema,


java.lang.String name)

static boolean SmSupport.isGlobalComponent(SmSchema schema,


SmComponent component)
Returns whether the given component is a global component in the
given schema.
static java.util.Iterator SmSupport.getRootCandidates(SmSchema schema)
Returns Iterator of SmElement definition that are not referenced
by any other element definition, unless all referencing definitions are
themselves referenced the the referenced element.
protected static void SmSupport.gatherDescendentInfo(SmSchema schema,
java.util.Map descendentMap,
java.util.Map localDescendentMap,
SmElement topElement, SmElement element)

protected static void SmSupport.gatherDescendentInfo(SmSchema schema,


java.util.Map descendentMap,
java.util.Map localDescendentMap,
SmElement topElement, SmType type)
protected static void SmSupport.gatherDescendentInfo(SmSchema schema,
java.util.Map descendentMap,
java.util.Map localDescendentMap,
SmElement topElement, SmModelGroup modelGroup)

protected static int SmSupport.getRootScore(SmSchema schema,


SmElement element)
return a score for this element name as root.
static SmElement SmSupport.getBestRoot(SmSchema schema)
Returns the "best" root element for the given schema.
static java.util.List SmSupport.getInstanceUsers(SmSchema schema,
SmComponent c)
Returns components that "use" the given component in the
instance sense.
static java.util.Iterator SmSupport.getAllElements(SmSchema schema)
Return iterator of all elements defined in the schema, local and
global.
static void SmSupport.addAllElements(SmSchema schema,
SmType type, java.util.Set allElements)

static void SmSupport.addAllElements(SmSchema schema,


SmElement element, java.util.Set allElements)

static boolean SmSupport.isBeCaseInsensitive(SmSchema schema)


this was put in because ORACLE wanted the validator to do case
insensitive compares for enumerated values.
static SmDataComponent SmSupport.getComponentByPath(SmSchema schema,
java.lang.String path)

void SmVisitor.visitSchema(SmSchema schema)

void SmVisitor.Default.visitSchema(SmSchema schema)

Uses of SmSchema in com.tibco.xml.schema.channel

Methods in com.tibco.xml.schema.channel that return SmSchema


SmSchema SchemaModelProvider.getSchema(java.lang.String namespaceURI)
Retrieves a schema model based on it's namespace URI.

Methods in com.tibco.xml.schema.channel with parameters of type SmSchema


void SchemaModelHandler.putSchema(java.lang.String namespaceURI,
SmSchema schema)

Uses of SmSchema in com.tibco.xml.validation.kernel

Methods in com.tibco.xml.validation.kernel that return SmSchema


SmSchema DefaultNamespaceConverter.getSchema(java.lang.String namespaceURI)

SmSchema DefaultSchemaCache.getSchema(java.lang.String namespace)

SmSchema NativeSchemaProvider.getSchema(java.lang.String namespace)

Methods in com.tibco.xml.validation.kernel with parameters of type SmSchema


void DefaultNamespaceConverter.putSchema(java.lang.String namespaceURI,
SmSchema schema)

void DefaultSchemaCache.putSchema(java.lang.String namespace,


SmSchema schema)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.schema.SmSchemaError
Packages that use SmSchemaError
com.tibco.xml.schema This package contains a collection of interfaces for representation of a
schema.

Uses of SmSchemaError in com.tibco.xml.schema

Methods in com.tibco.xml.schema with parameters of type SmSchemaError


void SmSchemaError.Handler.error(SmSchemaError e)

void SmSchemaError.Handler.warning(SmSchemaError e)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.schema.SmSchemaError.Handler
Packages that use SmSchemaError.Handler
This package contains a collection of interfaces for representation of a
com.tibco.xml.schema
schema.

Uses of SmSchemaError.Handler in com.tibco.xml.schema

Methods in com.tibco.xml.schema that return SmSchemaError.Handler


SmSchemaError.Handler SmSchemaSpace.getErrorHandler()
Get the handler for errors encountered when adding a schema.

Methods in com.tibco.xml.schema with parameters of type SmSchemaError.Handler


void SmSchemaSpace.setErrorHandler(SmSchemaError.Handler errorHandler)
Set the handler for errors encountered when adding a schema.
void SmComponent.checkErrors(SmSchemaError.Handler handler)
Check for errors.
void SmSchema.checkErrors(SmSchemaError.Handler handler)
Check for errors in the schema.
void SmSchemaError.Source.setErrorHandler(SmSchemaError.Handler h)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.schema.SmSchemaError.Source
No usage of com.tibco.xml.schema.SmSchemaError.Source

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.schema.SmSchemaSpace
Packages that use SmSchemaSpace
com.tibco.xml.schema This package contains a collection of interfaces for representation of a
schema.

Uses of SmSchemaSpace in com.tibco.xml.schema

Methods in com.tibco.xml.schema that return SmSchemaSpace


static SmSchemaSpace SmFactory.createSchemaSpace()
Create a default implementation of SmSchemaSpace.

Methods in com.tibco.xml.schema with parameters of type SmSchemaSpace


void SmSchemaSpace.add(SmSchemaSpace schemaSpace)
Adds another schemaSpace to this schemaSpace.
boolean SmSchemaSpace.remove(SmSchemaSpace schemaSpace)
Removes a shared schemaSpace from this schemaSpace.
SmSchema SmConverter.convert(java.lang.Object input,
SmSchemaSpace schemaSpace)
Converts the given object into an equivalent SmSchema.
static boolean SmSupport.namespacesSupported(SmSchemaSpace schemas)

static void SmSupport.copyPolicies(SmSchemaSpace from,


SmSchemaSpace to)

SmSchema SmParser.parse(org.xml.sax.InputSource input,


SmSchemaSpace schemaSpace, java.lang.String namespace)
Parses the given input into an equivalent SmSchema.
SmSchema SmFactory.parse(org.xml.sax.InputSource input,
SmSchemaSpace schemaSpace, java.lang.String namespace)
Parses the input with the stored SmParser.
SmSchema SmFactory.convert(java.lang.Object input,
SmSchemaSpace schemaSpace)
Converts the input into a SmSchema with a stored SmConverter.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.schema.SmSupport
No usage of com.tibco.xml.schema.SmSupport

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.schema.SmType
Packages that use SmType
com.tibco.xml.data.context.helpers Utility classes for operating on XML contexts.
com.tibco.xml.data.cursor.helpers Utility classes for operating on XML cursors.
The XmlNode interface, representing information common to an
com.tibco.xml.data.node
XML context and an XML cursor.
This package contains a collection of interfaces for
com.tibco.xml.schema
representation of a schema.

Uses of SmType in com.tibco.xml.data.context.helpers

Methods in com.tibco.xml.data.context.helpers that return SmType


SmType XmlContextOnXmlCursor.getType()

Methods in com.tibco.xml.data.context.helpers with parameters of type SmType


void XmlContextOnXmlCursor.setType(SmType type)

Uses of SmType in com.tibco.xml.data.cursor.helpers

Methods in com.tibco.xml.data.cursor.helpers that return SmType


SmType XmlCursor4DOM.getType()
SmType XmlCursorOnXmlContext.getType()

Methods in com.tibco.xml.data.cursor.helpers with parameters of type SmType


void XmlCursor4DOM.setType(SmType type)

void XmlCursorOnXmlContext.setType(SmType type)

Uses of SmType in com.tibco.xml.data.node

Methods in com.tibco.xml.data.node that return SmType


SmType XmlNode.getType()
Returns the type for this context.

Methods in com.tibco.xml.data.node with parameters of type SmType


void XmlNode.setType(SmType type)
Sets the type for this context.

Uses of SmType in com.tibco.xml.schema

Methods in com.tibco.xml.schema that return SmType


SmType SmFlavor.getNativeType(java.lang.String name)
Returns the "native" type by the given name.
static SmType SmSupport.getType(SmSchema schema, java.lang.String name)

static SmType SmSupport.getListTypeMember(SmType type)


Returns the member type of a list type, or null if not a list type.
static SmType SmSupport.getNativeType(SmType type)
Returns the closest ancestor type which is a native type.
SmType SmDataComponent.getType()
Returns the type of data.
SmType SmType.getBaseType()
Returns the base type of this type.

Methods in com.tibco.xml.schema with parameters of type SmType


protected static void SmSupport.gatherDescendentInfo(SmSchema schema,
java.util.Map descendentMap,
java.util.Map localDescendentMap,
SmElement topElement, SmType type)

static SmType SmSupport.getListTypeMember(SmType type)


Returns the member type of a list type, or null if not a list type.
static SmType SmSupport.getNativeType(SmType type)
Returns the closest ancestor type which is a native type.
static boolean SmSupport.typeIsID(SmType type)
Returns whether this type extends an ID type
static boolean SmSupport.typeIsIDREF(SmType type)
Returns whether this type extends an IDREF type
static boolean SmSupport.isAnyContent(SmType type)
Returns whether this type is a DTD anyType in order to determine
if the content model of the element may be DTD 'ANY'
static boolean SmSupport.isTextOnlyContent(SmType type)
Returns whether this type requires text only content.
static boolean SmSupport.isEmptyContent(SmType type)
Returns whether this type requires empty element content.
static boolean SmSupport.isElementOnlyContent(SmType type)
Returns whether this type requires only element content.
static boolean SmSupport.allowsText(SmType type)
Returns whether this type allows text content.
static java.util.List SmSupport.getEnumerationValues(SmType type)
Determines to enumeration values for the given node and returns
them as a list of strings.
static java.lang.String SmSupport.getContentString(SmType type)
Creates a human-friendy representation of the type.
static void SmSupport.addAllElements(SmSchema schema,
SmType type, java.util.Set allElements)

static boolean SmSupport.isListDataType(SmType type)

static SmDataComponent SmSupport.getComponentInContext(SmType context,


java.lang.String namespace,
java.lang.String name)
use "@" to prefix the name of an attribute
static SmElement SmSupport.getElementInContext(SmType context,
java.lang.String namespace,
java.lang.String name)

static SmAttribute SmSupport.getAttributeInContext(SmType context,


java.lang.String namespace,
java.lang.String name)
name MAY be prefixed by "@"
void SmVisitor.visitType(SmType type)

void SmVisitor.Default.visitType(SmType type)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.schema.SmTypeFacet
Packages that use SmTypeFacet
com.tibco.xml.schema This package contains a collection of interfaces for representation of a
schema.

Uses of SmTypeFacet in com.tibco.xml.schema

Methods in com.tibco.xml.schema that return SmTypeFacet


SmTypeFacet SmFlavor.getNativeTypeFacet(java.lang.String name)
Returns the "native" type facet by the given name.
SmTypeFacet SmType.getFacet(java.lang.String name)
Returns the first facet with the given facet name.

Methods in com.tibco.xml.schema with parameters of type SmTypeFacet


void SmVisitor.visitTypeFacet(SmTypeFacet facet)

void SmVisitor.Default.visitTypeFacet(SmTypeFacet facet)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.schema.SmVisitor
Packages that use SmVisitor
com.tibco.xml.schema This package contains a collection of interfaces for representation of a
schema.

Uses of SmVisitor in com.tibco.xml.schema

Classes in com.tibco.xml.schema that implement SmVisitor


static class SmVisitor.Default

Methods in com.tibco.xml.schema with parameters of type SmVisitor


void SmComponent.accept(SmVisitor visitor)
Visit this component.
void SmSchema.accept(SmVisitor visitor)
Visit this schema and its components.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.schema.SmVisitor.Default
No usage of com.tibco.xml.schema.SmVisitor.Default

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.schema.SmVisitor.Failure
No usage of com.tibco.xml.schema.SmVisitor.Failure

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.schema.SmVisitor.Result
Packages that use SmVisitor.Result
com.tibco.xml.schema This package contains a collection of interfaces for representation of a
schema.

Uses of SmVisitor.Result in com.tibco.xml.schema

Subclasses of SmVisitor.Result in com.tibco.xml.schema


static class SmVisitor.Failure

static class SmVisitor.Success

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.schema.SmVisitor.Success
No usage of com.tibco.xml.schema.SmVisitor.Success

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.schema.SmWildcard
Packages that use SmWildcard
com.tibco.xml.schema This package contains a collection of interfaces for representation of a
schema.

Uses of SmWildcard in com.tibco.xml.schema

Methods in com.tibco.xml.schema with parameters of type SmWildcard


void SmVisitor.visitWildcard(SmWildcard wildcard)

void SmVisitor.Default.visitWildcard(SmWildcard wildcard)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.runtime.data.StringHandler
Packages that use StringHandler
com.tibco.xml.runtime.data This package contains some standard "channel" interfaces for XML
Runtime.

Uses of StringHandler in com.tibco.xml.runtime.data

Methods in com.tibco.xml.runtime.data with parameters of type StringHandler


void StringSupplier.addStringHandler(StringHandler handler)

void StringSupplier.removeStringHandler(StringHandler handler)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.runtime.data.StringSupplier
No usage of com.tibco.xml.runtime.data.StringSupplier

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.validation.StringValidation
No usage of com.tibco.xml.validation.StringValidation

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.channel.typeuri.TypeURIHandler
Packages that use TypeURIHandler
com.tibco.xml.channel.typeuri TypeURI information channels.
com.tibco.xml.processor Processors for manipulating XML information sets.
com.tibco.xml.validation.helpers Ready-to-use validation patterns.
Validation components that may be used to assemble a
com.tibco.xml.validation.kernel
specialized validator.

com.tibco.xml.validation.scripting A mechanism for extending standard validation using XML


Processing Language (XPL) script.

Uses of TypeURIHandler in com.tibco.xml.channel.typeuri

Methods in com.tibco.xml.channel.typeuri with parameters of type TypeURIHandler


void TypeURISupplier.addTypeURIHandler(TypeURIHandler handler)

void TypeURISupplier.removeTypeURIHandler(TypeURIHandler handler)

Uses of TypeURIHandler in com.tibco.xml.processor

Methods in com.tibco.xml.processor with parameters of type TypeURIHandler


void DOM2XmlStream.addTypeURIHandler(TypeURIHandler handler)

void DOM2XmlStream.removeTypeURIHandler(TypeURIHandler handler)

Uses of TypeURIHandler in
com.tibco.xml.validation.helpers

Methods in com.tibco.xml.validation.helpers with parameters of type TypeURIHandler


void Validator_DOM_Remark_ExternalCache.addTypeURIHandler(TypeURIHandler handler)

void Validator_DOM_Remark_ExternalCache.removeTypeURIHandler(TypeURIHandler handler)

Uses of TypeURIHandler in
com.tibco.xml.validation.kernel

Classes in com.tibco.xml.validation.kernel that implement TypeURIHandler


class DefaultAdjunctSupplier
Supplies adjunct Document(s) when driven by Location Hints.

Methods in com.tibco.xml.validation.kernel with parameters of type TypeURIHandler


void SAXLocationHintSupplier.addTypeURIHandler(TypeURIHandler handler)

void SAXLocationHintSupplier.removeTypeURIHandler(TypeURIHandler handler)

Uses of TypeURIHandler in
com.tibco.xml.validation.scripting

Classes in com.tibco.xml.validation.scripting that implement TypeURIHandler


class ScriptingValidatorMk1
Scripting Extended Validation Implementation.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.channel.typeuri.TypeURISupplier
Packages that use TypeURISupplier
com.tibco.xml.validation.helpers Ready-to-use validation patterns.

com.tibco.xml.validation.kernel Validation components that may be used to assemble a specialized


validator.

Uses of TypeURISupplier in
com.tibco.xml.validation.helpers

Classes in com.tibco.xml.validation.helpers that implement TypeURISupplier


class Validator_DOM_Remark_ExternalCache
A DOM validator producing XML remarks and employing an external schema cache.

Uses of TypeURISupplier in
com.tibco.xml.validation.kernel

Classes in com.tibco.xml.validation.kernel that implement TypeURISupplier


class SAXLocationHintSupplier
Extracts schema location and document hints from a SAX stream and provides them to
listeners.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES
Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.data.cursor.UndefinedPropertyException
No usage of com.tibco.xml.data.cursor.UndefinedPropertyException

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.data.primitive.UnsupportedAxisException
Packages that use UnsupportedAxisException
com.tibco.xml.data.context The XmlContext interface, representing a context in an XML
information set.
com.tibco.xml.data.context.helpers Utility classes for operating on XML contexts.
The XmlCursor interface, representing a cursor over an XML
com.tibco.xml.data.cursor
information set.
com.tibco.xml.data.cursor.helpers Utility classes for operating on XML cursors.

Uses of UnsupportedAxisException in
com.tibco.xml.data.context

Methods in com.tibco.xml.data.context that throw UnsupportedAxisException


XmlContext XmlContext.getFirstChild()
Return the first child context of this context.
XmlContext XmlContext.getFollowingSibling()
Return the context immediately following this context.
XmlContext XmlContext.getLastChild()
Return the last child context of this context.
XmlContext XmlContext.getPrecedingSibling()
Return the context immediately preceeding this context.

Uses of UnsupportedAxisException in
com.tibco.xml.data.context.helpers

Methods in com.tibco.xml.data.context.helpers that throw UnsupportedAxisException


XmlContext XmlContextOnXmlCursor.getFirstChild()

XmlContext XmlContextOnXmlCursor.getFollowingSibling()

XmlContext XmlContextOnXmlCursor.getLastChild()

XmlContext XmlContextOnXmlCursor.getPrecedingSibling()

Uses of UnsupportedAxisException in
com.tibco.xml.data.cursor

Methods in com.tibco.xml.data.cursor that throw UnsupportedAxisException


boolean XmlCursor.moveToFirstChild()
Moves the cursor to the current information item's first child information item.
boolean XmlCursor.moveToFollowingSibling()
Moves the cursor to the current information item's next sibling information item.
boolean XmlCursor.moveToLastChild()
Moves the cursor to the current information item's last child information item.
boolean XmlCursor.moveToPrecedingSibling()
Moves the cursor to the current information item's previous sibling information item.

Uses of UnsupportedAxisException in
com.tibco.xml.data.cursor.helpers

Methods in com.tibco.xml.data.cursor.helpers that throw UnsupportedAxisException


boolean XmlCursorNoNavigation.moveToFirstChild()

boolean XmlCursorNoNavigation.moveToFollowingSibling()

boolean XmlCursorNoNavigation.moveToLastChild()

boolean XmlCursorNoNavigation.moveToPrecedingSibling()
boolean XmlCursorOnXmlContext.moveToFirstChild()

boolean XmlCursorOnXmlContext.moveToFollowingSibling()

boolean XmlCursorOnXmlContext.moveToLastChild()

boolean XmlCursorOnXmlContext.moveToPrecedingSibling()

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.runtime.data.UriHandler
Packages that use UriHandler
com.tibco.xml.runtime.data This package contains some standard "channel" interfaces for XML
Runtime.

Uses of UriHandler in com.tibco.xml.runtime.data

Methods in com.tibco.xml.runtime.data with parameters of type UriHandler


void UriSupplier.addUriHandler(UriHandler handler)

void UriSupplier.removeUriHandler(UriHandler handler)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.runtime.data.UriSupplier
No usage of com.tibco.xml.runtime.data.UriSupplier

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.runtime.data.UrlHandler
Packages that use UrlHandler
com.tibco.xml.runtime.data This package contains some standard "channel" interfaces for XML
Runtime.

Uses of UrlHandler in com.tibco.xml.runtime.data

Methods in com.tibco.xml.runtime.data with parameters of type UrlHandler


void UrlSupplier.addUrlHandler(UrlHandler handler)

void UrlSupplier.removeUrlHandler(UrlHandler handler)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.runtime.data.UrlSupplier
No usage of com.tibco.xml.runtime.data.UrlSupplier

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.validation.helpers.ValidatingFilter_ExternalCache
No usage of com.tibco.xml.validation.helpers.ValidatingFilter_ExternalCache

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.validation.helpers.ValidatingFilter_InternalCache
No usage of com.tibco.xml.validation.helpers.ValidatingFilter_InternalCache

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.validation.constraints.ValidationConstraintEngine
No usage of com.tibco.xml.validation.constraints.ValidationConstraintEngine

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.validation.kernel.ValidationControl
No usage of com.tibco.xml.validation.kernel.ValidationControl

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.validation.ValidationFactory
No usage of com.tibco.xml.validation.ValidationFactory

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.validation.kernel.ValidationKernel
Packages that use ValidationKernel
com.tibco.xml.validation.kernel Validation components that may be used to assemble a specialized
validator.

Uses of ValidationKernel in
com.tibco.xml.validation.kernel

Fields in com.tibco.xml.validation.kernel declared as ValidationKernel


protected ValidationKernel Validator.kernel

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.validation.ValidationUtilities
No usage of com.tibco.xml.validation.ValidationUtilities

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.validation.kernel.Validator
No usage of com.tibco.xml.validation.kernel.Validator

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.validation.helpers.Validator_DOM_Remark_ExternalCache
No usage of com.tibco.xml.validation.helpers.Validator_DOM_Remark_ExternalCache

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.validation.helpers.Validator_SAX_Error_ExternalCache
No usage of com.tibco.xml.validation.helpers.Validator_SAX_Error_ExternalCache

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.validation.helpers.Validator_SAX_Error_InternalCache
No usage of com.tibco.xml.validation.helpers.Validator_SAX_Error_InternalCache

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.validation.helpers.Validator_SAX_Remark_ExternalCache
No usage of com.tibco.xml.validation.helpers.Validator_SAX_Remark_ExternalCache

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.validation.helpers.Validator_SAX_Remark_InternalCache
No usage of com.tibco.xml.validation.helpers.Validator_SAX_Remark_InternalCache

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.validation.Version
No usage of com.tibco.xml.validation.Version

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.data.context.XmlContext
Packages that use XmlContext
com.tibco.xml.channel.context XML Context information channels.
com.tibco.xml.channel.remark Remark information channels.

com.tibco.xml.data.context The XmlContext interface, representing a context in an XML


information set.
com.tibco.xml.data.context.helpers Utility classes for operating on XML contexts.
com.tibco.xml.data.cursor.helpers Utility classes for operating on XML cursors.
com.tibco.xml.validation.constraints A mechanism for adding custom constraints to the validator.
com.tibco.xml.validation.helpers Ready-to-use validation patterns.

com.tibco.xml.validation.kernel Validation components that may be used to assemble a


specialized validator.

Uses of XmlContext in com.tibco.xml.channel.context

Methods in com.tibco.xml.channel.context that return XmlContext


XmlContext XmlContextProvider.getDocumentXmlContext()

Uses of XmlContext in com.tibco.xml.channel.remark

Methods in com.tibco.xml.channel.remark with parameters of type XmlContext


void XmlRemarkHandler.fatalError(XmlContext context,
org.xml.sax.Locator locator, java.lang.Exception e,
java.lang.String code)
Notifies the handler of an unrecoverable error condition.
void XmlRemarkHandler.error(XmlContext context,
org.xml.sax.Locator locator, java.lang.Exception e,
java.lang.String code)
Notifies the handler of an error condition.
void XmlRemarkHandler.warning(XmlContext context,
org.xml.sax.Locator locator, java.lang.Exception e,
java.lang.String code)
Notifies the handler of a warning condition.
void XmlRemarkHandler.info(XmlContext context,
org.xml.sax.Locator locator, java.lang.Exception e,
java.lang.String code)
Notifies the handler of an information condition.
void XmlRemarkHandler.remark(XmlContext context,
org.xml.sax.Locator locator, java.lang.Exception e,
java.lang.String code)
Notifies the handler of a remark condition.

Uses of XmlContext in com.tibco.xml.data.context

Methods in com.tibco.xml.data.context that return XmlContext


XmlContext XmlContext.getFirstChild()
Return the first child context of this context.
XmlContext XmlContext.getFollowingSibling()
Return the context immediately following this context.
XmlContext XmlContext.getLastChild()
Return the last child context of this context.
XmlContext XmlContext.getPrecedingSibling()
Return the context immediately preceeding this context.
XmlContext XmlContext.getParent()
Return the parent context of this context.
XmlContext XmlContext.getRoot()
Return the document node context.
XmlContext XmlContext.getAttribute(ExpandedName name)
Return the attribute with the specified name.
XmlContext XmlContext.getFirstAttribute()
Return the first attribute context of this context.
XmlContext XmlContext.getNextAttribute()
Return the next sibling attribute context of this attribute.
XmlContext XmlContext.getNamespace(java.lang.String prefix)
Return the namespace with the specified prefix.
XmlContext XmlContext.getFirstNamespace()
Return the first namespace context of this context.
XmlContext XmlContext.getNextNamespace()
Return the next namespace context of this namespace.

Uses of XmlContext in com.tibco.xml.data.context.helpers

Classes in com.tibco.xml.data.context.helpers that implement XmlContext


class XmlContextOnXmlCursor

Methods in com.tibco.xml.data.context.helpers that return XmlContext


XmlContext XmlContextOnXmlCursor.getFirstChild()

XmlContext XmlContextOnXmlCursor.getFollowingSibling()

XmlContext XmlContextOnXmlCursor.getLastChild()

XmlContext XmlContextOnXmlCursor.getPrecedingSibling()

XmlContext XmlContextOnXmlCursor.getParent()

XmlContext XmlContextOnXmlCursor.getRoot()
XmlContext XmlContextOnXmlCursor.getAttribute(ExpandedName name)

XmlContext XmlContextOnXmlCursor.getFirstAttribute()

XmlContext XmlContextOnXmlCursor.getNextAttribute()

XmlContext XmlContextOnXmlCursor.getNamespace(java.lang.String prefix)

XmlContext XmlContextOnXmlCursor.getFirstNamespace()

XmlContext XmlContextOnXmlCursor.getNextNamespace()

Methods in com.tibco.xml.data.context.helpers with parameters of type XmlContext


static java.lang.String XPathHelper.calculateXPath(XmlContext from,
XmlContext to, int format,
NamespaceToPrefixResolver resolver)
Calculates an XPath expression that assumes a context node
specified by from parameter and uniquely selects the node specified by
the to parameter.

Uses of XmlContext in com.tibco.xml.data.cursor.helpers

Methods in com.tibco.xml.data.cursor.helpers that return XmlContext


XmlContext XmlCursorOnXmlContext.getXmlContext()

Methods in com.tibco.xml.data.cursor.helpers with parameters of type XmlContext


void XmlCursorOnXmlContext.setXmlContext(XmlContext context)

Uses of XmlContext in com.tibco.xml.validation.constraints


Methods in com.tibco.xml.validation.constraints with parameters of type XmlContext
void DefaultConstraintChecker.error(XmlContext context,
java.lang.String message)

void DefaultConstraintChecker.warning(XmlContext context,


java.lang.String message)

Uses of XmlContext in com.tibco.xml.validation.helpers

Methods in com.tibco.xml.validation.helpers with parameters of type XmlContext


void Validator_SAX_Remark_InternalCache.fatalError(XmlContext context,
org.xml.sax.Locator locator, java.lang.Exception e,
java.lang.String code)

void Validator_SAX_Remark_InternalCache.error(XmlContext context,


org.xml.sax.Locator locator, java.lang.Exception e,
java.lang.String code)

void Validator_SAX_Remark_InternalCache.warning(XmlContext context,


org.xml.sax.Locator locator, java.lang.Exception e,
java.lang.String code)

void Validator_SAX_Remark_InternalCache.info(XmlContext context,


org.xml.sax.Locator locator, java.lang.Exception e,
java.lang.String code)

void Validator_SAX_Remark_InternalCache.remark(XmlContext context,


org.xml.sax.Locator locator, java.lang.Exception e,
java.lang.String code)

void Validator_SAX_Remark_ExternalCache.fatalError(XmlContext context,


org.xml.sax.Locator locator, java.lang.Exception e,
java.lang.String code)
void Validator_SAX_Remark_ExternalCache.error(XmlContext context,
org.xml.sax.Locator locator, java.lang.Exception e,
java.lang.String code)

void Validator_SAX_Remark_ExternalCache.warning(XmlContext context,


org.xml.sax.Locator locator, java.lang.Exception e,
java.lang.String code)

void Validator_SAX_Remark_ExternalCache.info(XmlContext context,


org.xml.sax.Locator locator, java.lang.Exception e,
java.lang.String code)

void Validator_SAX_Remark_ExternalCache.remark(XmlContext context,


org.xml.sax.Locator locator, java.lang.Exception e,
java.lang.String code)

void Validator_DOM_Remark_ExternalCache.fatalError(XmlContext context,


org.xml.sax.Locator locator, java.lang.Exception e,
java.lang.String code)

void Validator_DOM_Remark_ExternalCache.error(XmlContext context,


org.xml.sax.Locator locator, java.lang.Exception e,
java.lang.String code)

void Validator_DOM_Remark_ExternalCache.warning(XmlContext context,


org.xml.sax.Locator locator, java.lang.Exception e,
java.lang.String code)

void Validator_DOM_Remark_ExternalCache.info(XmlContext context,


org.xml.sax.Locator locator, java.lang.Exception e,
java.lang.String code)

void Validator_DOM_Remark_ExternalCache.remark(XmlContext context,


org.xml.sax.Locator locator, java.lang.Exception e,
java.lang.String code)

Uses of XmlContext in com.tibco.xml.validation.kernel


Methods in com.tibco.xml.validation.kernel with parameters of type XmlContext
void ValidationControl.fatalError(XmlContext context,
org.xml.sax.Locator locator, java.lang.Exception e,
java.lang.String code)

void ValidationControl.error(XmlContext context,


org.xml.sax.Locator locator, java.lang.Exception e,
java.lang.String code)

void ValidationControl.warning(XmlContext context,


org.xml.sax.Locator locator, java.lang.Exception e,
java.lang.String code)

void ValidationControl.info(XmlContext context,


org.xml.sax.Locator locator, java.lang.Exception e,
java.lang.String code)

void ValidationControl.remark(XmlContext context,


org.xml.sax.Locator locator, java.lang.Exception e,
java.lang.String code)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.channel.context.XmlContextConsumer
No usage of com.tibco.xml.channel.context.XmlContextConsumer

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.data.context.helpers.XmlContextOnXmlCursor
No usage of com.tibco.xml.data.context.helpers.XmlContextOnXmlCursor

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.channel.context.XmlContextProvider
Packages that use XmlContextProvider
com.tibco.xml.channel.context XML Context information channels.

Uses of XmlContextProvider in
com.tibco.xml.channel.context

Methods in com.tibco.xml.channel.context with parameters of type XmlContextProvider


void XmlContextConsumer.setXmlContextProvider(XmlContextProvider provider)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.data.cursor.XmlCursor
Packages that use XmlCursor
com.tibco.xml.channel.stream XML stream information channels.
com.tibco.xml.channel.stream.helpers Utility classes for operating on XML streams.
com.tibco.xml.data.context.helpers Utility classes for operating on XML contexts.
The XmlCursor interface, representing a cursor over an XML
com.tibco.xml.data.cursor
information set.
com.tibco.xml.data.cursor.helpers Utility classes for operating on XML cursors.
com.tibco.xml.processor Processors for manipulating XML information sets.
Validation components that may be used to assemble a
com.tibco.xml.validation.kernel
specialized validator.

Uses of XmlCursor in com.tibco.xml.channel.stream

Methods in com.tibco.xml.channel.stream with parameters of type XmlCursor


void XmlStreamHandler.setDocumentCursor(XmlCursor cursor)
Receive an interface for accessing and navigating the XML information set.

Uses of XmlCursor in com.tibco.xml.channel.stream.helpers

Fields in com.tibco.xml.channel.stream.helpers declared as XmlCursor


protected DefaultXmlStreamHandler.m_cursor
XmlCursor

Methods in com.tibco.xml.channel.stream.helpers with parameters of type XmlCursor


void DefaultXmlStreamHandler.setDocumentCursor(XmlCursor cursor)

void XmlStreamMulticastHelper.setDocumentCursor(XmlCursor cursor)

void XmlStreamTracer.setDocumentCursor(XmlCursor cursor)


void XmlStreamProfiler.setDocumentCursor(XmlCursor cursor)

void XmlStreamTermination.setDocumentCursor(XmlCursor cursor)

Uses of XmlCursor in com.tibco.xml.data.context.helpers

Constructors in com.tibco.xml.data.context.helpers with parameters of type XmlCursor


XmlContextOnXmlCursor(XmlCursor cursor)

Uses of XmlCursor in com.tibco.xml.data.cursor

Methods in com.tibco.xml.data.cursor with parameters of type XmlCursor


static java.lang.String XmlCursorSupport.getStandardXPath(XmlCursor from,
XmlCursor to, boolean verbose)
Calculates an XPath expression containing qualified names.
static java.lang.String XmlCursorSupport.getExpandedXPath(XmlCursor from,
XmlCursor to, boolean verbose)
Calculates an XPath expression containing expanded names.
static void XmlCursorSupport.traverse(XmlCursor cursor,
XmlStreamHandler handler)
Walks the cursor to generate an XML stream.

Uses of XmlCursor in com.tibco.xml.data.cursor.helpers

Classes in com.tibco.xml.data.cursor.helpers that implement XmlCursor


class XmlCursor4DOM

class XmlCursorNoNavigation
A simple XmlCursor helper needed for stream operations.
class XmlCursorOnXmlContext

Uses of XmlCursor in com.tibco.xml.processor


Fields in com.tibco.xml.processor declared as XmlCursor
protected XmlStreamSerializer.mCursor
XmlCursor

Methods in com.tibco.xml.processor with parameters of type XmlCursor


void XmlStreamEnhancer.setDocumentCursor(XmlCursor cursor)

void XmlStreamCompiler.setDocumentCursor(XmlCursor cursor)

void XmlStreamCompiler.XmlStreamCompilerContext.setDocumentCursor(XmlCursor cursor)

void XmlStreamSerializer.setDocumentCursor(XmlCursor cursor)


Receive an interface for accessing and navigating the XML information set.
void XmlStreamSimplEx.setDocumentCursor(XmlCursor cursor)

void XmlStreamSimplEx.XmlStreamCompilerContext.setDocumentCursor(XmlCursor cursor)

void XmlStream2DOM.setDocumentCursor(XmlCursor cursor)

Uses of XmlCursor in com.tibco.xml.validation.kernel

Methods in com.tibco.xml.validation.kernel with parameters of type XmlCursor


void ValidationKernel.setDocumentCursor(XmlCursor cursor)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.data.cursor.helpers.XmlCursor4DOM
No usage of com.tibco.xml.data.cursor.helpers.XmlCursor4DOM

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.data.cursor.helpers.XmlCursorNoNavigation
No usage of com.tibco.xml.data.cursor.helpers.XmlCursorNoNavigation

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext
No usage of com.tibco.xml.data.cursor.helpers.XmlCursorOnXmlContext

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.data.cursor.XmlCursorSupport
No usage of com.tibco.xml.data.cursor.XmlCursorSupport

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.data.node.XmlNode
Packages that use XmlNode
The XmlContext interface, representing a context in an XML
com.tibco.xml.data.context
information set.
com.tibco.xml.data.context.helpers Utility classes for operating on XML contexts.
The XmlCursor interface, representing a cursor over an XML
com.tibco.xml.data.cursor
information set.
com.tibco.xml.data.cursor.helpers Utility classes for operating on XML cursors.

Uses of XmlNode in com.tibco.xml.data.context

Subinterfaces of XmlNode in com.tibco.xml.data.context


interface XmlContext
Provides access to data and type information for an attribute or element within an
information set.

Uses of XmlNode in com.tibco.xml.data.context.helpers

Classes in com.tibco.xml.data.context.helpers that implement XmlNode


class XmlContextOnXmlCursor

Uses of XmlNode in com.tibco.xml.data.cursor


Subinterfaces of XmlNode in com.tibco.xml.data.cursor
interface XmlCursor
Provides access to data and type information for an XML information set item.
interface XmlReader
A forward-only pull style cursor over an XML information set.

Uses of XmlNode in com.tibco.xml.data.cursor.helpers

Classes in com.tibco.xml.data.cursor.helpers that implement XmlNode


class XmlCursor4DOM

class XmlCursorNoNavigation
A simple XmlCursor helper needed for stream operations.
class XmlCursorOnXmlContext

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.data.node.XmlProps
Packages that use XmlProps
The XmlContext interface, representing a context in an XML
com.tibco.xml.data.context
information set.
com.tibco.xml.data.context.helpers Utility classes for operating on XML contexts.
The XmlCursor interface, representing a cursor over an XML
com.tibco.xml.data.cursor
information set.
com.tibco.xml.data.cursor.helpers Utility classes for operating on XML cursors.
The XmlNode interface, representing information common to an
com.tibco.xml.data.node
XML context and an XML cursor.

Uses of XmlProps in com.tibco.xml.data.context

Subinterfaces of XmlProps in com.tibco.xml.data.context


interface XmlContext
Provides access to data and type information for an attribute or element within an
information set.

Uses of XmlProps in com.tibco.xml.data.context.helpers

Classes in com.tibco.xml.data.context.helpers that implement XmlProps


class XmlContextOnXmlCursor
Uses of XmlProps in com.tibco.xml.data.cursor

Subinterfaces of XmlProps in com.tibco.xml.data.cursor


interface XmlCursor
Provides access to data and type information for an XML information set item.
interface XmlReader
A forward-only pull style cursor over an XML information set.

Uses of XmlProps in com.tibco.xml.data.cursor.helpers

Classes in com.tibco.xml.data.cursor.helpers that implement XmlProps


class XmlCursor4DOM

class XmlCursorNoNavigation
A simple XmlCursor helper needed for stream operations.
class XmlCursorOnXmlContext

Uses of XmlProps in com.tibco.xml.data.node

Subinterfaces of XmlProps in com.tibco.xml.data.node


interface XmlNode
Provides access to data and type information for an attribute or element within an
information set.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.data.cursor.XmlReader
No usage of com.tibco.xml.data.cursor.XmlReader

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.channel.remark.XmlRemarkFilter
Packages that use XmlRemarkFilter
com.tibco.xml.validation.helpers Ready-to-use validation patterns.

Uses of XmlRemarkFilter in
com.tibco.xml.validation.helpers

Classes in com.tibco.xml.validation.helpers that implement XmlRemarkFilter


class Validator_SAX_Remark_ExternalCache
A validator that accepts SAX Content, generates XML remarks, with an external
schema cache.
class Validator_SAX_Remark_InternalCache
A validator with SAX interfaces but not a SAX Filter, emits XML remarks, and with an
internal schema cache.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.channel.remark.XmlRemarkHandler
Packages that use XmlRemarkHandler
com.tibco.xml.channel.remark Remark information channels.
com.tibco.xml.processor Processors for manipulating XML information sets.
com.tibco.xml.validation.constraints A mechanism for adding custom constraints to the validator.
com.tibco.xml.validation.helpers Ready-to-use validation patterns.
Validation components that may be used to assemble a
com.tibco.xml.validation.kernel
specialized validator.
A mechanism for extending standard validation using XML
com.tibco.xml.validation.scripting
Processing Language (XPL) script.

Uses of XmlRemarkHandler in
com.tibco.xml.channel.remark

Subinterfaces of XmlRemarkHandler in com.tibco.xml.channel.remark


interface XmlRemarkFilter

Methods in com.tibco.xml.channel.remark with parameters of type XmlRemarkHandler


void XmlRemarkSupplier.setXmlRemarkHandler(XmlRemarkHandler handler)
Allows an application to register and unregister an XmlRemarkHandler for this supplier.
void XmlRemarkSupplierMulticast.addXmlRemarkHandler(XmlRemarkHandler handler)
Allows an application to register an XmlRemarkHandler for this supplier.
void XmlRemarkSupplierMulticast.removeXmlRemarkHandler(XmlRemarkHandler handler)
Allows an application to unregister an XmlRemarkHandler for this supplier.

Uses of XmlRemarkHandler in com.tibco.xml.processor

Methods in com.tibco.xml.processor with parameters of type XmlRemarkHandler


void XmlStreamParser.setXmlRemarkHandler(XmlRemarkHandler handler)

void XmlStreamEnhancer.setXmlRemarkHandler(XmlRemarkHandler handler)

void XmlStreamCompiler.setXmlRemarkHandler(XmlRemarkHandler handler)


void XmlStreamCompiler.XmlStreamCompilerContext.setXmlRemarkHandler(XmlRemarkHandler handler)

void SAXContent2XmlStream.setXmlRemarkHandler(XmlRemarkHandler handler)

void SAXContent2XmlStream.SAXContent2XmlKernel.setXmlRemarkHandler(XmlRemarkHandler handler)

void XmlStreamSimplEx.setXmlRemarkHandler(XmlRemarkHandler handler)

void XmlStreamSimplEx.XmlStreamCompilerContext.setXmlRemarkHandler(XmlRemarkHandler handler)

Uses of XmlRemarkHandler in
com.tibco.xml.validation.constraints

Fields in com.tibco.xml.validation.constraints declared as XmlRemarkHandler


protected DefaultConstraintChecker.m_errors
XmlRemarkHandler

Methods in com.tibco.xml.validation.constraints with parameters of type XmlRemarkHandler


void ValidationConstraintEngine.setXmlRemarkHandler(XmlRemarkHandler handler)

void DefaultConstraintChecker.setXmlRemarkHandler(XmlRemarkHandler handler)

Uses of XmlRemarkHandler in
com.tibco.xml.validation.helpers

Classes in com.tibco.xml.validation.helpers that implement XmlRemarkHandler


class Validator_DOM_Remark_ExternalCache
A DOM validator producing XML remarks and employing an external schema cache.
class Validator_SAX_Remark_ExternalCache
A validator that accepts SAX Content, generates XML remarks, with an external
schema cache.
class Validator_SAX_Remark_InternalCache
A validator with SAX interfaces but not a SAX Filter, emits XML remarks, and with an
internal schema cache.

Methods in com.tibco.xml.validation.helpers with parameters of type XmlRemarkHandler


void Validator_SAX_Remark_InternalCache.setXmlRemarkHandler(XmlRemarkHandler handler)

void Validator_SAX_Remark_ExternalCache.setXmlRemarkHandler(XmlRemarkHandler handler)


void Validator_DOM_Remark_ExternalCache.setXmlRemarkHandler(XmlRemarkHandler handler)

Uses of XmlRemarkHandler in
com.tibco.xml.validation.kernel

Classes in com.tibco.xml.validation.kernel that implement XmlRemarkHandler


class ValidationControl

Methods in com.tibco.xml.validation.kernel with parameters of type XmlRemarkHandler


void Validator.setXmlRemarkHandler(XmlRemarkHandler handler)

void DefaultSchemaSupplier.setXmlRemarkHandler(XmlRemarkHandler handler)

void ValidationKernel.setXmlRemarkHandler(XmlRemarkHandler handler)

void ValidationControl.setXmlRemarkHandler(XmlRemarkHandler handler)

Uses of XmlRemarkHandler in
com.tibco.xml.validation.scripting

Methods in com.tibco.xml.validation.scripting with parameters of type XmlRemarkHandler


void ScriptingValidatorMk1.setXmlRemarkHandler(XmlRemarkHandler handler)

void ScriptingAdjunctValidator.setXmlRemarkHandler(XmlRemarkHandler handler)

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.channel.remark.XmlRemarkSupplier
Packages that use XmlRemarkSupplier
com.tibco.xml.channel.remark Remark information channels.
com.tibco.xml.processor Processors for manipulating XML information sets.
com.tibco.xml.validation.constraints A mechanism for adding custom constraints to the validator.
com.tibco.xml.validation.helpers Ready-to-use validation patterns.
Validation components that may be used to assemble a
com.tibco.xml.validation.kernel
specialized validator.
A mechanism for extending standard validation using XML
com.tibco.xml.validation.scripting
Processing Language (XPL) script.

Uses of XmlRemarkSupplier in
com.tibco.xml.channel.remark

Subinterfaces of XmlRemarkSupplier in com.tibco.xml.channel.remark


interface XmlRemarkFilter

Uses of XmlRemarkSupplier in com.tibco.xml.processor

Classes in com.tibco.xml.processor that implement XmlRemarkSupplier


class SAXContent2XmlStream
Performs conversion from SAX Content to an untyped XML Stream.
class SAXContent2XmlStream.SAXContent2XmlKernel
The internal helper class that actually does all the work.
class XmlStreamCompiler
Compiles Simple Types in an XML stream to user-defined types derived from
XmlValue through the plug-in SimpleTypeCompiler mechanism.
class XmlStreamCompiler.XmlStreamCompilerContext

class XmlStreamEnhancer
Performs conversion from a basic XML Stream to an XML Stream with Schema
Information.
class XmlStreamParser

class XmlStreamSimplEx
Simple Type Extended Validation (SimpleEx).
class XmlStreamSimplEx.XmlStreamCompilerContext

Uses of XmlRemarkSupplier in
com.tibco.xml.validation.constraints

Subinterfaces of XmlRemarkSupplier in com.tibco.xml.validation.constraints


interface ConstraintChecker
Interface that a custom constraint checker must support.

Classes in com.tibco.xml.validation.constraints that implement XmlRemarkSupplier


class DefaultConstraintChecker
Default implementation of ConstraintChecker.
class ValidationConstraintEngine
Metadata handling engine that dispatches metadata events to the appropriate
ConstraintChecker implementations by namespace.
Uses of XmlRemarkSupplier in
com.tibco.xml.validation.helpers

Classes in com.tibco.xml.validation.helpers that implement XmlRemarkSupplier


class Validator_DOM_Remark_ExternalCache
A DOM validator producing XML remarks and employing an external schema cache.
class Validator_SAX_Remark_ExternalCache
A validator that accepts SAX Content, generates XML remarks, with an external
schema cache.
class Validator_SAX_Remark_InternalCache
A validator with SAX interfaces but not a SAX Filter, emits XML remarks, and with an
internal schema cache.

Uses of XmlRemarkSupplier in
com.tibco.xml.validation.kernel

Classes in com.tibco.xml.validation.kernel that implement XmlRemarkSupplier


class DefaultSchemaSupplier
Supplies SmSchema(s) when driven by Location Hints.
class ValidationControl

class ValidationKernel
Validates the XmlStream against the associated schema type information.
class Validator
The core XML Validator implementation.

Uses of XmlRemarkSupplier in
com.tibco.xml.validation.scripting
Classes in com.tibco.xml.validation.scripting that implement XmlRemarkSupplier
class ScriptingAdjunctValidator

class ScriptingValidatorMk1
Scripting Extended Validation Implementation.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.channel.remark.XmlRemarkSupplierMulticast
No usage of com.tibco.xml.channel.remark.XmlRemarkSupplierMulticast

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.processor.XmlStream2DOM
No usage of com.tibco.xml.processor.XmlStream2DOM

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.processor.XmlStreamCompiler
Packages that use XmlStreamCompiler
com.tibco.xml.processor Processors for manipulating XML information sets.

Uses of XmlStreamCompiler in com.tibco.xml.processor

Constructors in com.tibco.xml.processor with parameters of type XmlStreamCompiler


XmlStreamCompiler.XmlStreamCompilerContext()

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.processor.XmlStreamEnhancer
Packages that use XmlStreamEnhancer
com.tibco.xml.validation.kernel Validation components that may be used to assemble a specialized
validator.

Uses of XmlStreamEnhancer in
com.tibco.xml.validation.kernel

Fields in com.tibco.xml.validation.kernel declared as XmlStreamEnhancer


protected XmlStreamEnhancer Validator.enhancer

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.channel.stream.XmlStreamFilter
Packages that use XmlStreamFilter
com.tibco.xml.channel.stream.helpers Utility classes for operating on XML streams.
com.tibco.xml.processor Processors for manipulating XML information sets.

Uses of XmlStreamFilter in
com.tibco.xml.channel.stream.helpers

Classes in com.tibco.xml.channel.stream.helpers that implement XmlStreamFilter


class XmlStreamTracer

Uses of XmlStreamFilter in com.tibco.xml.processor

Classes in com.tibco.xml.processor that implement XmlStreamFilter


class XmlStreamCompiler
Compiles Simple Types in an XML stream to user-defined types derived from
XmlValue through the plug-in SimpleTypeCompiler mechanism.
class XmlStreamSimplEx
Simple Type Extended Validation (SimpleEx).

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES
Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.
Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.channel.stream.XmlStreamHandler
Packages that use XmlStreamHandler
com.tibco.xml.adjuncts.streaming A mechanism for associating metadata with an XML Stream.
com.tibco.xml.channel.stream XML stream information channels.
com.tibco.xml.channel.stream.helpers Utility classes for operating on XML streams.
The XmlCursor interface, representing a cursor over an XML
com.tibco.xml.data.cursor
information set.
com.tibco.xml.processor Processors for manipulating XML information sets.
com.tibco.xml.validation.constraints A mechanism for adding custom constraints to the validator.
com.tibco.xml.validation.helpers Ready-to-use validation patterns.
Validation components that may be used to assemble a
com.tibco.xml.validation.kernel
specialized validator.

com.tibco.xml.validation.scripting A mechanism for extending standard validation using XML


Processing Language (XPL) script.

Uses of XmlStreamHandler in
com.tibco.xml.adjuncts.streaming

Classes in com.tibco.xml.adjuncts.streaming that implement XmlStreamHandler


class com.tibco.xml.adjuncts.streaming.MetadataEngine
An engine for generating metadata association events based upon schema adjuncts and
an input XML stream.\

Uses of XmlStreamHandler in
com.tibco.xml.channel.stream

Subinterfaces of XmlStreamHandler in com.tibco.xml.channel.stream


interface XmlStreamFilter

Methods in com.tibco.xml.channel.stream with parameters of type XmlStreamHandler


void XmlStreamSupplier.setXmlStreamHandler(XmlStreamHandler handler)
Allows an application to register an XmlStreamHandler for this supplier.
void XmlStreamSupplierMulticast.addXmlStreamHandler(XmlStreamHandler handler)
Allows an application to register an XmlStreamHandler for this supplier.
void XmlStreamSupplierMulticast.removeXmlStreamHandler(XmlStreamHandler handler)
Allows an application to unregister an XmlStreamHandler for this supplier.

Uses of XmlStreamHandler in
com.tibco.xml.channel.stream.helpers

Classes in com.tibco.xml.channel.stream.helpers that implement XmlStreamHandler


class DefaultXmlStreamHandler
Acts as a dummy filter
class XmlStreamMulticastHelper
This class helps classes to support XmlStreamSupplier by managing the set of
XmlStreamHandler(s) and iteration over them when events need to be broadcast.
class XmlStreamProfiler

class XmlStreamTermination

class XmlStreamTracer

Fields in com.tibco.xml.channel.stream.helpers declared as XmlStreamHandler


protected DefaultXmlStreamHandler.m_handler
XmlStreamHandler

Methods in com.tibco.xml.channel.stream.helpers with parameters of type XmlStreamHandler


void DefaultXmlStreamHandler.setXmlStreamHandler(XmlStreamHandler handler)
will call setDocumentLocator and setDocumentCursor on handler
static void XmlStreamUtilities.parseThrowErrors(org.xml.sax.InputSource input,
XmlStreamHandler handler)

void XmlStreamMulticastHelper.addXmlStreamHandler(XmlStreamHandler handler)

void XmlStreamMulticastHelper.removeXmlStreamHandler(XmlStreamHandler handler)

void XmlStreamTracer.setXmlStreamHandler(XmlStreamHandler handler)

void XmlStreamProfiler.setXmlStreamHandler(XmlStreamHandler handler)

Uses of XmlStreamHandler in com.tibco.xml.data.cursor

Methods in com.tibco.xml.data.cursor with parameters of type XmlStreamHandler


static void XmlCursorSupport.traverse(XmlCursor cursor,
XmlStreamHandler handler)
Walks the cursor to generate an XML stream.

Uses of XmlStreamHandler in com.tibco.xml.processor

Classes in com.tibco.xml.processor that implement XmlStreamHandler


class C14NSerializer
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.
class XmlStream2DOM
Performs conversion from an XML stream to a document.
class XmlStreamCompiler
Compiles Simple Types in an XML stream to user-defined types derived from
XmlValue through the plug-in SimpleTypeCompiler mechanism.
class XmlStreamCompiler.XmlStreamCompilerContext

class XmlStreamEnhancer
Performs conversion from a basic XML Stream to an XML Stream with Schema
Information.
class XmlStreamSerializer
An XmlStreamHandler serializing the stream into an XML document using the
Writer or OutputStream passed to the constructor.
class XmlStreamSimplEx
Simple Type Extended Validation (SimpleEx).
class XmlStreamSimplEx.XmlStreamCompilerContext

Methods in com.tibco.xml.processor with parameters of type XmlStreamHandler


void DOM2XmlStream.setXmlStreamHandler(XmlStreamHandler handler)

void XmlStreamParser.setXmlStreamHandler(XmlStreamHandler handler)

void XmlStreamEnhancer.setXmlStreamHandler(XmlStreamHandler handler)

void XmlStreamCompiler.setXmlStreamHandler(XmlStreamHandler handler)

void SAXContent2XmlStream.setXmlStreamHandler(XmlStreamHandler handler)

void SAXContent2XmlStream.SAXContent2XmlKernel.setXmlStreamHandler(XmlStreamHandler handler)

void XmlStreamSimplEx.setXmlStreamHandler(XmlStreamHandler handler)


Uses of XmlStreamHandler in
com.tibco.xml.validation.constraints

Classes in com.tibco.xml.validation.constraints that implement XmlStreamHandler


class ValidationConstraintEngine
Metadata handling engine that dispatches metadata events to the appropriate
ConstraintChecker implementations by namespace.

Uses of XmlStreamHandler in
com.tibco.xml.validation.helpers

Methods in com.tibco.xml.validation.helpers with parameters of type XmlStreamHandler


void Validator_SAX_Remark_InternalCache.setXmlStreamHandler(XmlStreamHandler handler)

void Validator_SAX_Remark_ExternalCache.setXmlStreamHandler(XmlStreamHandler handler)

void Validator_DOM_Remark_ExternalCache.setXmlStreamHandler(XmlStreamHandler handler)

Uses of XmlStreamHandler in
com.tibco.xml.validation.kernel

Classes in com.tibco.xml.validation.kernel that implement XmlStreamHandler


class ValidationKernel
Validates the XmlStream against the associated schema type information.

Methods in com.tibco.xml.validation.kernel with parameters of type XmlStreamHandler


void Validator.setXmlStreamHandler(XmlStreamHandler handler)

Uses of XmlStreamHandler in
com.tibco.xml.validation.scripting

Methods in com.tibco.xml.validation.scripting with parameters of type XmlStreamHandler


void ScriptingAdjunctValidator.setXmlStreamHandler(XmlStreamHandler handler)
Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.channel.stream.helpers.XmlStreamMulticastHelper
No usage of com.tibco.xml.channel.stream.helpers.XmlStreamMulticastHelper

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.processor.XmlStreamParser
No usage of com.tibco.xml.processor.XmlStreamParser

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.channel.stream.helpers.XmlStreamProfiler
No usage of com.tibco.xml.channel.stream.helpers.XmlStreamProfiler

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.processor.XmlStreamSerializer
Packages that use XmlStreamSerializer
com.tibco.xml.processor Processors for manipulating XML information sets.

Uses of XmlStreamSerializer in com.tibco.xml.processor

Subclasses of XmlStreamSerializer in com.tibco.xml.processor


class C14NSerializer
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.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.processor.XmlStreamSimplEx
Packages that use XmlStreamSimplEx
com.tibco.xml.processor Processors for manipulating XML information sets.

Uses of XmlStreamSimplEx in com.tibco.xml.processor

Constructors in com.tibco.xml.processor with parameters of type XmlStreamSimplEx


XmlStreamSimplEx.XmlStreamCompilerContext()

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.channel.stream.XmlStreamSupplier
Packages that use XmlStreamSupplier
com.tibco.xml.adjuncts.streaming A mechanism for associating metadata with an XML Stream.
com.tibco.xml.channel.stream XML stream information channels.
com.tibco.xml.channel.stream.helpers Utility classes for operating on XML streams.
com.tibco.xml.processor Processors for manipulating XML information sets.
com.tibco.xml.validation.constraints A mechanism for adding custom constraints to the validator.
com.tibco.xml.validation.helpers Ready-to-use validation patterns.
Validation components that may be used to assemble a
com.tibco.xml.validation.kernel
specialized validator.
A mechanism for extending standard validation using XML
com.tibco.xml.validation.scripting
Processing Language (XPL) script.

Uses of XmlStreamSupplier in
com.tibco.xml.adjuncts.streaming

Classes in com.tibco.xml.adjuncts.streaming that implement XmlStreamSupplier


class com.tibco.xml.adjuncts.streaming.MetadataEngine
An engine for generating metadata association events based upon schema adjuncts and
an input XML stream.\

Uses of XmlStreamSupplier in
com.tibco.xml.channel.stream
Subinterfaces of XmlStreamSupplier in com.tibco.xml.channel.stream
interface XmlStreamFilter

Uses of XmlStreamSupplier in
com.tibco.xml.channel.stream.helpers

Classes in com.tibco.xml.channel.stream.helpers that implement XmlStreamSupplier


class DefaultXmlStreamHandler
Acts as a dummy filter
class XmlStreamProfiler

class XmlStreamTracer

Uses of XmlStreamSupplier in com.tibco.xml.processor

Classes in com.tibco.xml.processor that implement XmlStreamSupplier


class DOM2XmlStream
Traverses a Document to generate an XML stream.
class SAXContent2XmlStream
Performs conversion from SAX Content to an untyped XML Stream.
class SAXContent2XmlStream.SAXContent2XmlKernel
The internal helper class that actually does all the work.
class XmlStreamCompiler
Compiles Simple Types in an XML stream to user-defined types derived from
XmlValue through the plug-in SimpleTypeCompiler mechanism.
class XmlStreamEnhancer
Performs conversion from a basic XML Stream to an XML Stream with Schema
Information.
class XmlStreamParser

class XmlStreamSimplEx
Simple Type Extended Validation (SimpleEx).

Uses of XmlStreamSupplier in
com.tibco.xml.validation.constraints

Classes in com.tibco.xml.validation.constraints that implement XmlStreamSupplier


class ValidationConstraintEngine
Metadata handling engine that dispatches metadata events to the appropriate
ConstraintChecker implementations by namespace.

Uses of XmlStreamSupplier in
com.tibco.xml.validation.helpers

Classes in com.tibco.xml.validation.helpers that implement XmlStreamSupplier


class Validator_DOM_Remark_ExternalCache
A DOM validator producing XML remarks and employing an external schema cache.
class Validator_SAX_Remark_ExternalCache
A validator that accepts SAX Content, generates XML remarks, with an external
schema cache.
class Validator_SAX_Remark_InternalCache
A validator with SAX interfaces but not a SAX Filter, emits XML remarks, and with an
internal schema cache.

Uses of XmlStreamSupplier in
com.tibco.xml.validation.kernel
Classes in com.tibco.xml.validation.kernel that implement XmlStreamSupplier
class ValidationKernel
Validates the XmlStream against the associated schema type information.
class Validator
The core XML Validator implementation.

Uses of XmlStreamSupplier in
com.tibco.xml.validation.scripting

Classes in com.tibco.xml.validation.scripting that implement XmlStreamSupplier


class ScriptingAdjunctValidator

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.channel.stream.XmlStreamSupplierMulticast
Packages that use XmlStreamSupplierMulticast
com.tibco.xml.channel.stream.helpers Utility classes for operating on XML streams.

Uses of XmlStreamSupplierMulticast in
com.tibco.xml.channel.stream.helpers

Classes in com.tibco.xml.channel.stream.helpers that implement XmlStreamSupplierMulticast


class XmlStreamMulticastHelper
This class helps classes to support XmlStreamSupplier by managing the set of
XmlStreamHandler(s) and iteration over them when events need to be broadcast.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.channel.stream.helpers.XmlStreamTermination
No usage of com.tibco.xml.channel.stream.helpers.XmlStreamTermination

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.channel.stream.helpers.XmlStreamTracer
No usage of com.tibco.xml.channel.stream.helpers.XmlStreamTracer

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.channel.stream.helpers.XmlStreamUtilities
No usage of com.tibco.xml.channel.stream.helpers.XmlStreamUtilities

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.data.cursor.helpers.XmlStringValue
No usage of com.tibco.xml.data.cursor.helpers.XmlStringValue

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.data.node.XmlTypes
Packages that use XmlTypes
The XmlContext interface, representing a context in an XML
com.tibco.xml.data.context
information set.
com.tibco.xml.data.context.helpers Utility classes for operating on XML contexts.
The XmlCursor interface, representing a cursor over an XML
com.tibco.xml.data.cursor
information set.
com.tibco.xml.data.cursor.helpers Utility classes for operating on XML cursors.
The XmlNode interface, representing information common to an
com.tibco.xml.data.node
XML context and an XML cursor.

Uses of XmlTypes in com.tibco.xml.data.context

Subinterfaces of XmlTypes in com.tibco.xml.data.context


interface XmlContext
Provides access to data and type information for an attribute or element within an
information set.

Uses of XmlTypes in com.tibco.xml.data.context.helpers

Classes in com.tibco.xml.data.context.helpers that implement XmlTypes


class XmlContextOnXmlCursor
Uses of XmlTypes in com.tibco.xml.data.cursor

Subinterfaces of XmlTypes in com.tibco.xml.data.cursor


interface XmlCursor
Provides access to data and type information for an XML information set item.
interface XmlReader
A forward-only pull style cursor over an XML information set.

Uses of XmlTypes in com.tibco.xml.data.cursor.helpers

Classes in com.tibco.xml.data.cursor.helpers that implement XmlTypes


class XmlCursor4DOM

class XmlCursorNoNavigation
A simple XmlCursor helper needed for stream operations.
class XmlCursorOnXmlContext

Uses of XmlTypes in com.tibco.xml.data.node

Subinterfaces of XmlTypes in com.tibco.xml.data.node


interface XmlNode
Provides access to data and type information for an attribute or element within an
information set.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.validation.XMLValidationException
No usage of com.tibco.xml.validation.XMLValidationException

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.validation.XMLValidator
Packages that use XMLValidator
com.tibco.xml.validation XML Validation in a pure SAX 2.0 environment.
com.tibco.xml.validation.helpers Ready-to-use validation patterns.

Uses of XMLValidator in com.tibco.xml.validation

Methods in com.tibco.xml.validation that return XMLValidator


static XMLValidator ValidationFactory.createValidator(org.xml.sax.XMLReader reader)
Create an XMLValidator instance using the given parser (SAX2 XMLReader).
static XMLValidator ValidationUtilities.createValidator(SchemaMap schemas,
org.xml.sax.ErrorHandler errors)
Create an XMLValidator with a given set of schemas, already inserted into a
SchemaMap object, and with a given ErrorHandler.

Uses of XMLValidator in com.tibco.xml.validation.helpers

Classes in com.tibco.xml.validation.helpers that implement XMLValidator


class XMLValidatorFilterImplMk1
XML Validate XML Filter based upon the version 2.0 validation components but using
the SchemaMap for caching schemas.

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.validation.helpers.XMLValidatorFilterImplMk1
No usage of com.tibco.xml.validation.helpers.XMLValidatorFilterImplMk1

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Interface
com.tibco.xml.data.node.XmlValue
Packages that use XmlValue
com.tibco.xml.data.context.helpers Utility classes for operating on XML contexts.
com.tibco.xml.data.cursor.helpers Utility classes for operating on XML cursors.
The XmlNode interface, representing information common to an
com.tibco.xml.data.node
XML context and an XML cursor.
com.tibco.xml.data.primitive XML primitive types.

Uses of XmlValue in com.tibco.xml.data.context.helpers

Methods in com.tibco.xml.data.context.helpers that return XmlValue


XmlValue XmlContextOnXmlCursor.getValue()

Methods in com.tibco.xml.data.context.helpers with parameters of type XmlValue


void XmlContextOnXmlCursor.setValue(XmlValue value)

Uses of XmlValue in com.tibco.xml.data.cursor.helpers

Classes in com.tibco.xml.data.cursor.helpers that implement XmlValue


class XmlStringValue
Simple wrapper around String to implement XmlValue
Methods in com.tibco.xml.data.cursor.helpers that return XmlValue
XmlValue XmlCursor4DOM.getValue()

XmlValue XmlCursorOnXmlContext.getValue()

Methods in com.tibco.xml.data.cursor.helpers with parameters of type XmlValue


void XmlCursor4DOM.setValue(XmlValue value)

void XmlCursorOnXmlContext.setValue(XmlValue value)

Uses of XmlValue in com.tibco.xml.data.node

Methods in com.tibco.xml.data.node that return XmlValue


XmlValue XmlNode.getValue()
Return the value of this node.

Methods in com.tibco.xml.data.node with parameters of type XmlValue


void XmlNode.setValue(XmlValue value)
Sets the value of this node.

Uses of XmlValue in com.tibco.xml.data.primitive

Classes in com.tibco.xml.data.primitive that implement XmlValue


class ExpandedName
Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


Overview Package Class Use Tree Deprecated Index Help
PREV NEXT FRAMES NO FRAMES

Uses of Class
com.tibco.xml.data.context.helpers.XPathHelper
No usage of com.tibco.xml.data.context.helpers.XPathHelper

Overview Package Class Use Tree Deprecated Index Help


PREV NEXT FRAMES NO FRAMES

Copyright © 2001 TIBCO Extensibility, Inc. All Rights Reserved.


XML Validate Application Programmer's Guide
Introduction
Features Overview
Notes for 1.0 Users
XML Validate" Introduction
Standard Validation
Thank you for your interest in TIBCO Extensibility and XML Validate @XV.VERSION@. Mainstream
Standard Validation Overview
distributed computing and B2B collaboration will require the real-time exchange and validation of a vast
Compliance with Schema Standards amount of XML documents and messages. This will create transaction-driven environments that will
Extended Validation demand an XML infrastructure that is standards-based, flexible, scalable and fully leverages the Internet.
XML Validate offers a solution for the real-time processing of streaming XML data flows for e-business.
Extended Validation Overview
Custom Stream Extended (CustomEx) The full power of XML Validate stems from its flexibility. XML Validate includes a SAX filter component
for handling SAX based inputs, but also provides a series of lower level components that make XML
CustomEx Overview
Validate a viable option when the input is not SAX content. XML Validate is capable of validating XML
Invoice Code Example documents or messages against the XML Schema standard (XSDL), the XML 1.0 DTD standard, as well
Simple Type Extended (SimpleEx) as Schema for Object-Oriented XML (SOX) and XML Data-Reduced (XDR). Through its extended
SimpleEx Overview validation components, XML Validate also enables validation against business rules that are inconvenient,
inefficient or impossible to express in a schema.
Scripting Extended (ScriptEx)
ScriptEx Overview XML Validate is a core component for organizations building a high bandwidth, XML-based, e-commerce
engine. Its event-driven API and plug and play architecture makes XML Validate an ideal candidate for
XML Procedural Language (XPL)
industry-grade processing in a run-time environment, such as the financial community, which must reliably
XPL Introduction process between 10-20 million transactions a day.
XPL Reference
Copyright © 2002 TIBCO Software Inc. All Rights Reserved.
xpl:script
xpl:using
xpl:variable
xpl:if
xpl:choose
xpl:while
xpl:function
xpl:call-function
xpl:input
xpl:output
xpl:extendXLang
xpl:extendXPath
xpl:document
xpl:error
xpl:warning
xpl:info
xpl:for-each
xpl:propput
xpl:propget
xpl:assert
xpl:report
XPL XPath Function Extensions
XPath Extensions Overview
XPath Customization Steps
XML Extended Validation Adjunct
Schema Adjunct Framework
XPL Element Extensions
Element Extensions Overview
Element Customization Steps
XPL Schema
XPL Schema
SchemaDOC
Javadoc
Help
Overview
Index
Tree
Deprecated
Third Party Software License Agreements
The Apache Software License
Sun Microsystems, Inc. Binary Code License Agreement
XML Validate" Introduction

Thank you for your interest in TIBCO Extensibility and XML Validate @XV.VERSION@. Mainstream
distributed computing and B2B collaboration will require the real-time exchange and validation of a vast
amount of XML documents and messages. This will create transaction-driven environments that will
demand an XML infrastructure that is standards-based, flexible, scalable and fully leverages the Internet.
XML Validate offers a solution for the real-time processing of streaming XML data flows for e-business.
The full power of XML Validate stems from its flexibility. XML Validate includes a SAX filter
component for handling SAX based inputs, but also provides a series of lower level components that
make XML Validate a viable option when the input is not SAX content. XML Validate is capable of
validating XML documents or messages against the XML Schema standard (XSDL), the XML 1.0 DTD
standard, as well as Schema for Object-Oriented XML (SOX) and XML Data-Reduced (XDR). Through
its extended validation components, XML Validate also enables validation against business rules that are
inconvenient, inefficient or impossible to express in a schema.
XML Validate is a core component for organizations building a high bandwidth, XML-based,
e-commerce engine. Its event-driven API and plug and play architecture makes XML Validate an ideal
candidate for industry-grade processing in a run-time environment, such as the financial community,
which must reliably process between 10-20 million transactions a day.
Copyright © 2002 TIBCO Software Inc. All Rights Reserved.
Extended Validation Overview

The verification of the correctness of XML according to a given set of rules is a continuum. At the
lowest end of the spectrum, an XML information set may be checked for well-formedness. That is to
say, the XML information set should be capable of being parsed correctly. The next level of correctness
is the determination of whether the XML information set conforms to the syntax rules describing a
particular markup language. These syntactical rules are typically expressed in some flavor of schema; a
document that conforms to a schema is said to be syntactically valid.
Many environments, however, require another level -- that the instances conform to business rules that
are inconvenient, inefficient or impossible to express in a schema. For example, an XML Schema can
specify that the value of a zip code element for an invoice must match a specific pattern, but it cannot
easily perform co-constraint validation, such as ensuring that the zip code is correct, given the values of
the city and state elements. Similarly, a schema may constrain an element value to a range of integers,
but cannot confirm that the sum of values of selected elements equals a check sum.
The TIBCO Extensibility Extended Validator is used to establish XML correctness beyond that which
schema-only based validating processors can perform. To best address different use-cases, Extended
Validator provides three integrated mechanisms for extending validation:
● Scripting Extended Validation (ScriptEx): This approach uses the expressive power of XPath,
typically to perform co-constraint validation. The XPath is hosted in a familiar XSL-like
programming language to provide procedural control. ScriptEx operates on an in-memory
representation of the XML data so that all XPath axes are available. No java code is required.
● Custom Stream Extended Validation (CustomEx): This approach, also useful for co-constraint
validation, uses java plugins called when a specific information item matches an XPath pattern.
CustomEx can operate on an XML data stream, making it a high performance solution.
● Simple Type Extended Validation (SimpleEx): This approach, also appropriate for co-constraint
validation, uses java plugins called when a specific simple type is matched by name. SimpleEx
can operate on XML data streams, making it a viable option when high performance is required.
By providing three different mechanisms for extending schema validation, XML Validate provides a
complete, integrated, and adaptable validation solution.

Copyright © 2002 TIBCO Software Inc. All Rights Reserved.


Features Overview

XML schema Support: In addition to validation against DTDs, XML Validate @XV.VERSION@ can
validate instance documents against schemas that conform to:
● XML Schema Definition Language (XSDL) Recommendation (2001-05-02 )
● XSDL Proposed Recommendation (2001-03-30)
● XSDL Candidate Recommendation (2000-10-24)
● Schema for Object Oriented XML (SOX)
● XML Data-Reduced, Microsoft implementation (XDR)
Extended Validation: Validation of instances based upon rules that cannot be expressed in a schema.
SAX 2.0 Compliance: XML Validate @XV.VERSION@. can be easily implemented as a SAX2
XMLFilter, allowing it to be interposed between any SAX2 XMLReader and the client application.
Schema Caching: The schemas and DTDs used in validation can be pre-parsed and cached for efficient
access. The cache is organized as a mapping from XML namespaces to parsed schemas. Multiple
caches are supported.
Error Handling: Error reports (see XML Remarks) contain code exceptions as well as the logical location
of the error, making them richer than standard SAX error reports. Error output can be controlled through
an error filtering component.

Copyright © 2002 TIBCO Software Inc. All Rights Reserved.


Notes for XML Validate 1.0 Users

With version 2.0, the XML Validate APIs have been expanded to expose more utility 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. Additional APIs provide fine-grained
control over schema provisioning and extended validation constraints.
Figures A and B depict the 1.0 and 2.0 architectures, respectively.

Figure A -- XML Validate 1.0 Architecture


Note: XML Validate 1.0 is implemented as a SAX2 XMLFilter, allowing it to be interposed between any
SAX2 XMLReader and the client application. The com.extensibility.validation.XMLValidator interface
extends the org.xml.sax.XMLFilter interface, which means that it fits "between" your application code (the
ContentHandler) and the parser (XMLReader) you normally use. The stream of content events from the
parser is passed along via XML Validate; while doing so, the content is validated against the appropriate
schemas or DTDs.
Figure B -- XML Validate 2.0 Architecture
Note: An XML Stream to SAX content adapter can be utilized to maintain backwards compatibility with
the 1.0 API.

Copyright © 2002 TIBCO Software Inc. All Rights Reserved.


Architecture Overview: Standard Validation

XML Validate is highly granular, and accordingly, highly adaptable to your environment. The core
components are an XML Validation Kernel and an XML Validation Control (Figure A).

Figure A - Validation Kernel and Control


The kernel validates an XML Stream (raw XML adorned with schema information) and passes its findings
as XML remarks that offer a greater richness than SAX error messages. The XML remarks are sent to the
Validation Control, where they can be filtered and formatted for human consumption. An adapter can be
defined to convert the XML Remarks into SAX errors if required.
To create the XML Stream, a SAX Content to XML Stream Adapter (a.k.a. Adapter) converts a SAX
content stream into an XML Stream (Figure B). Other adapters can be defined to convert input that is not
SAX content into the XML Stream.

Figure B -- Adapter for SAX Content


To associate schema information with the XML Stream, the adapter sends the SAX content to the SAX
Location Hint Supplier, which extracts any schema location information (DOCTYPE, soxtype, xmlns,
xsi:noNamespaceSchemaLocation, xsi:schemaLocation, etc.) and sends this information to a Schema
Model Supplier, which resolves the schema and populates the Schema Model Cache.
Note: The Schema Model Cache may be pre-loaded. This the ideal solution when validating against a
fixed set of schemas.
The Enhancer combines the XML Stream produced by the Adapter with the appropriate schema
information pulled from the Schema Model Cache, and then sends the schema adorned stream to the
Kernel. The process of adding schema information to the XML Stream is summarized in Figure C. Note
that the Schema Model Supplier can send remarks to the XML Validation Control, most notably, remarks
indicating that a schema was not found (which is determined after attempting to resolve the schema based
on the schema hints and after checking the Schema Model Cache).

Figure C -- Adding Schema Information to the XML Stream

A full implementation of XML Validate, excluding extended validation, is depicted in Figure D.


Figure D
Copyright © 2002 TIBCO Software Inc. All Rights Reserved.
Architecture Overview: Extended Validation

Figure A (below) shows the relationships and data flow between components that comprise a stream-based
validation solution using the Constraint Validation Engine. Kernel validation components are not shown
for clarity.
The XML Constraint Validation Engine filters XML Stream events and adorns those events with
meta-data from a schema-adjunct before sending them on to one or more custom Constraint Checker
extensions. The details of adjunct content and Constraint Checker construction are described elsewhere.
This description is limited to the integration of the extension capability with a validation solution.
The adjunct used by the Engine is selected based upon the TypeURI of the document. The TypeURI is by
convention the {namespaceURI}localName string combination for the root element of the document but
may be defined to be any key that can be used to perform a lookup in the Schema Adjunct Cache. The
Adjunct Supplier defines a unique mapping from the TypeURI to an adjunct.
A Content Type URI Extractor fires a TypeURI event when it sees the root element of the document. The
Constraint Validation Engine must determine the adjunct to use before it receives any XML Stream
events. This timing is achieved by having the Extractor component provide a delayed SAX Content
stream so that the TypeURI is always guaranteed to be before the delayed SAX Content events.
Figure A -- Extended Validation Data Flow
Copyright © 2002 TIBCO Software Inc. All Rights Reserved.
Compliance with Schema Standards

XML Validate can read and validate XML instances against the following schema dialects:
● XML Schema Definition Language (XSDL) Recommendation (2001-05-02 )
● XSDL Proposed Recommendation (2001-03-30)
● XSDL Candidate Recommendation (2000-10-24)
● Schema for Object Oriented XML (SOX), Version 2.0
● XML Data-Reduced, Microsoft implementation (XDR)
Notes on XML Schema Support
XML Schema support is fully compliant with the proposed and final recommendations, as published by
the W3C. This means that all required schema language features and validation capabilities are
implemented.
XML Validate can read schemas that conform to the XML Schema 2000-10-24 Candidate
Recommendation, and implements a majority of the validation constraints defined by that specification,
including wildcards, locally defined elements, pattern matching for simple types, occurrence bounds,
enumerations, and ID/IDREF constraints. Unimplemented features include substitution groups and
identity constraints. Previous drafts of the XML Schema standard are also readable and wholly or
partially implemented.
Copyright © 2002 TIBCO Software Inc. All Rights Reserved.
Scripting Extended Overview

The Scripting Extended (ScriptEx) approach enables the validation and cross-validation of information
items selected using XPath expressions. For example, the values of zipCode and a state within a
message could be identified via XPath and then checked for compatibility.
ScriptEx uses XPL, an XSL-like programming language featuring flow-of-control, variables and
functions. XPL enables application developers to express validation constraints in a flexible, high level
XML abstraction (XPL and XPath) without the need for a programming language such as Java. The
XPath expressions are embedded within the XPL language, making variables declared within the XPL
script available to the XPath expressions. By combining the full expressive power of the XPath hosted
within a script language, sophisticated business rules may be developed rapidly and accurately.
Note: Given its use of XPath expressions (full axes support), the ScriptEx approach requires an
in-memory representation of the XML message.
Copyright © 2002 TIBCO Software Inc. All Rights Reserved.
XML Procedural Language (XPL)
Introduction
The Extended Validator is implemented using an XML script engine that processes XPL. The XPL
scripting language is a language very similar to XSL used in XSLT. If you are familiar with XSL then
you will be familiar with many of the language constructs used in XPL. Even if you are not familiar with
XSL, learning XPL is very easy, as only twenty-one elements are used:
xpl:script

xpl:using

xpl:variable

xpl:if

xpl:choose

xpl:while

xpl:function

xpl:call-function
xpl:input

xpl:output

xpl:extendXLang

xpl:extendXPath

xpl:document

xpl:error

xpl:warning
xpl:info
xpl:for-each

xpl:propput

xpl:propget

xpl:assert

xpl:report

Copyright © 2002 TIBCO Software Inc. All Rights Reserved.


Custom Stream Extended Validation
Overview
The Custom Stream Extended (CustomEx) approach allows you to perform extended validation using
Java plug-ins, which are called by the CustomEx framework when a given information item is
encountered. Because XPath patterns (child and attribute axes only) are used for node selection, this
approach enables extended validation in the context of a stream-based implementation, allowing for a
very efficient, low-footprint analysis of arbitrarily large XML documents.
A CustomEx java plug-in is able to retain state across framework invocations and so may be used to
cross-validate information items. See the discussion of the invoice code example for more details on
Custom Stream Extended Validation.
Copyright © 2002 TIBCO Software Inc. All Rights Reserved.
Simple Type Extended Validation
Overview
The Simple Type Extended (SimpleEx) approach allows you to perform extended validation using Java
plug-ins, which are called when a given simple type is encountered. The Java plug-in may then
cross-reference an external data source or may employ a sophisticated algorithm to validate the simple
type to a level beyond that which a schema-based processor can provide. No XPath matching is used;
rather the type to be processed via the plug-in is simply declared. This approach should be used when
information items must be validated based on their type, as it avoids the duplication of declarations that
may be required if the selection of particular items is done based on location.
Example use cases for SimpleEx include:
● verifying an email address against an external mail server
● parsing and verifying an XPath expression
● verifying a currency code against a table of permitted values
To implement type validation and substitution, first make sure that the type is defined in the schema with
a name:
<xsd:simpleType name = "usZip">
<xsd:restriction base = "xsd:string">
<xsd:pattern value = "\d{5}(-\d{4})?"/>
</xsd:restriction>
</xsd:simpleType>
Next confirm that the type is applied to an element or attribute:
<xsd:element name = "zip" type = "usZip"/>
The final step is to write the Java plug-in for handling the type and to add the simple type extended
validation component to your validation solution. For a detailed example of the process, see the sample
code in the simplex directory of the sample-code directory.
Copyright © 2002 TIBCO Software Inc. All Rights Reserved.
Invoice Code Example
Consider the example of checking the validity of ABA routing numbers in XML documents representing
bank-to-bank transfers. While these numbers may have a particular lexical pattern that can be verified by
schema validation, validity cannot be completely assured without verifying that there is an actual bank
that has been assigned that number by some central interchange agency.
A partial example of a transfer document is shown here, with ABA numbers to be verified shown in
green. This example also posits (for illustration purposes) that ABA codes are unique only within a
particular "region" (and that transfers are only possible within regions, using this document syntax). The
ABA region is shown in orange.
<transfer aba-region="EC1">
<from-bank aba-code="9879873">
<alternate-aba>9879800</alternate-aba>
....
</from-bank>
<to-bank aba-code ="8383821">
< alternate-aba > 8383800</alternate-aba >
...
</to-bank>
</transfer>
ABA validity must be assessed by invoking some database server to verify the existence of the code.
The sample adjunct skeleton below illustrates a possible syntax for describing how ABA code validity is
assessed for the "transfer" document schema illustrated above. The metadata syntax shown in blue is
"understood" by a Java class called ABAConstraintChecker, which implement the ConstraintChecker
interface. The surrounding schema-adjunct syntax is understood by the underlying framework, which
processes the input transfer document stream and calls the ABA ConstraintChecker at appropriate times.
(The details of the schema adjunct syntax are documented elsewhere.)
<saf:schema-adjunct>
<saf:global>
<aba:database host="www.example.com" port="212"
region="/transfer/@aba-region"/>
</saf:global>
<saf:element type="bank-descr-type">
<aba:code value="@aba-code"/>
<aba:code value="alternate-aba"/>
</saf:element>
</saf:schema-adjunct>
The "database" tag above is contained within a "global" association, and is therefore associated with the
entire document as a context. The "code" tags, on the other hand, are associated with the context of any
element of type "bank-descr-type"... the "from-bank" and "to-bank" elements, to be specific. Each of
these contexts will result in a particular sequence of events as the input document is processed, as
described below.
Parameters and XPath Bindings
Before looking at the event sequence, let us look at the information that will be conveyed to the
ABAConstraintChecker by the framework. Note that the adjunct above shows attributes on the metadata
elements, and the attribute values are shown in two colors. Red is used to designate parameters, defined
as values fixed by the adjunct, irrespective of the input document contents. In this example, the host
name and port for the presumed "ABA database server" are stated as parameters for the "database" tag.
Attributes values shown in purple are XPath bindings. These attributes use a form of simple XPath
expression to bind a name to a piece of data from the input document. When the ABAConstraintChecker
class is registered with the framework, the set of attributes to be interpreted as bindings must be
specified. This allows the engine to perform a very efficient stream-based XPath binding based on the
contents of the designated attribute values in the adjunct. The XPaths must evaluate to "leaf" nodes, so
that the values bound are always strings, rather than structured elements.
Handler Event Sequence
The ConstraintChecker framework operates in a stream-based XML processing environment. That
means that, in our example, the ABAConstraintChecker object (and its helper objects) will receive a
stream of "metadata event" notifications, in an order dictated by the order in which various elements and
attributes are encountered in the input XML stream.
The notation below describes the event stream that will occur as the sample transfer document is
processed. The "target object" for each event is noted as a capital letter, B, C1, C2, or D.
B: start document
B: create "database" handler D
D: start context "transfer", parameters: host= www.example.com, port= 212
D: variable bound: region = EC1
B: create "code" handlers C1, C3
C1,C3: start context "from-bank"
C1: variable bound: value = 9879873
C3: variable bound: value = 9879800
C1,C3: end context "from-bank"
B: create "code" handlers C2, C4
C2,C4: start context "to-bank"
C2: variable bound: value = 8383821
C4: variable bound: value = 8383800
C2,C4: end context "to-bank"
D: end context "transfer", parameters: host= www.example.com, port= 212
B: end document
Based on this stream of events, the ABAConstraintChecker and its delegate handlers have all the
information necessary to perform the ABA validation in as efficient a manner as they can. In particular,
the ABAConstraintChecker can make its own decisions about the scope and lifetime of any data (like
database or socket connections), whether handlers C1 and C2 are distinct objects or the same object, etc.
This architecture therefore lends itself to a wide variety of constraints, with differing requirements for
"state".
The mechanism for parameterizing the handlers with metadata and instance data is intentionally simple...
just fixed parameters and bound XPaths. The syntax for expressing the constraints is also intentionally
simple... one element with attributes. This architecture seeks allow for complexity within the
ConstraintChecker implementation, without requiring complexity in the way the constraints are
associated with instance contexts.
Sample Code
An implementation of the ABAConstraintChecker is provided with this distribution. See the
"ABAConstraintChecker.java" and "SimpleValidationSample.java" files.
Copyright © 2002 TIBCO Software Inc. All Rights Reserved.
xpl:script
Description
The script element is required and defines the XML to be XML Script Language.
Attributes
Name Occurrence Value Meaning
xmlns:xpl required String The namespace URI of
the XPL Script Language.

Copyright © 2002 TIBCO Software Inc. All Rights Reserved.


xpl:using
Description
The xpl:using element defines the node that will be used to evaluate XPath expressions. This node is sometimes
referred to as the current or context node. The current node may be changed at any time.
Attributes
Name Optional Value Meaning
name required QName The qualified name of the variable in the form
prefix:localName.

Example
The following XML script fragment sets the current node to be the node identified by the global variable
saf:currentNode. The second line initializes a variable using an XPath expression that is evaluated using the current
node.

<xpl:using name=”saf:currentNode”/>
<xpl:variable name="calculatedSum" select="sum(xyz:accountInfo/xyz:amtValue/text())"/>

Copyright © 2002 TIBCO Software Inc. All Rights Reserved.


xpl:variable
Description
The variable element declares a variable and gives it a name. If the variable does not exist then it is created. If the
variable does exist then it is replaced within the local scope. Global variables may only be changed within the script
scope.
Attributes
Name Occurrence Value Meaning
name required QName The qualified name of the
variable in the form
prefix:localName.
select optional XPath Expression An XPath expression that is
evaluated to give the value
of the variable. If omitted,
the value is determined from
the contents of the
<xpl:variable> element.

Example
The following script fragment executes the code in script block if the XPath expression evaluates to true. Note how
the second instruction selects a literal string value by using additional quotes.

<xpl:variable name="calculatedSum" select="sum(xyz:accountInfo/xyz:amtValue/text())"/>


<xpl:variable name= "city" select="'Durham'"/>
Copyright © 2002 TIBCO Software Inc. All Rights Reserved.
xpl:if
Description
The xpl:if instruction encloses script that is conditionally executed. The xpl:if element is identical to the if
statement in XSL. There is no else branch: if you need one, use the xpl:choose instruction.

Attributes
Name Occurrence Value Meaning
test required XPath expression The Boolean condition to
be tested.

Example
The following script fragment executes the code in script block if the XPath expression evaluates to true.
<xpl:if test=”XPath expression”>
script block
</xpl:if>

Copyright © 2002 TIBCO Software Inc. All Rights Reserved.


xpl:choose
Description
The xpl:choose element conditionally executes the script which it contains.
Attributes
The xpl:choose element does not have any attributes.
Example
<xpl:choose>

<xpl:when test= "XPath expression 1">


script block
</xpl:when>

<xpl:when test="XPath expression 2">


script block
</xpl:when>

<xpl:otherwise>
script block
</xpl:otherwise>

</xpl:choose>
Copyright © 2002 TIBCO Software Inc. All Rights Reserved.
xpl:while
Description
The xpl:while element conditionally executes the script which it contains and continues to re-execute so
long as the test expression evaluates to true.
Attributes
Name Occurrence Value Meaning
test required XPath expression The Boolean condition to
be tested.

Example
<xpl:while test="XPath expression">
script block
</xpl:while>
Copyright © 2002 TIBCO Software Inc. All Rights Reserved.
xpl:function
Description
The xpl:function element declares a function that may be invoked.
Attributes
Name Occurrence Value Meaning
name required string The name of the function.

Examples
<xpl:function name= "main">
script block
</xpl:function>
Copyright © 2002 TIBCO Software Inc. All Rights Reserved.
xpl:call-function
Description
The xpl:call-function element is used to invoke an XML script function that has been declared using
xpl:function.

Attributes
Name Occurrence Value Meaning
name required string The name of the function

Example
<xpl:call-function name="name">
<xpl:input name="QName" select="XPath expression"/>
<xpl:output name="QName" select="XPath expression"/>
</xpl:call-function>
Copyright © 2002 TIBCO Software Inc. All Rights Reserved.
xpl:input
Description
The xpl:input element is used in conjunction with either the xpl:call-function element or the xpl:invoke
element. The xpl:input element selects a variable from the caller context into the callee context so that it is
available in the called function.
Attributes
Name Occurrence Value Meaning
name required QName The qualified name of the
variable in the form
prefix:localName.
select optional XPath expression An XPath expression that
is evaluated to give the
value of the variable. If
omitted, the value is
determined from the
contents of the
<xpl:variable> element.

3.9.3. Example
See xpl:call-function.

Copyright © 2002 TIBCO Software Inc. All Rights Reserved.


xpl:output
Description
The xpl:output element is used in conjunction with either the xpl:call-function element or the xpl:invoke
element. The xpl:output element selects a variable from the callee context into the caller context so that it
is available in the calling function.
Attributes
Name Occurrence Value Meaning
name required QName The qualified name of the
variable in the form
prefix:localName.
select optional XPath expression An XPath expression that
is evaluated to give the
value of the variable. If
omitted, the value is
determined from the
contents of the
<xpl:variable> element.

Example
See xpl:call-function.

Copyright © 2002 TIBCO Software Inc. All Rights Reserved.


xpl:extendXLang
Description
The xpl:extendXLang element is used to declare an extension element.
Attributes
Name Occurrence Value Meaning
prefix required string The prefix that will be
used to qualify the XPath
function.
name required string The local name of the
extension element.
lang required string The language in which
the extension is
implemented. Must be
“javaclass”.
src required string The Java class
specification.

Example
The following script fragment declares an external XPath function.
<xpl:extendXLang prefix="prefix" name="name" lang="javaclass" src= "Java class"/>

Copyright © 2002 TIBCO Software Inc. All Rights Reserved.


xpl:extendXPath
Description
The xpl:extendXPath element is used to declare an externally defined XPath extension function.
Attributes
Name Occurrence Value Meaning
prefix required string The prefix that will be
used to qualify the XPath
function.
lang required string The language in which
the extension is
implemented. Must be
“javaclass”.
src required string The Java class
specification.

Example
The following script fragment declares an external XPath function.
<xpl:extendXPath prefix="prefix" lang="javaclass" src="Java class"/>
Copyright © 2002 TIBCO Software Inc. All Rights Reserved.
xpl:document
Description
The xpl:document element is used to load a document, specified by a URL, and to assign it to a variable. The
document node of the document is assigned to a variable with the specified name. The document may be selected for
XPATH with xpl:using.
Attributes
Name Occurrence Value Meaning
name required QName The name of the variable to
which the document is
assigned.
url optional string, Universal Resource The location of the
Locator document.

Example

<xpl:document name="codes" url="codes.xml"/>


<xpl:variable name= "saved" select="."/>
<xpl:using name="codes"/>

<!-- XPL processing-->

<xpl:using name="saved"/>
Copyright © 2002 TIBCO Software Inc. All Rights Reserved.
xpl:error
Description
The xpl:error element is used to raise an error event. The text contained within the xpl:error element provides the
content for the message. The text conforms to valid XPath syntax and so may contain variable substitutions and
functions such as concatenation.
Attributes
Name Occurrence Value Meaning
code optional string, user-defined Passed through to error
handler.
context optional XPath Expression An XPath expression that is
evaluated to give the error
context. If omitted, the value
is set to be the current XPath
Context node. (See Notes
below.)

Notes
The context will report the first matching node if multiple nodes are selected by the XPath expression.
Example

<xpl:error code="999">concat('The status code &quot;',$status,'&quot; is not valid.')</xpl:error>


Copyright © 2002 TIBCO Software Inc. All Rights Reserved.
xpl:warning
Description
The xpl:warning element is used to raise a warning event. The text contained within the xpl:warning element
provides the content for the message. The text conforms to valid XPath syntax and so may contain variable
substitutions and functions such as concatenation.
Attributes
Name Occurrence Value Meaning
code optional string, user-defined Passed through to error
handler
context optional XPath An XPath expression that is
evaluated to give the error
context. If omitted, the value
is set to be the current XPath
Context node. (See Notes
below.)

Notes
The context will report the first matching node if multiple nodes are selected by the XPath expression.
Example

<xpl:warning code="222">concat('The status code &quot;',$status,'&quot; is not valid.')</xpl:warning>


Copyright © 2002 TIBCO Software Inc. All Rights Reserved.
xpl:info
Description
The xpl:info element is used to raise an error event. The text contained within the xpl:info element provides the
content for the message. The text conforms to valid XPath syntax and so may contain variable substitutions and
functions such as concatenation.
Attributes
Name Occurrence Value Meaning
code optional string, user-defined Passed through to error
handler.

context optional XPath An XPath expression that is


evaluated to give the error
context. If omitted, the value
is set to be the current XPath
Context node. (See Notes
below.)

Notes
The context will report the first matching node if multiple nodes are selected by the XPath expression.
Example

<xpl:info code="999">concat('The status code &quot;',$status,'&quot; is not valid.')</xpl:info>


Copyright © 2002 TIBCO Software Inc. All Rights Reserved.
xpl:for-each
Description
The xpl:for-each element is used to iterate over a set of nodes. Within the xpl:for-each loop, the current node
for XPath execution is the current loop node. At the end of the loop execution the current node is restored.
Attributes
Name Occurrence Value Meaning
select required Xpath expression An Xpath expression that is
evaluated to provide a set of
nodes for iteration.

Example

<xpl:for-each select="xyz:Master">
<xpl:if test = not(xyz:Ref[xyz:Qualifier='Next'])">
...
</xpl:if>
</xpl:for-each>
Copyright © 2002 TIBCO Software Inc. All Rights Reserved.
xpl:propput
Description
The xpl:propput element is used to store the value of a variable or XPath expression result in a location external to the
XPL script variable store. This provides access to variables and values that have a lifetime greater than that of the
script. It may also be used to communicate with external modules.
Attributes
Name Occurrence Value Meaning
uri required string, Universal Resource The universal resource
Identifier identifier of the stored
variable.
select optional XPath expression An Xpath expression that
will be evaluated and stored
in the external Property
Handler. If omitted, the
value is determined from the
contents of the
<xpl:propput> element.

Example

<xpl:propput uri ="xyz:city" select =" 'Durham' "/>


See also: xpl:propget
Copyright © 2002 TIBCO Software Inc. All Rights Reserved.
xpl:propget
Description
The xpl:propget element is used to retrieve the value of a variable (specified via a universal resource identifier) from
a location that is external to the XPL script variable store. This provides access to variables and values that have a
lifetime greater than that of the script. It may also be used to communicate with external modules.
Attributes
Name Occurrence Value Meaning
name required QName The name of the variable
internal to the script.
uri required string, Universal Resource The universal resource
Identifier identifier of the variable
external to the script.

See also: xpl:propput


Copyright © 2002 TIBCO Software Inc. All Rights Reserved.
xpl:assert
Description
The xpl:assert element combines the xpl:if element and the xpl:error element into one statement. The error event is
fired if the boolean expression is false.
Attributes
Name Occurrence Value Meaning
test required XPath expression The Boolean condition to be
tested.

code optional string, user defined Passed through to the error


handler.
context optional XPath Expression An XPath expression that is
evaluated to give the error
context. If omitted, the value
is set to be the current XPath
Context node. (See Notes
below.)

Notes
The context will report the first matching node if multiple nodes are selected by the XPath expression.
Example

<xpl:assert test ="not (count (xyz:Link)>0" code="123")'Error'</xpl:assert>


See also: xpl:report
Copyright © 2002 TIBCO Software Inc. All Rights Reserved.
xpl:report
Description
The xpl:report element combines the xpl:if element and the xpl:error element into one statement. The error event is
fired if the boolean expression is true.
Attributes
Name Occurrence Value Meaning
test optional XPath expression The Boolean condition to be
tested.

code optional string, user defined Passed through to the error


handler.

context optional XPath Expression An XPath expression that is


evaluated to give the error
context. If omitted, the value
is set to be the current XPath
Context node. (See Notes
below.)

Notes
The context will report the first matching node if multiple nodes are selected by the XPath expression.
Example

<xpl:report test ="not (count (xyz:Link)>0" code="123")'Error'</xpl:report>


See also: xpl:assert
Copyright © 2002 TIBCO Software Inc. All Rights Reserved.
XPath Extensions Overview
The XML Script Engine architecture provides for the seamless integration of custom language elements
into the script.

Copyright © 2002 TIBCO Software Inc. All Rights Reserved.


XPath Customization Steps
1. Create a java class that implements the XML XPath function.
The following code sample is taken from the samples that are distributed with the XML Script Engine.
import java.util.HashMap;

public class BicCode


{
public BicCode()
{
}

static HashMap bicCodeMap = new HashMap();

static
{
bicCodeMap.put("9SABAN00XXX", "Wachovia");
bicCodeMap.put("9SABAN00YYY", "Midland");
bicCodeMap.put("9SABAN00ZZZ", "Lloyds");
}

static public boolean isValid(String bicCode)


{
return bicCodeMap.containsKey(bicCode);
}

static public String getName(String bicCode)


{
return (String)bicCodeMap.get(bicCode);
}
}
2. Compile the .java file into a class or package.
3. Declare the XML script XPath extension in your script.
The XML script XPath function extension is declared using the xpl:extendXPath element. Note that the
prefix specified must refer to a valid namespace within the XML script.
<xpl:extendXPath prefix="bicCode" lang="javaclass" src="BicCode"/>
4. Use the XML XPath function extension.
The custom XPath function extension is now available within an XML script as a seamless extension to
the XPath language. It does, of course exist in the namespace identified by the prefix and so would be
used as follows:
<xpl:if test="not(bicCode:isValid($bicCode))">
<xpl:error>concat('The bank code ',$bicCode,' is not valid.')
</xpl:error></xpl:if>
Copyright © 2002 TIBCO Software Inc. All Rights Reserved.
Schema Adjunct Framework
Overview
XML Extended Validator uses an implementation of the TIBCO Extensibility Schema Adjunct
Framework. (This framework is more general than this particular usage would suggest where features
have been omitted.) The following description is intended to provide enough information for a
developer to successfully use all the features of the validator.
The adjunct is used by the XML Extended Validator to process selected parts of the incoming XML
document. For each node selected from the document, the adjunct provides data that may be used by a
processor.
An adjunct uses the namespace http://www.extensibility.com/namespaces/saf. The body of an adjunct is
defined as follows.
<?xml version="1.0"?>
<saf:schemaadjunct target=”acme/com/namespaces/accountList”
xmlns:saf=”http://www.extensibility.com/namespaces/saf”>
<!--more adjunct elements here-->
</saf:schema-adjunct>

Node Selection
Nodes are selected from an incoming document using XPath expressions. Suppose that the incoming
XML document looks like this:
<?xml version = "1.0" encoding = "UTF-8"?>
<acme:accountList xmlns:acme="acmeBank" checkSum="10000">
<acme:accountInfo>
<acme:BankName>Lloyds</acme:BankName>
<acme:ContactName>
<acme:FirstName>Joe</acme:FirstName>
<acme:LastName>Bloggs</acme:LastName>
</acme:ContactName>
<acme:bicCode>99999999BAD</acme:bicCode>
<acme:amtValue>4000</acme:amtValue>
<acme:currency curCode = "GBP"/>
</acme:accountInfo>
</acme:accountList>
If the accountInfo element is to be a focus of validation then it should be selected in the adjunct as
follows:
<?xml version="1.0"?>
<saf:schema-adjunct
target="acme/com/namespaces/accountList"
xmlns:saf="see example for correct Schema Adjunct Framework namespace"
xmlns:xyz="acmeBank">

<saf:element context="/xyz:accountList/xyz:accountInfo">

<!--adjunct processor data goes here-->

</saf:element>
</saf:schema-adjunct>
Note how the XPath expression specified by the context attribute has aliased the acmeBank namespace.
Node Processing
The node selected becomes the current node for an appropriate processor. For the XML Extended
Validator, the processor is implemented using the TIBCO Extensibility XML Script Engine. The script
elements in the following example may be identified by the xpl prefix.
<saf:element context="/xyz:accountList/xyz:accountInfo">
<xpl:script xmlns:xpl="See example for correct XML Script Engine namespace">
<xpl:function name="main">

<!-- Provide information for auditing purposes. -->


<xpl:variable name="firstName" select="string(xyz:ContactName/xyz:FirstName/text())"/>
<xpl:variable name="lastName" select="string(xyz:ContactName/xyz:LastName/text())"/>
<xpl:variable name="fullName" select="concat($firstName,' ',$lastName)"/>
<xpl:info>concat('Processing account information for ', $fullName, '...')</xpl:info>

<!-- Syntax checking -->


<xpl:if test="not(count(xyz:bicCode) &gt; 0)">
<xpl:error>'bicCode element is not present.'</xpl:error>
</xpl:if>
<xpl:if test="not(xyz:currency/@curCode)">
<xpl:error>'The curCode attribute is missing.'</xpl:error>
</xpl:if>
</xpl:function>
</xpl/script>
</saf:element>
The following sample selects the accountList document element and verifies the checksum.
<saf:element context="/xyz:accountList">
<xpl:function name="main">
<xpl:variable name="calculatedSum" select="sum(xyz:accountInfo/xyz:amtValue/text())"/>
<xpl:if test="not($calculatedSum = @checkSum)"> <xpl:error>concat('Calculated sum (',
$calculatedSum, ') does not match attribute checkSum (', @checkSum, ').')</xpl:error> </xpl:if>
</xpl:function>
</saf:element>
Copyright © 2002 TIBCO Software Inc. All Rights Reserved.
Element Extensions Overview
The XML Script Engine architecture provides for the seamless integration of custom language elements
into the script.

Copyright © 2002 TIBCO Software Inc. All Rights Reserved.


Element Customization Steps
1. Create a java class that implements the XML script element.
The following code sample is taken from the samples that are distributed with the XML Script Engine.
import com.tibco.xml.xmlscript.*;
import org.w3c.dom.*;

public class FooElement implements XMLScriptElement


{
/**
* Declared in XMLScriptElement
*/ public void execute(Element element,
XMLScriptEngine engine,
XMLScriptContext context,
XMLScriptSite site)
{
System.out.println("FooElement.execute()");
}
}
2. Compile the .java file into a class or package.
3. Declare the XML script element extension in your script.
The XML script language extension is declared using the xpl:extendXLang element. Note that the prefix
specified must refer to a valid namespace within the XML script.
<xpl:extendXLang prefix="acme" name="foo" lang="javaclass" src="FooElement"/>
4. Use the XML script element.
The custom language extension is now available within an XML script as a seamless extension to the
script language. It does, of course exist in the namespace identified by the prefix and so would be used
as follows:
<acme:foo/>
Copyright © 2002 TIBCO Software Inc. All Rights Reserved.
XPL Schema
<?xml version = "1.0" encoding = "UTF-8"?>
<!--Generated by Turbo XML 2.2.1.147. Conforms to w3c http://www.w3.org/2001/XMLSchema-->
<xsd:schema xmlns = "http://www.tibco.com/namespaces/xpl"
targetNamespace = "http://www.tibco.com/namespaces/xpl"
xmlns:xsd = "http://www.w3.org/2001/XMLSchema"
>
<xsd:import namespace = "http://www.w3.org/XML/1998/namespace"/>
<!-- definition of simple types -->

<xsd:simpleType name = "XPathExpression">


<xsd:restriction base = "xsd:normalizedString"/>
</xsd:simpleType>

<!-- definition of element groups -->

<xsd:element name = "script">


<xsd:complexType>
<xsd:choice minOccurs = "0" maxOccurs = "unbounded">
<xsd:element ref = "extendXLang"/>
<xsd:element ref = "extendXPath"/>
<xsd:element ref = "function"/>
<xsd:element ref = "using"/>
</xsd:choice>
</xsd:complexType>
<xsd:key name = "functionName">
<xsd:selector xpath = "function"/>
<xsd:field xpath = "@name"/>
</xsd:key>
</xsd:element>
<xsd:element name = "extendXPath">
<xsd:complexType>
<xsd:attribute name = "prefix" use = "required" type = "xsd:string"/>
<xsd:attribute name = "src" use = "required" type = "xsd:string"/>
<xsd:attribute name = "lang" use = "required">
<xsd:simpleType>
<xsd:restriction base = "xsd:NMTOKEN">
<xsd:enumeration value = "javaclass"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name = "if">
<xsd:complexType>
<xsd:choice minOccurs = "0" maxOccurs = "unbounded">
<xsd:element ref = "for-each"/>
<xsd:element ref = "if"/>
<xsd:element ref = "choose"/>
<xsd:element ref = "while"/>
<xsd:element ref = "variable"/>
<xsd:element ref = "document"/>
<xsd:element ref = "using"/>
<xsd:element ref = "call-function"/>
<xsd:element ref = "print"/>
<xsd:element ref = "info"/>
<xsd:element ref = "warning"/>
<xsd:element ref = "error"/>
</xsd:choice>
<xsd:attribute name = "test" use = "required" type = "XPathExpression"/>
</xsd:complexType>
</xsd:element>
<xsd:element name = "function">
<xsd:complexType>
<xsd:choice minOccurs = "0" maxOccurs = "unbounded">
<xsd:element ref = "for-each"/>
<xsd:element ref = "if"/>
<xsd:element ref = "choose"/>
<xsd:element ref = "while"/>
<xsd:element ref = "variable"/>
<xsd:element ref = "document"/>
<xsd:element ref = "using"/>
<xsd:element ref = "call-function"/>
<xsd:element ref = "print"/>
<xsd:element ref = "info"/>
<xsd:element ref = "warning"/>
<xsd:element ref = "error"/>
</xsd:choice>
<xsd:attribute name = "name" use = "required" type = "xsd:string"/>
</xsd:complexType>
</xsd:element>
<xsd:element name = "while">
<xsd:complexType>
<xsd:choice minOccurs = "0" maxOccurs = "unbounded">
<xsd:element ref = "for-each"/>
<xsd:element ref = "if"/>
<xsd:element ref = "choose"/>
<xsd:element ref = "while"/>
<xsd:element ref = "variable"/>
<xsd:element ref = "document"/>
<xsd:element ref = "using"/>
<xsd:element ref = "call-function"/>
<xsd:element ref = "print"/>
<xsd:element ref = "info"/>
<xsd:element ref = "warning"/>
<xsd:element ref = "error"/>
</xsd:choice>
<xsd:attribute name = "test" use = "required" type = "XPathExpression"/>
</xsd:complexType>
</xsd:element>
<xsd:complexType name = "variableType">
<xsd:simpleContent>
<xsd:extension base = "XPathExpression">
<xsd:attribute name = "name" use = "required" type = "xsd:QName"/>
<xsd:attribute name = "select" use = "optional" type = "XPathExpression"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:element name = "variable" type = "variableType"/>
<xsd:element name = "choose">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref = "when" maxOccurs = "unbounded"/>
<xsd:element ref = "otherwise" minOccurs = "0"/>
</xsd:sequence>
<xsd:attribute ref = "xml:space" use = "optional"/>
</xsd:complexType>
</xsd:element>
<xsd:element name = "when">
<xsd:complexType>
<xsd:choice minOccurs = "0" maxOccurs = "unbounded">
<xsd:element ref = "for-each"/>
<xsd:element ref = "if"/>
<xsd:element ref = "choose"/>
<xsd:element ref = "while"/>
<xsd:element ref = "variable"/>
<xsd:element ref = "document"/>
<xsd:element ref = "using"/>
<xsd:element ref = "call-function"/>
<xsd:element ref = "print"/>
<xsd:element ref = "info"/>
<xsd:element ref = "warning"/>
<xsd:element ref = "error"/>
</xsd:choice>
<xsd:attribute name = "test" use = "required" type = "xsd:normalizedString"/>
<xsd:attribute ref = "xml:space" use = "optional"/>
</xsd:complexType>
</xsd:element>
<xsd:element name = "otherwise">
<xsd:complexType>
<xsd:choice minOccurs = "0" maxOccurs = "unbounded">
<xsd:element ref = "for-each"/>
<xsd:element ref = "if"/>
<xsd:element ref = "choose"/>
<xsd:element ref = "while"/>
<xsd:element ref = "variable"/>
<xsd:element ref = "document"/>
<xsd:element ref = "using"/>
<xsd:element ref = "call-function"/>
<xsd:element ref = "print"/>
<xsd:element ref = "info"/>
<xsd:element ref = "warning"/>
<xsd:element ref = "error"/>
</xsd:choice>
<xsd:attribute ref = "xml:space" use = "optional"/>
</xsd:complexType>
</xsd:element>
<xsd:complexType name = "remarkType">
<xsd:simpleContent>
<xsd:extension base = "XPathExpression">
<xsd:attribute name = "code" use = "optional" type = "xsd:string"/>
<xsd:attribute name = "context" use = "optional" type = "XPathExpression"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:element name = "error" type = "remarkType"/>
<xsd:element name = "warning" type = "remarkType"/>
<xsd:element name = "info" type = "remarkType"/>
<xsd:element name = "print" type = "XPathExpression"/>
<xsd:element name = "call-function">
<xsd:complexType>
<xsd:sequence>
<xsd:element name = "input" minOccurs = "0" maxOccurs = "unbounded">
<xsd:complexType>
<xsd:attribute name = "select" use = "required" type = "XPathExpression"/>
<xsd:attribute name = "name" use = "required" type = "xsd:QName"/>
</xsd:complexType>
</xsd:element>
<xsd:element name = "output" minOccurs = "0" maxOccurs = "unbounded">
<xsd:complexType>
<xsd:attribute name = "select" use = "required" type = "XPathExpression"/>
<xsd:attribute name = "name" use = "required" type = "xsd:QName"/>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name = "name" use = "required" type = "xsd:string"/>
</xsd:complexType>
</xsd:element>
<xsd:element name = "document">
<xsd:complexType>
<xsd:attribute name = "name" use = "required" type = "xsd:QName"/>
<xsd:attribute name = "url" type = "xsd:string"/>
<xsd:attribute name = "root" type = "xsd:QName"/>
</xsd:complexType>
</xsd:element>
<xsd:element name = "using">
<xsd:complexType>
<xsd:attribute name = "name" use = "required" type = "xsd:QName"/>
</xsd:complexType>
</xsd:element>
<xsd:element name = "extendXLang">
<xsd:complexType>
<xsd:attribute name = "prefix" use = "required" type = "xsd:string"/>
<xsd:attribute name = "name" use = "required" type = "xsd:string"/>
<xsd:attribute name = "lang" use = "required">
<xsd:simpleType>
<xsd:restriction base = "xsd:NMTOKEN">
<xsd:enumeration value = "javaclass"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name = "src" use = "required" type = "xsd:string"/>
</xsd:complexType>
</xsd:element>
<xsd:element name = "mutator">
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base = "XPathExpression">
<xsd:attribute name = "select" type = "XPathExpression"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
<xsd:element name = "context">
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base = "XPathExpression">
<xsd:attribute name = "select" type = "XPathExpression"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
<xsd:element name = "moveto">
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base = "XPathExpression">
<xsd:attribute name = "select" type = "XPathExpression"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
<xsd:element name = "mkelem">
<xsd:complexType>
<xsd:attribute name = "name" use = "required" type = "xsd:QName"/>
<xsd:attribute name = "before" type = "XPathExpression"/>
</xsd:complexType>
</xsd:element>
<xsd:element name = "mkattr">
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base = "xsd:string">
<xsd:attribute name = "name" use = "required" type = "xsd:string"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
<xsd:element name = "mktext" type = "xsd:string"/>
<xsd:element name = "remove">
<xsd:complexType>
<xsd:attribute name = "select" use = "required" type = "XPathExpression"/>
</xsd:complexType>
</xsd:element>
<xsd:element name = "for-each">
<xsd:complexType>
<xsd:attribute name = "select" use = "required" type = "XPathExpression"/>
</xsd:complexType>
</xsd:element>
<xsd:element name = "output">
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base = "xsd:string">
<xsd:attribute name = "select" type = "XPathExpression"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
</xsd:schema>
Copyright © 2002 TIBCO Software Inc. All Rights Reserved.
XML Schema :
http://www.tibco.com/namespaces/xpl
Schema
Comments:
Imports namespace:http://www.w3.org/XML/1998/namespace
Processing
Instructions
Schema has: 28element definitions, 0 global attribute definitions, 32 element attribute
definitions, 1 datatype definitions.
Possible root < context >
elements: < mkattr >
< mkelem > < mktext > < moveto >
< mutator > < output >
< remove > < script >

Element list
Element call-function

diagram

description
attributes select name select name name
defines
call-function, input * , output *
locally
uses Does not reference other elements.

used by
content sequence
Attribute Datatype Use Values Default Comments
select XPathExpression required
name xsd:QName required
select XPathExpression required
name xsd:QName required
name xsd:string required

source - < xsd:element name =" call-function " >


- < xsd:complexType >
- < xsd:sequence >
- < xsd:element name =" input " minOccurs =" 0 " maxOccurs ="
unbounded " >
- < xsd:complexType >
< xsd:attribute name =" select " use =" required " type ="
XPathExpression " />
< xsd:attribute name =" name " use =" required " type =" xsd:QName "
/>
</ xsd:complexType >
</ xsd:element >
- < xsd:element name =" output " minOccurs =" 0 " maxOccurs ="
unbounded " >
- < xsd:complexType >
< xsd:attribute name =" select " use =" required " type ="
XPathExpression " />
< xsd:attribute name =" name " use =" required " type =" xsd:QName "
/>
</ xsd:complexType >
</ xsd:element >
</ xsd:sequence >
< xsd:attribute name =" name " use =" required " type =" xsd:string " />
</ xsd:complexType >
</ xsd:element >

Element choose
diagram

description
attributes
uses when (0, unbounded) , otherwise ?

used by
content sequence

Attribute Datatype Use Values Default Comments


optional

source - < xsd:element name =" choose " >


- < xsd:complexType >
- < xsd:sequence >
< xsd:element ref =" when " maxOccurs =" unbounded " />
< xsd:element ref =" otherwise " minOccurs =" 0 " />
</ xsd:sequence >
< xsd:attribute ref =" xml:space " use =" optional " />
</ xsd:complexType >
</ xsd:element >

Element context

diagram

description
attributes select
uses Does not reference other elements.

used by Not used by other elements. Possible root element.


substitution context
hierarchy
content sequence (default)
Attribute Datatype Use Values Default Comments
select XPathExpression optional
(default)

source - < xsd:element name =" context " >


- < xsd:complexType >
- < xsd:simpleContent >
- < xsd:extension base =" XPathExpression " >
< xsd:attribute name =" select " type =" XPathExpression " />
</ xsd:extension >
</ xsd:simpleContent >
</ xsd:complexType >
</ xsd:element >

Element document

diagram

description
attributes name url root
uses Does not reference other elements.

used by
content sequence (default)

Attribute Datatype Use Values Default Comments


name xsd:QName required
url xsd:stringoptional
(default)
root xsd:QName optional
(default)

source - < xsd:element name =" document " >


- < xsd:complexType >
< xsd:attribute name =" name " use =" required " type =" xsd:QName "
/>
< xsd:attribute name =" url " type =" xsd:string " />
< xsd:attribute name =" root " type =" xsd:QName " />
</ xsd:complexType >
</ xsd:element >

Element error
diagram

description
attributes
uses Does not reference other elements.

used by
content sequence (default)
type remarkType

source < xsd:element name =" error " type =" remarkType " />

Element extendXLang

diagram

description
attributes prefix name lang src
uses Does not reference other elements.

used by
substitution extendXLang
hierarchy
content sequence (default)

Attribute Datatype Use Values Default Comments


prefix xsd:string required
name xsd:string required
lang xsd:NMTOKEN required possible
values:
javaclass
src xsd:string required
source - < xsd:element name =" extendXLang " >
- < xsd:complexType >
< xsd:attribute name =" prefix " use =" required " type =" xsd:string " />
< xsd:attribute name =" name " use =" required " type =" xsd:string " />
- < xsd:attribute name =" lang " use =" required " >
- < xsd:simpleType >
- < xsd:restriction base =" xsd:NMTOKEN " >
< xsd:enumeration value =" javaclass " />
</ xsd:restriction >
</ xsd:simpleType >
</ xsd:attribute >
< xsd:attribute name =" src " use =" required " type =" xsd:string " />
</ xsd:complexType >
</ xsd:element >

Element extendXPath

diagram

description
attributes prefix src lang
uses Does not reference other elements.

used by
substitution extendXPath
hierarchy
content sequence (default)

Attribute Datatype Use Values Default Comments


prefix xsd:string required
src xsd:string required
lang xsd:NMTOKEN required possible
values:
javaclass
source - < xsd:element name =" extendXPath " >
- < xsd:complexType >
< xsd:attribute name =" prefix " use =" required " type =" xsd:string " />
< xsd:attribute name =" src " use =" required " type =" xsd:string " />
- < xsd:attribute name =" lang " use =" required " >
- < xsd:simpleType >
- < xsd:restriction base =" xsd:NMTOKEN " >
< xsd:enumeration value =" javaclass " />
</ xsd:restriction >
</ xsd:simpleType >
</ xsd:attribute >
</ xsd:complexType >
</ xsd:element >

Element for-each

diagram

description
attributes select
uses Does not reference other elements.

used by
content sequence (default)

Attribute Datatype Use Values Default Comments


select XPathExpression required

source - < xsd:element name =" for-each " >


- < xsd:complexType >
< xsd:attribute name =" select " use =" required " type ="
XPathExpression " />
</ xsd:complexType >
</ xsd:element >

Element function
diagram

description
attributes name
uses for-each, if, choose, while, variable, document, using, call-function, print,
info, warning, error

used by
content choice

Attribute Datatype Use Values Default Comments


name xsd:string required
source - < xsd:element name =" function " >
- < xsd:complexType >
- < xsd:choice minOccurs =" 0 " maxOccurs =" unbounded " >
< xsd:element ref =" for-each " />
< xsd:element ref =" if " />
< xsd:element ref =" choose " />
< xsd:element ref =" while " />
< xsd:element ref =" variable " />
< xsd:element ref =" document " />
< xsd:element ref =" using " />
< xsd:element ref =" call-function " />
< xsd:element ref =" print " />
< xsd:element ref =" info " />
< xsd:element ref =" warning " />
< xsd:element ref =" error " />
</ xsd:choice >
< xsd:attribute name =" name " use =" required " type =" xsd:string " />
</ xsd:complexType >
</ xsd:element >

Element if

diagram
description
attributes test
uses for-each, if, choose, while, variable, document, using, call-function, print,
info, warning, error

used by
content choice

Attribute Datatype Use Values Default Comments


test XPathExpression required
source - < xsd:element name =" if " >
- < xsd:complexType >
- < xsd:choice minOccurs =" 0 " maxOccurs =" unbounded " >
< xsd:element ref =" for-each " />
< xsd:element ref =" if " />
< xsd:element ref =" choose " />
< xsd:element ref =" while " />
< xsd:element ref =" variable " />
< xsd:element ref =" document " />
< xsd:element ref =" using " />
< xsd:element ref =" call-function " />
< xsd:element ref =" print " />
< xsd:element ref =" info " />
< xsd:element ref =" warning " />
< xsd:element ref =" error " />
</ xsd:choice >
< xsd:attribute name =" test " use =" required " type ="
XPathExpression " />
</ xsd:complexType >
</ xsd:element >

Element info

diagram

description
attributes
uses Does not reference other elements.

used by
content sequence (default)
type remarkType

source < xsd:element name =" info " type =" remarkType " />

Element mkattr
diagram

description
attributes name
uses Does not reference other elements.

used by Not used by other elements. Possible root element.


substitution mkattr
hierarchy
content sequence (default)

Attribute Datatype Use Values Default Comments


name xsd:string required

source - < xsd:element name =" mkattr " >


- < xsd:complexType >
- < xsd:simpleContent >
- < xsd:extension base =" xsd:string " >
< xsd:attribute name =" name " use =" required " type =" xsd:string " />
</ xsd:extension >
</ xsd:simpleContent >
</ xsd:complexType >
</ xsd:element >

Element mkelem

diagram

description
attributes name before
uses Does not reference other elements.

used by Not used by other elements. Possible root element.


content sequence

Attribute Datatype Use Values Default Comments


name xsd:QName required
before XPathExpression optional
(default)
source - < xsd:element name =" mkelem " >
- < xsd:complexType >
< xsd:sequence />
< xsd:attribute name =" name " use =" required " type =" xsd:QName "
/>
< xsd:attribute name =" before " type =" XPathExpression " />
</ xsd:complexType >
</ xsd:element >

Element mktext

diagram

description
attributes
uses Does not reference other elements.

used by Not used by other elements. Possible root element.


content sequence (default)
type xsd:string

source < xsd:element name =" mktext " type =" xsd:string " />

Element moveto

diagram

description
attributes select
uses Does not reference other elements.

used by Not used by other elements. Possible root element.


substitution moveto
hierarchy
content sequence (default)

Attribute Datatype Use Values Default Comments


select XPathExpression optional
(default)
source - < xsd:element name =" moveto " >
- < xsd:complexType >
- < xsd:simpleContent >
- < xsd:extension base =" XPathExpression " >
< xsd:attribute name =" select " type =" XPathExpression " />
</ xsd:extension >
</ xsd:simpleContent >
</ xsd:complexType >
</ xsd:element >

Element mutator

diagram

description
attributes select
uses Does not reference other elements.

used by Not used by other elements. Possible root element.


substitution mutator
hierarchy
content sequence (default)

Attribute Datatype Use Values Default Comments


select XPathExpression optional
(default)

source - < xsd:element name =" mutator " >


- < xsd:complexType >
- < xsd:simpleContent >
- < xsd:extension base =" XPathExpression " >
< xsd:attribute name =" select " type =" XPathExpression " />
</ xsd:extension >
</ xsd:simpleContent >
</ xsd:complexType >
</ xsd:element >

Element otherwise
diagram

description
attributes
uses for-each, if, choose, while, variable, document, using, call-function, print,
info, warning, error

used by
content choice

Attribute Datatype Use Values Default Comments


optional
source - < xsd:element name =" otherwise " >
- < xsd:complexType >
- < xsd:choice minOccurs =" 0 " maxOccurs =" unbounded " >
< xsd:element ref =" for-each " />
< xsd:element ref =" if " />
< xsd:element ref =" choose " />
< xsd:element ref =" while " />
< xsd:element ref =" variable " />
< xsd:element ref =" document " />
< xsd:element ref =" using " />
< xsd:element ref =" call-function " />
< xsd:element ref =" print " />
< xsd:element ref =" info " />
< xsd:element ref =" warning " />
< xsd:element ref =" error " />
</ xsd:choice >
< xsd:attribute ref =" xml:space " use =" optional " />
</ xsd:complexType >
</ xsd:element >

Element output

diagram

description
attributes select
uses Does not reference other elements.

used by Not used by other elements. Possible root element.


substitution output
hierarchy
content sequence (default)

Attribute Datatype Use Values Default Comments


select XPathExpression optional
(default)
source - < xsd:element name =" output " >
- < xsd:complexType >
- < xsd:simpleContent >
- < xsd:extension base =" xsd:string " >
< xsd:attribute name =" select " type =" XPathExpression " />
</ xsd:extension >
</ xsd:simpleContent >
</ xsd:complexType >
</ xsd:element >

Element print

diagram

description
attributes
uses Does not reference other elements.

used by
content sequence (default)
type XPathExpression

source < xsd:element name =" print " type =" XPathExpression " />

Complex Type remarkType derived by extension from XPathExpression

diagram

description
attributes code context
uses Does not reference other elements.

used by Not used by other elements. Probably an orphan.


substitution remarkType
hierarchy
content simple content

Attribute Datatype Use Values Default Comments


code xsd:string optional
context XPathExpression optional
source - < xsd:complexType name =" remarkType " >
- < xsd:simpleContent >
- < xsd:extension base =" XPathExpression " >
< xsd:attribute name =" code " use =" optional " type =" xsd:string " />
< xsd:attribute name =" context " use =" optional " type ="
XPathExpression " />
</ xsd:extension >
</ xsd:simpleContent >
</ xsd:complexType >

Element remove

diagram

description
attributes select
uses Does not reference other elements.

used by Not used by other elements. Possible root element.


content sequence (default)

Attribute Datatype Use Values Default Comments


select XPathExpression required

source - < xsd:element name =" remove " >


- < xsd:complexType >
< xsd:attribute name =" select " use =" required " type ="
XPathExpression " />
</ xsd:complexType >
</ xsd:element >

Element script

diagram

description
attributes
uses extendXLang, extendXPath, function, using

used by Not used by other elements. Possible root element.


content choice

Identity
Name Selector Fields
Constraints
xsd:key functionName

source - < xsd:element name =" script " >


- < xsd:complexType >
- < xsd:choice minOccurs =" 0 " maxOccurs =" unbounded " >
< xsd:element ref =" extendXLang " />
< xsd:element ref =" extendXPath " />
< xsd:element ref =" function " />
< xsd:element ref =" using " />
</ xsd:choice >
</ xsd:complexType >
- < xsd:key name =" functionName " >
< xsd:selector xpath =" function " />
< xsd:field xpath =" @name " />
</ xsd:key >
</ xsd:element >

Element using

diagram

description
attributes name
uses Does not reference other elements.

used by
content sequence (default)

Attribute Datatype Use Values Default Comments


name xsd:QName required
source - < xsd:element name =" using " >
- < xsd:complexType >
< xsd:attribute name =" name " use =" required " type =" xsd:QName "
/>
</ xsd:complexType >
</ xsd:element >

Element variable

diagram

description
attributes
uses Does not reference other elements.

used by
content sequence (default)
type variableType

source < xsd:element name =" variable " type =" variableType " />

Complex Type variableType derived by extension from XPathExpression

diagram

description
attributes name select
uses Does not reference other elements.

used by Not used by other elements. Probably an orphan.


substitution variableType
hierarchy
content simple content

Attribute Datatype Use Values Default Comments


name xsd:QName required
select XPathExpression optional
source - < xsd:complexType name =" variableType " >
- < xsd:simpleContent >
- < xsd:extension base =" XPathExpression " >
< xsd:attribute name =" name " use =" required " type =" xsd:QName "
/>
< xsd:attribute name =" select " use =" optional " type ="
XPathExpression " />
</ xsd:extension >
</ xsd:simpleContent >
</ xsd:complexType >

Element warning

diagram

description
attributes
uses Does not reference other elements.

used by
content sequence (default)
type remarkType

source < xsd:element name =" warning " type =" remarkType " />

Element when

diagram
description
attributes test
uses for-each, if, choose, while, variable, document, using, call-function, print,
info, warning, error

used by
content choice

Attribute Datatype Use Values Default Comments


test xsd:normalizedString required
optional
source - < xsd:element name =" when " >
- < xsd:complexType >
- < xsd:choice minOccurs =" 0 " maxOccurs =" unbounded " >
< xsd:element ref =" for-each " />
< xsd:element ref =" if " />
< xsd:element ref =" choose " />
< xsd:element ref =" while " />
< xsd:element ref =" variable " />
< xsd:element ref =" document " />
< xsd:element ref =" using " />
< xsd:element ref =" call-function " />
< xsd:element ref =" print " />
< xsd:element ref =" info " />
< xsd:element ref =" warning " />
< xsd:element ref =" error " />
</ xsd:choice >
< xsd:attribute name =" test " use =" required " type ="
xsd:normalizedString " />
< xsd:attribute ref =" xml:space " use =" optional " />
</ xsd:complexType >
</ xsd:element >

Element while

diagram
description
attributes test
uses for-each, if, choose, while, variable, document, using, call-function, print,
info, warning, error

used by
content choice

Attribute Datatype Use Values Default Comments


test XPathExpression required
source - < xsd:element name =" while " >
- < xsd:complexType >
- < xsd:choice minOccurs =" 0 " maxOccurs =" unbounded " >
< xsd:element ref =" for-each " />
< xsd:element ref =" if " />
< xsd:element ref =" choose " />
< xsd:element ref =" while " />
< xsd:element ref =" variable " />
< xsd:element ref =" document " />
< xsd:element ref =" using " />
< xsd:element ref =" call-function " />
< xsd:element ref =" print " />
< xsd:element ref =" info " />
< xsd:element ref =" warning " />
< xsd:element ref =" error " />
</ xsd:choice >
< xsd:attribute name =" test " use =" required " type ="
XPathExpression " />
</ xsd:complexType >
</ xsd:element >

DataType definitions
Datatype XPathExpression defined by restriction

dt base xsd:normalizedString

http://www.tibco.com/namespaces/xpl Original Schema


Source
- < xsd:schema targetNamespace =" http://www.tibco.com/namespaces/xpl " >
< xsd:import namespace =" http://www.w3.org/XML/1998/namespace " />
- <!--
definition of simple types
-->
- < xsd:simpleType name =" XPathExpression " >
< xsd:restriction base =" xsd:normalizedString " />
</ xsd:simpleType >
- <!--
definition of element groups
-->
- < xsd:element name =" script " >
- < xsd:complexType >
- < xsd:choice minOccurs =" 0 " maxOccurs =" unbounded " >
< xsd:element ref =" extendXLang " />
< xsd:element ref =" extendXPath " />
< xsd:element ref =" function " />
< xsd:element ref =" using " />
</ xsd:choice >
</ xsd:complexType >
- < xsd:key name =" functionName " >
< xsd:selector xpath =" function " />
< xsd:field xpath =" @name " />
</ xsd:key >
</ xsd:element >
- < xsd:element name =" extendXPath " >
- < xsd:complexType >
< xsd:attribute name =" prefix " use =" required " type =" xsd:string " />
< xsd:attribute name =" src " use =" required " type =" xsd:string " />
- < xsd:attribute name =" lang " use =" required " >
- < xsd:simpleType >
- < xsd:restriction base =" xsd:NMTOKEN " >
< xsd:enumeration value =" javaclass " />
</ xsd:restriction >
</ xsd:simpleType >
</ xsd:attribute >
</ xsd:complexType >
</ xsd:element >
- < xsd:element name =" if " >
- < xsd:complexType >
- < xsd:choice minOccurs =" 0 " maxOccurs =" unbounded " >
< xsd:element ref =" for-each " />
< xsd:element ref =" if " />
< xsd:element ref =" choose " />
< xsd:element ref =" while " />
< xsd:element ref =" variable " />
< xsd:element ref =" document " />
< xsd:element ref =" using " />
< xsd:element ref =" call-function " />
< xsd:element ref =" print " />
< xsd:element ref =" info " />
< xsd:element ref =" warning " />
< xsd:element ref =" error " />
</ xsd:choice >
< xsd:attribute name =" test " use =" required " type =" XPathExpression " />
</ xsd:complexType >
</ xsd:element >
- < xsd:element name =" function " >
- < xsd:complexType >
- < xsd:choice minOccurs =" 0 " maxOccurs =" unbounded " >
< xsd:element ref =" for-each " />
< xsd:element ref =" if " />
< xsd:element ref =" choose " />
< xsd:element ref =" while " />
< xsd:element ref =" variable " />
< xsd:element ref =" document " />
< xsd:element ref =" using " />
< xsd:element ref =" call-function " />
< xsd:element ref =" print " />
< xsd:element ref =" info " />
< xsd:element ref =" warning " />
< xsd:element ref =" error " />
</ xsd:choice >
< xsd:attribute name =" name " use =" required " type =" xsd:string " />
</ xsd:complexType >
</ xsd:element >
- < xsd:element name =" while " >
- < xsd:complexType >
- < xsd:choice minOccurs =" 0 " maxOccurs =" unbounded " >
< xsd:element ref =" for-each " />
< xsd:element ref =" if " />
< xsd:element ref =" choose " />
< xsd:element ref =" while " />
< xsd:element ref =" variable " />
< xsd:element ref =" document " />
< xsd:element ref =" using " />
< xsd:element ref =" call-function " />
< xsd:element ref =" print " />
< xsd:element ref =" info " />
< xsd:element ref =" warning " />
< xsd:element ref =" error " />
</ xsd:choice >
< xsd:attribute name =" test " use =" required " type =" XPathExpression " />
</ xsd:complexType >
</ xsd:element >
- < xsd:complexType name =" variableType " >
- < xsd:simpleContent >
- < xsd:extension base =" XPathExpression " >
< xsd:attribute name =" name " use =" required " type =" xsd:QName " />
< xsd:attribute name =" select " use =" optional " type =" XPathExpression " />
</ xsd:extension >
</ xsd:simpleContent >
</ xsd:complexType >
< xsd:element name =" variable " type =" variableType " />
- < xsd:element name =" choose " >
- < xsd:complexType >
- < xsd:sequence >
< xsd:element ref =" when " maxOccurs =" unbounded " />
< xsd:element ref =" otherwise " minOccurs =" 0 " />
</ xsd:sequence >
< xsd:attribute ref =" xml:space " use =" optional " />
</ xsd:complexType >
</ xsd:element >
- < xsd:element name =" when " >
- < xsd:complexType >
- < xsd:choice minOccurs =" 0 " maxOccurs =" unbounded " >
< xsd:element ref =" for-each " />
< xsd:element ref =" if " />
< xsd:element ref =" choose " />
< xsd:element ref =" while " />
< xsd:element ref =" variable " />
< xsd:element ref =" document " />
< xsd:element ref =" using " />
< xsd:element ref =" call-function " />
< xsd:element ref =" print " />
< xsd:element ref =" info " />
< xsd:element ref =" warning " />
< xsd:element ref =" error " />
</ xsd:choice >
< xsd:attribute name =" test " use =" required " type =" xsd:normalizedString " />
< xsd:attribute ref =" xml:space " use =" optional " />
</ xsd:complexType >
</ xsd:element >
- < xsd:element name =" otherwise " >
- < xsd:complexType >
- < xsd:choice minOccurs =" 0 " maxOccurs =" unbounded " >
< xsd:element ref =" for-each " />
< xsd:element ref =" if " />
< xsd:element ref =" choose " />
< xsd:element ref =" while " />
< xsd:element ref =" variable " />
< xsd:element ref =" document " />
< xsd:element ref =" using " />
< xsd:element ref =" call-function " />
< xsd:element ref =" print " />
< xsd:element ref =" info " />
< xsd:element ref =" warning " />
< xsd:element ref =" error " />
</ xsd:choice >
< xsd:attribute ref =" xml:space " use =" optional " />
</ xsd:complexType >
</ xsd:element >
- < xsd:complexType name =" remarkType " >
- < xsd:simpleContent >
- < xsd:extension base =" XPathExpression " >
< xsd:attribute name =" code " use =" optional " type =" xsd:string " />
< xsd:attribute name =" context " use =" optional " type =" XPathExpression " />
</ xsd:extension >
</ xsd:simpleContent >
</ xsd:complexType >
< xsd:element name =" error " type =" remarkType " />
< xsd:element name =" warning " type =" remarkType " />
< xsd:element name =" info " type =" remarkType " />
< xsd:element name =" print " type =" XPathExpression " />
- < xsd:element name =" call-function " >
- < xsd:complexType >
- < xsd:sequence >
- < xsd:element name =" input " minOccurs =" 0 " maxOccurs =" unbounded " >
- < xsd:complexType >
< xsd:attribute name =" select " use =" required " type =" XPathExpression " />
< xsd:attribute name =" name " use =" required " type =" xsd:QName " />
</ xsd:complexType >
</ xsd:element >
- < xsd:element name =" output " minOccurs =" 0 " maxOccurs =" unbounded " >
- < xsd:complexType >
< xsd:attribute name =" select " use =" required " type =" XPathExpression " />
< xsd:attribute name =" name " use =" required " type =" xsd:QName " />
</ xsd:complexType >
</ xsd:element >
</ xsd:sequence >
< xsd:attribute name =" name " use =" required " type =" xsd:string " />
</ xsd:complexType >
</ xsd:element >
- < xsd:element name =" document " >
- < xsd:complexType >
< xsd:attribute name =" name " use =" required " type =" xsd:QName " />
< xsd:attribute name =" url " type =" xsd:string " />
< xsd:attribute name =" root " type =" xsd:QName " />
</ xsd:complexType >
</ xsd:element >
- < xsd:element name =" using " >
- < xsd:complexType >
< xsd:attribute name =" name " use =" required " type =" xsd:QName " />
</ xsd:complexType >
</ xsd:element >
- < xsd:element name =" extendXLang " >
- < xsd:complexType >
< xsd:attribute name =" prefix " use =" required " type =" xsd:string " />
< xsd:attribute name =" name " use =" required " type =" xsd:string " />
- < xsd:attribute name =" lang " use =" required " >
- < xsd:simpleType >
- < xsd:restriction base =" xsd:NMTOKEN " >
< xsd:enumeration value =" javaclass " />
</ xsd:restriction >
</ xsd:simpleType >
</ xsd:attribute >
< xsd:attribute name =" src " use =" required " type =" xsd:string " />
</ xsd:complexType >
</ xsd:element >
- < xsd:element name =" mutator " >
- < xsd:complexType >
- < xsd:simpleContent >
- < xsd:extension base =" XPathExpression " >
< xsd:attribute name =" select " type =" XPathExpression " />
</ xsd:extension >
</ xsd:simpleContent >
</ xsd:complexType >
</ xsd:element >
- < xsd:element name =" context " >
- < xsd:complexType >
- < xsd:simpleContent >
- < xsd:extension base =" XPathExpression " >
< xsd:attribute name =" select " type =" XPathExpression " />
</ xsd:extension >
</ xsd:simpleContent >
</ xsd:complexType >
</ xsd:element >
- < xsd:element name =" moveto " >
- < xsd:complexType >
- < xsd:simpleContent >
- < xsd:extension base =" XPathExpression " >
< xsd:attribute name =" select " type =" XPathExpression " />
</ xsd:extension >
</ xsd:simpleContent >
</ xsd:complexType >
</ xsd:element >
- < xsd:element name =" mkelem " >
- < xsd:complexType >
< xsd:sequence />
< xsd:attribute name =" name " use =" required " type =" xsd:QName " />
< xsd:attribute name =" before " type =" XPathExpression " />
</ xsd:complexType >
</ xsd:element >
- < xsd:element name =" mkattr " >
- < xsd:complexType >
- < xsd:simpleContent >
- < xsd:extension base =" xsd:string " >
< xsd:attribute name =" name " use =" required " type =" xsd:string " />
</ xsd:extension >
</ xsd:simpleContent >
</ xsd:complexType >
</ xsd:element >
< xsd:element name =" mktext " type =" xsd:string " />
- < xsd:element name =" remove " >
- < xsd:complexType >
< xsd:attribute name =" select " use =" required " type =" XPathExpression " />
</ xsd:complexType >
</ xsd:element >
- < xsd:element name =" for-each " >
- < xsd:complexType >
< xsd:attribute name =" select " use =" required " type =" XPathExpression " />
</ xsd:complexType >
</ xsd:element >
- < xsd:element name =" output " >
- < xsd:complexType >
- < xsd:simpleContent >
- < xsd:extension base =" xsd:string " >
< xsd:attribute name =" select " type =" XPathExpression " />
</ xsd:extension >
</ xsd:simpleContent >
</ xsd:complexType >
</ xsd:element >
</ xsd:schema >
The Apache Software License, Version 1.1

Copyright (c) 1999 The Apache Software Foundation. All rights


reserved.

Redistribution and use in source and binary forms, with or without


modification, are permitted provided that the following conditions are
met:

1. Redistributions of source code must retain the above copyright


notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright


notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

3. The end-user documentation included with the redistribution, if any,


must include the following acknowledgment:
"This product includes software developed by the Apache Software
Foundation (http://www.apache.org/)."
Alternately, this acknowledgment may appear in the software itself, if
and wherever such third-party acknowledgments normally appear.

4. The names "Xalan", "Xerces" and "Apache Software Foundation"


must not be used to endorse or promote products derived from this
software without prior written permission. For written permission,
please contact apache@apache.org.
5. Products derived from this software may not be called "Apache",
nor may "Apache" appear in their name, without prior written
permission of the Apache Software Foundation.

THIS SOFTWARE IS PROVIDED ‘‘AS IS’’ AND ANY EXPRESSED


OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
===================================================
This software consists of voluntary contributions made by many
individuals on behalf of the Apache Software Foundation and was
originally based on software copyright (c) 1999, Lotus * Development
Corporation., http://www.lotus.com. For more * information on the
Apache Software Foundation, please see * <http://www.apache.org/>.
Sun Microsystems, Inc. Binary Code License Agreement

READ THE TERMS OF THIS AGREEMENT AND ANY PROVIDED


SUPPLEMENTAL LICENSE TERMS (COLLECTIVELY
"AGREEMENT") CAREFULLY BEFORE OPENING THE SOFTWARE
MEDIA PACKAGE. BY OPENING THE SOFTWARE MEDIA
PACKAGE, YOU AGREE TO THE TERMS OF THIS AGREEMENT. IF
YOU ARE ACCESSING THE SOFTWARE ELECTRONICALLY,
INDICATE YOUR ACCEPTANCE OF THESE TERMS BY
SELECTING THE "ACCEPT" BUTTON AT THE END OF THIS
AGREEMENT. IF YOU DO NOT AGREE TO ALL THESE TERMS,
PROMPTLY RETURN THE UNUSED SOFTWARE TO YOUR PLACE
OF PURCHASE FOR A REFUND OR, IF THE SOFTWARE IS
ACCESSED ELECTRONICALLY, SELECT THE "DECLINE" BUTTON
AT THE END OF THIS AGREEMENT.

1. LICENSE TO USE. Sun grants you a non-exclusive and non-transferable


license for the internal use only of the accompanying
software and documentation and any error corrections provided by
Sun (collectively "Software"), by the number of users and the class of
computer hardware for which the corresponding fee has been paid.

2. RESTRICTIONS. Software is confidential and copyrighted. Title to


Software and all associated intellectual property rights is retained by
Sun and/or its licensors. Except as specifically authorized in any
Supplemental License Terms, you may not make copies of Software,
other than a single copy of Software for archival purposes. Unless
enforcement is prohibited by applicable law, you may not modify,
decompile, or reverse engineer Software. You acknowledge that
Software is not designed, licensed or intended for use in the design,
construction, operation or maintenance of any nuclear facility. Sun
disclaims any express or implied warranty of fitness for such uses. No
right, title or interest in or to any trademark, service mark, logo or trade
name of Sun or its licensors is granted under this Agreement.

3. LIMITED WARRANTY. Sun warrants to you that for a period of thirty


(30) days from the date of purchase, as evidenced by a copy of the
receipt, the media on which Software is furnished (if any) will be free
of defects in materials and workmanship under normal use. Except for
the foregoing, Software is provided "AS IS". Your exclusive remedy
and Sun’s entire liability under this limited warranty will be at Sun’s
option to replace Software media or refund the fee paid for Software.

4. DISCLAIMER OF WARRANTY. UNLESS SPECIFIED IN THIS


AGREEMENT, ALL EXPRESS OR IMPLIED CONDITIONS,
REPRESENTATIONS AND WARRANTIES, INCLUDING ANY
IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE OR NON-INFRINGEMENT ARE
DISCLAIMED, EXCEPT TO THE EXTENT THAT THESE
DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.

5. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED


BY LAW, IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE
FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR SPECIAL,
INDIRECT, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE
DAMAGES, HOWEVER CAUSED REGARDLESS OF THE THEORY
OF LIABILITY, ARISING OUT OF OR RELATED TO THE USE OF OR
INABILITY TO USE SOFTWARE, EVEN IF SUN HAS BEEN
ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. In no event
will Sun’s liability to you, whether in contract, tort (including
negligence), or otherwise, exceed the amount paid by you for Software
under this Agreement. The foregoing limitations will apply even if the
above stated warranty fails of its essential purpose.

6. Termination. This Agreement is effective until terminated. You may


terminate this Agreement at any time by destroying all copies of
Software. This Agreement will terminate immediately without notice
from Sun if you fail to comply with any provision of this Agreement.
Upon Termination, you must destroy all copies of Software.

7. Export Regulations. All Software and technical data delivered under


this Agreement are subject to US export control laws and may be
subject to export or import regulations in other countries. You agree to
comply strictly with all such laws and regulations and acknowledge
that you have the responsibility to obtain such licenses to export, re-export,
or import as may be required after delivery to you.

8. U.S. Government Restricted Rights. If Software is being acquired by


or on behalf of the U.S. Government or by a U.S. Government prime
contractor or subcontractor (at any tier), then the Government’s rights
in Software and accompanying documentation will be only as set forth
in this Agreement; this is in accordance with 48 CFR 227.7201
through 227.7202-4 (for Department of Defense (DOD) acquisitions)
and with 48 CFR 2.101 and 12.212 (for non-DOD acquisitions).
9. Governing Law. Any action related to this Agreement will be
governed by California law and controlling U.S. federal law. No choice
of law rules of any jurisdiction will apply.

10. Severability. If any provision of this Agreement is held to be


unenforceable, this Agreement will remain in effect with the provision
omitted, unless omission would frustrate the intent of the parties, in
which case this Agreement will immediately terminate.

11. Integration. This Agreement is the entire agreement between you


and Sun relating to its subject matter. It supersedes all prior or
contemporaneous oral or written communications, proposals,
representations and warranties and prevails over any conflicting or
additional terms of any quote, order, acknowledgment, or other
communication between the parties relating to its subject matter
during the term of this Agreement. No modification of this Agreement
will be binding, unless in writing and signed by an authorized
representative of each party.

For inquiries please contact: Sun Microsystems, Inc. 901 San Antonio
Road, Palo Alto, California 94303

JAVATM DEVELOPMENT OPTIONAL PACKAGES JAVATM SECURE


SOCKET EXTENSION, VERSION 1.0.1
SUPPLEMENTAL LICENSE TERMS

These supplemental license terms ("Supplement") add to or modify


the terms of the Binary Code License Agreement (collectively, the
"Agreement"). Capitalized terms not defined in this Supplement shall
have the same meanings ascribed to them in the Agreement. These
Supplement terms shall supersede any inconsistent or conflicting
terms in the Agreement, or in any license contained within the
Software.

1. License to Distribute. Sun grants you a non-exclusive, non-transferable,


royalty-free, limited license to (a) use the binary form of
the Software for the sole purpose of designing, developing and testing
your JavaTM applets and applications intended to run on a compatible
Java environment (the "Programs"), provided that the Programs add
significant and primary functionality to the Software, and (b) reproduce
and distribute the binary form of the Software through multiple tiers of
distribution provided that you: (i) distribute the Software complete and
unmodified; (ii) do not distribute additional software intended to
supersede any component(s) of the Software; (iii) do not remove or
alter any proprietary legends or notices contained in or on the
Software; and (iv) only distribute the Software pursuant to a license
agreement that protects Sun’s interests consistent with the terms
contained in this Agreement, and provides that Sun is a third party
beneficiary to such license agreement. If you distribute the Software
pursuant to this paragraph, you must include the following statement
as part of product documentation (whether hard copy or electronic), as
a part of a copyright page or proprietary rights notice page, in an
"About" box or in any other form reasonably designed to make the
statement visible to users of the Software: "This product includes code
licensed from RSA Data Security".
2. Requirements. In exchange for the licenses granted in Paragraph 1
above, you agree:

a. not to create, or authorize your licensees to create, additional


classes, interfaces or subpackages that are contained in the "java,"
"javax" or "sun" packages, or similarly named package, as specified by
Sun in any naming convention;

b. that, in the event that you create an API(s) which: (i) extends the
functionality of a Java platform; and (ii) is distributed to third party
software developers for the purpose of developing software which
invokes such additional API, you must promptly and broadly publish an
accurate specification for such API for free use by all developers; and

c. to defend and indemnify Sun and its licensors from and against any
damages, costs, liabilities, settlement amounts and/or expenses
(including attorneys’ fees) incurred in connection with any claim,
lawsuit or action by any third party that arises or results from the use
or distribution of any and all Programs and/or Software.

3. Trademarks and Logos. You acknowledge and agree as between


you and Sun that Sun owns the Java trademark and all Java-related
trademarks, service marks, logos and other brand designations
including the Coffee Cup logo and Duke logo ("Java Marks"), and you
agree to comply with the Sun Trademark and Logo Usage
Requirements currently located at http://www.sun.com/policies/
trademarks. Any use you make of the Java Marks inures to Sun’s
benefit.

4. Source Code. Software may contain source code that is provided


solely for reference purposes pursuant to the terms of this Agreement.

Anda mungkin juga menyukai