C E G I N S T U

C

ca.mkmgroup.xmlutil - package ca.mkmgroup.xmlutil
 
com.ssx.xml.output - package com.ssx.xml.output
 
com.ssx.xml.output.impl - package com.ssx.xml.output.impl
 
com.ssx.xml.output.sinks - package com.ssx.xml.output.sinks
 

E

END_OF_LINE_MARKER - Static variable in class com.ssx.xml.output.TestsForXmlOutput
The line break sequence to use when formatting
EXPAND_QNAMES - Static variable in class com.ssx.xml.output.TestsForXmlOutput
A testing switch - show namespace names rather than prefixes on output where applicable (ie.

G

generate(ContentHandler, DTDHandler, EntityResolver, ErrorHandler) - Method in interface ca.mkmgroup.xmlutil.SyntheticSaxSource.SaxEventStreamGenerator
Generates the synthetic XML content.
getXmlText(XmlOutput) - Method in class com.ssx.xml.output.TestsForXmlOutput
Convert the XmlOutput object to a string
getXmlText(XmlOutput) - Method in class com.ssx.xml.output.sinks.Test_TextSink
 

I

INDENT_SPACER - Static variable in class com.ssx.xml.output.TestsForXmlOutput
The characters used in a single indentation when formating

N

newXmlOutput(HashMap) - Method in class com.ssx.xml.output.TestsForXmlOutput
Create a new XmlOutput instance
newXmlOutput(HashMap) - Method in class com.ssx.xml.output.sinks.Test_TextSink
 

S

SyntheticSaxSource - class ca.mkmgroup.xmlutil.SyntheticSaxSource.
A SAX source whose events are generated synthetically rather than from an XML input stream.
SyntheticSaxSource(SyntheticSaxSource.SaxEventStreamGenerator) - Constructor for class ca.mkmgroup.xmlutil.SyntheticSaxSource
Creates a new synthetic SAX source.
SyntheticSaxSource.SaxEventStreamGenerator - interface ca.mkmgroup.xmlutil.SyntheticSaxSource.SaxEventStreamGenerator.
An object which can generate a series of SAX events that describe the synthetic XML content.

T

Test_AttributeImpl - class com.ssx.xml.output.impl.Test_AttributeImpl.
The attribute class holds the data pertaining to attributes.
Test_AttributeImpl(String) - Constructor for class com.ssx.xml.output.impl.Test_AttributeImpl
 
Test_AttributeListImpl - class com.ssx.xml.output.impl.Test_AttributeListImpl.
The AttributeList class contains a variable number of Attributes.
Test_AttributeListImpl(String) - Constructor for class com.ssx.xml.output.impl.Test_AttributeListImpl
 
Test_AttributesAdapter - class com.ssx.xml.output.impl.Test_AttributesAdapter.
 
Test_AttributesAdapter(String) - Constructor for class com.ssx.xml.output.impl.Test_AttributesAdapter
 
Test_Namespace - class com.ssx.xml.output.Test_Namespace.
Ensure QName data objects work the way they are supposed to.
Test_Namespace(String) - Constructor for class com.ssx.xml.output.Test_Namespace
 
Test_SaxSink - class com.ssx.xml.output.sinks.Test_SaxSink.
Test the XmlValidator using a SAX Sink.
Test_SaxSink(String) - Constructor for class com.ssx.xml.output.sinks.Test_SaxSink
 
Test_TextSink - class com.ssx.xml.output.sinks.Test_TextSink.
Test for XML Text output to a stream.
Test_TextSink(String) - Constructor for class com.ssx.xml.output.sinks.Test_TextSink
 
TestsForXmlOutput - class com.ssx.xml.output.TestsForXmlOutput.
Common tests for all XmlOutput derivatives.
TestsForXmlOutput(String) - Constructor for class com.ssx.xml.output.TestsForXmlOutput
 
testAccessors() - Method in class com.ssx.xml.output.Test_Namespace
QName objects are mutable to allow for re-use
testAccessors() - Method in class com.ssx.xml.output.impl.Test_AttributeImpl
An attribute has two properties, and name and a value.
testAddAttributes() - Method in class com.ssx.xml.output.impl.Test_AttributeListImpl
Attributes can be added to the list.
testAddDuplicateAttribute_Name() - Method in class com.ssx.xml.output.TestsForXmlOutput
Attempting to add a duplicate attribute will cause an exception
testAddDuplicateAttribute_Namespace() - Method in class com.ssx.xml.output.TestsForXmlOutput
Attempting to add a duplicate attribute will cause an exception
testAddNamespaceNodes() - Method in class com.ssx.xml.output.TestsForXmlOutput
Namespace nodes can be added to any entity
testAttributes() - Method in class com.ssx.xml.output.TestsForXmlOutput
Attributes can be added to entities with the writeAttribute method.
testAttributesAndNamespaces() - Method in class com.ssx.xml.output.impl.Test_AttributesAdapter
The adapter will transparently merge a collection of namespace defenitions and attributes so that the user perceives a list of SAX attributes.
testAttributesNullValue() - Method in class com.ssx.xml.output.TestsForXmlOutput
If the attribute value is null the attribute will not be added to the entity.
testAttributes_AddComment() - Method in class com.ssx.xml.output.TestsForXmlOutput
Comments can be added to the XML anywhere
testAttributes_AddInvalidComment() - Method in class com.ssx.xml.output.TestsForXmlOutput
Comments may not contain the stirng '-->' and they can not end with a dash (-).
testAttributes_CallAfterClose() - Method in class com.ssx.xml.output.TestsForXmlOutput
An method called after the output has been closed will throw and Exception.
testAttributes_DigitStartingName() - Method in class com.ssx.xml.output.TestsForXmlOutput
Attribute names can only start with a leter or the allowed punctuation.
testAttributes_EncodeSpecialChars() - Method in class com.ssx.xml.output.TestsForXmlOutput
Other illeagal characters will be replaced if they are found in an attribute value.
testAttributes_EscapeQuotes() - Method in class com.ssx.xml.output.TestsForXmlOutput
If the same quote is used in an attribute value as is used to delimit attribute values it will need to be escaped using an entity reference.
testAttributes_Invalid() - Method in class com.ssx.xml.output.TestsForXmlOutput
Attributes can only be added to entities directly after a call to startElement.
testAttributes_addCdata() - Method in class com.ssx.xml.output.sinks.Test_TextSink
If the proportion of illegal characters to legal characters is large then a CDATA will be used to wrap the output rather than encoding illegal characters.
testAttributes_addProcessingInstruction() - Method in class com.ssx.xml.output.TestsForXmlOutput
Processing instructions can be added to the HTML
testAttributes_addText() - Method in class com.ssx.xml.output.TestsForXmlOutput
Text can be added anywhere in the body of the root element
testAttributes_addTextWithEncoding() - Method in class com.ssx.xml.output.TestsForXmlOutput
Any reserved values found in text are encoded (Note that ' and " do not need to be encoded here)
testClearAttributes() - Method in class com.ssx.xml.output.impl.Test_AttributeListImpl
All attributes can be cleared from the list.
testConstructor() - Method in class com.ssx.xml.output.Test_Namespace
An initialization constructor is provided for convenience
testElements_DigitStartingName() - Method in class com.ssx.xml.output.TestsForXmlOutput
element names can only start with a leter or the allowed punctuation.
testElements_Nested() - Method in class com.ssx.xml.output.TestsForXmlOutput
Subsequent calls after startElement, excluding endElement, will fill the body of the initial element.
testElements_Sequential() - Method in class com.ssx.xml.output.TestsForXmlOutput
To write an empty element call endElement directly after calling startElement.
testElements_Unballanced() - Method in class com.ssx.xml.output.TestsForXmlOutput
Each startElement call must be matched by an endElement call or an error will be thrown when the stream is closed.
testElements_rootElements() - Method in class com.ssx.xml.output.TestsForXmlOutput
An XML document requires exaclty one root element
testElements_startEndMatching() - Method in class com.ssx.xml.output.TestsForXmlOutput
The each start element call must be matched by exactly one endElement call.
testEmptyContainer() - Method in class com.ssx.xml.output.impl.Test_AttributesAdapter
If no aattributes or namespaces are added to the adapter it will appear empty to the user.
testFormatting() - Method in class com.ssx.xml.output.TestsForXmlOutput
Line breaks and indenting can be added to the output stream to format is for human reading.
testFormatting2() - Method in class com.ssx.xml.output.TestsForXmlOutput
Formatting will only be added between entities that have no intervening character data.
testFormatting3() - Method in class com.ssx.xml.output.TestsForXmlOutput
Testing a larger collection of entities - just to see what happens.
testGetQName() - Method in class com.ssx.xml.output.Test_Namespace
The getQName utility method generates the text representation of the qname using the given namespace prefix and the given local name.
testGetQNameExpandQNames() - Method in class com.ssx.xml.output.Test_Namespace
GetQName is sensitive to a hidden switch that causes it to use the namespace URI instead of the prefix.
testIterateAttributes() - Method in class com.ssx.xml.output.impl.Test_AttributeListImpl
The list can provide an interator to traverse the Attribute set.
testNoDefensiveCopying() - Method in class com.ssx.xml.output.impl.Test_AttributeListImpl
The given attribute object is added to the list and should not be re-used.
testOnlyAttributes() - Method in class com.ssx.xml.output.impl.Test_AttributesAdapter
The adapter will present a collection of XmlOutput attributes as a collection of SAX attributes.
testOnlyNamespaces() - Method in class com.ssx.xml.output.impl.Test_AttributesAdapter
The adapter will present a collection of namespaces as a collection of SAX attributes.
testRedundantNamespaceDeclarationsAreIgnored() - Method in class com.ssx.xml.output.TestsForXmlOutput
 
testResolveNamespacePrefixes() - Method in class com.ssx.xml.output.TestsForXmlOutput
The prefixes used with entities and attributes are resolved into namespaces and associated with the entities base on the XML Namspace spec.
testSetNamespace() - Method in class com.ssx.xml.output.impl.Test_AttributeImpl
Setting the namespace overrides the original prefix
testSize() - Method in class com.ssx.xml.output.impl.Test_AttributeListImpl
Size should return the number of attributes in the collection
testValidateNamespacePrefixes() - Method in class com.ssx.xml.output.TestsForXmlOutput
Namespace prefixes used with attribute names are validated against the namespaces in scope.
testValidateNamespacePrefixes2() - Method in class com.ssx.xml.output.TestsForXmlOutput
Namespace prefixes used with entity names are validated against the namespaces in scope.
testWritePIFirst() - Method in class com.ssx.xml.output.TestsForXmlOutput
Test that a PI can be written as the first output
testXmlDeclaration() - Method in class com.ssx.xml.output.sinks.Test_TextSink
The XML declaration is included at the start of every stream
testXmlGeneration() - Method in class com.ssx.xml.output.sinks.Test_SaxSink
Generate XML using the JAXP transformer to render it to a text stream.
testXmlGeneration_No_namespaces() - Method in class com.ssx.xml.output.sinks.Test_SaxSink
What if no namspaces are declared for an element?

U

USE_FORMATTING - Static variable in class com.ssx.xml.output.TestsForXmlOutput
Add line breaks and indenting to the XML output where applicable (ie.
USE_SINGLE_QUOTE - Static variable in class com.ssx.xml.output.TestsForXmlOutput
Surround attribute values with single quotes

C E G I N S T U