- addAttribute(String, String, String, String, String) - Method in class org.ccil.cowan.tagsoup.AttributesImpl
-
Add an attribute to the end of the list.
- adup(char[], int, int) - Method in class org.ccil.cowan.tagsoup.Parser
-
- adup(char[], int, int) - Method in class org.ccil.cowan.tagsoup.PYXWriter
-
- adup(char[], int, int) - Method in interface org.ccil.cowan.tagsoup.ScanHandler
-
Reports an attribute name without a value.
- aname(char[], int, int) - Method in class org.ccil.cowan.tagsoup.Parser
-
- aname(char[], int, int) - Method in class org.ccil.cowan.tagsoup.PYXWriter
-
- aname(char[], int, int) - Method in interface org.ccil.cowan.tagsoup.ScanHandler
-
Reports an attribute name; a value will follow.
- anonymize() - Method in class org.ccil.cowan.tagsoup.Element
-
Make this element anonymous.
- attribute(String, String, String, String) - Method in class org.ccil.cowan.tagsoup.Schema
-
Add or replace a default attribute for an element type in this schema.
- AttributesImpl - Class in org.ccil.cowan.tagsoup
-
Default implementation of the Attributes interface.
- AttributesImpl() - Constructor for class org.ccil.cowan.tagsoup.AttributesImpl
-
Construct a new, empty AttributesImpl object.
- AttributesImpl(Attributes) - Constructor for class org.ccil.cowan.tagsoup.AttributesImpl
-
Copy an existing Attributes object.
- atts() - Method in class org.ccil.cowan.tagsoup.Element
-
Return the attributes as an AttributesImpl object.
- atts() - Method in class org.ccil.cowan.tagsoup.ElementType
-
Returns the default attributes associated with this element type.
- autoDetectingReader(InputStream) - Method in interface org.ccil.cowan.tagsoup.AutoDetector
-
Given an InputStream, return a suitable Reader that understands
the presumed character encoding of that InputStream.
- AutoDetector - Interface in org.ccil.cowan.tagsoup
-
Classes which accept an InputStream and provide a Reader which figures
out the encoding of the InputStream and reads characters from it should
conform to this interface.
- autoDetectorProperty - Static variable in class org.ccil.cowan.tagsoup.Parser
-
Specifies the AutoDetector (for encoding detection) this Parser uses.
- aval(char[], int, int) - Method in class org.ccil.cowan.tagsoup.Parser
-
- aval(char[], int, int) - Method in class org.ccil.cowan.tagsoup.PYXWriter
-
- aval(char[], int, int) - Method in interface org.ccil.cowan.tagsoup.ScanHandler
-
Reports an attribute value.
- Element - Class in org.ccil.cowan.tagsoup
-
The internal representation of an actual element (not an element type).
- Element(ElementType, boolean) - Constructor for class org.ccil.cowan.tagsoup.Element
-
Return an Element from a specified ElementType.
- ElementType - Class in org.ccil.cowan.tagsoup
-
This class represents an element type in the schema.
- ElementType(String, int, int, int, Schema) - Constructor for class org.ccil.cowan.tagsoup.ElementType
-
Construct an ElementType:
but it's better to use Schema.element() instead.
- elementType(String, int, int, int) - Method in class org.ccil.cowan.tagsoup.Schema
-
Add or replace an element type for this schema.
- emptyElement(String, String, String, Attributes) - Method in class org.ccil.cowan.tagsoup.XMLWriter
-
Write an empty element.
- emptyElement(String, String) - Method in class org.ccil.cowan.tagsoup.XMLWriter
-
Add an empty element without a qname or attributes.
- emptyElement(String) - Method in class org.ccil.cowan.tagsoup.XMLWriter
-
Add an empty element without a Namespace URI, qname or attributes.
- ENCODING - Static variable in class org.ccil.cowan.tagsoup.XMLWriter
-
- endCDATA() - Method in class org.ccil.cowan.tagsoup.Parser
-
- endCDATA() - Method in class org.ccil.cowan.tagsoup.PYXWriter
-
- endCDATA() - Method in class org.ccil.cowan.tagsoup.XMLWriter
-
- endDocument() - Method in class org.ccil.cowan.tagsoup.PYXWriter
-
- endDocument() - Method in class org.ccil.cowan.tagsoup.XMLWriter
-
Write a newline at the end of the document.
- endDTD() - Method in class org.ccil.cowan.tagsoup.Parser
-
- endDTD() - Method in class org.ccil.cowan.tagsoup.PYXWriter
-
- endDTD() - Method in class org.ccil.cowan.tagsoup.XMLWriter
-
- endElement(String, String, String) - Method in class org.ccil.cowan.tagsoup.PYXWriter
-
- endElement(String, String, String) - Method in class org.ccil.cowan.tagsoup.XMLWriter
-
Write an end tag.
- endElement(String, String) - Method in class org.ccil.cowan.tagsoup.XMLWriter
-
End an element without a qname.
- endElement(String) - Method in class org.ccil.cowan.tagsoup.XMLWriter
-
End an element without a Namespace URI or qname.
- endEntity(String) - Method in class org.ccil.cowan.tagsoup.Parser
-
- endEntity(String) - Method in class org.ccil.cowan.tagsoup.PYXWriter
-
- endEntity(String) - Method in class org.ccil.cowan.tagsoup.XMLWriter
-
- endPrefixMapping(String) - Method in class org.ccil.cowan.tagsoup.PYXWriter
-
- entity(char[], int, int) - Method in class org.ccil.cowan.tagsoup.Parser
-
- entity(char[], int, int) - Method in class org.ccil.cowan.tagsoup.PYXWriter
-
- entity(char[], int, int) - Method in interface org.ccil.cowan.tagsoup.ScanHandler
-
Reports an entity reference or character reference.
- entity(String, int) - Method in class org.ccil.cowan.tagsoup.Schema
-
Add to or replace a character entity in this schema.
- eof(char[], int, int) - Method in class org.ccil.cowan.tagsoup.Parser
-
- eof(char[], int, int) - Method in class org.ccil.cowan.tagsoup.PYXWriter
-
- eof(char[], int, int) - Method in interface org.ccil.cowan.tagsoup.ScanHandler
-
Reports EOF.
- etag(char[], int, int) - Method in class org.ccil.cowan.tagsoup.Parser
-
- etag(char[], int, int) - Method in class org.ccil.cowan.tagsoup.PYXWriter
-
- etag(char[], int, int) - Method in interface org.ccil.cowan.tagsoup.ScanHandler
-
Reports an end-tag.
- etag_basic(char[], int, int) - Method in class org.ccil.cowan.tagsoup.Parser
-
- etag_cdata(char[], int, int) - Method in class org.ccil.cowan.tagsoup.Parser
-
- externalGeneralEntitiesFeature - Static variable in class org.ccil.cowan.tagsoup.Parser
-
Reports whether this parser processes external general entities
(it doesn't).
- externalParameterEntitiesFeature - Static variable in class org.ccil.cowan.tagsoup.Parser
-
Reports whether this parser processes external parameter entities
(it doesn't).
- getContentHandler() - Method in class org.ccil.cowan.tagsoup.Parser
-
- getDTDHandler() - Method in class org.ccil.cowan.tagsoup.Parser
-
- getElementType(String) - Method in class org.ccil.cowan.tagsoup.Schema
-
Get an ElementType by name.
- getEntity() - Method in class org.ccil.cowan.tagsoup.Parser
-
- getEntity() - Method in class org.ccil.cowan.tagsoup.PYXWriter
-
- getEntity() - Method in interface org.ccil.cowan.tagsoup.ScanHandler
-
Returns the value of the last entity or character reference reported.
- getEntity(String) - Method in class org.ccil.cowan.tagsoup.Schema
-
Get an entity value by name.
- getEntityResolver() - Method in class org.ccil.cowan.tagsoup.Parser
-
- getErrorHandler() - Method in class org.ccil.cowan.tagsoup.Parser
-
- getFeature(String) - Method in class org.ccil.cowan.tagsoup.jaxp.SAXFactoryImpl
-
Returns whether the specified property will be enabled or disabled
on reader instances constructed by this factory.
- getFeature(String) - Method in class org.ccil.cowan.tagsoup.jaxp.SAXParserImpl
-
- getFeature(String) - Method in class org.ccil.cowan.tagsoup.Parser
-
- getIndex(String, String) - Method in class org.ccil.cowan.tagsoup.AttributesImpl
-
Look up an attribute's index by Namespace name.
- getIndex(String) - Method in class org.ccil.cowan.tagsoup.AttributesImpl
-
Look up an attribute's index by qualified (prefixed) name.
- getLength() - Method in class org.ccil.cowan.tagsoup.AttributesImpl
-
Return the number of attributes in the list.
- getLocalName(int) - Method in class org.ccil.cowan.tagsoup.AttributesImpl
-
Return an attribute's local name.
- getOutputProperty(String) - Method in class org.ccil.cowan.tagsoup.XMLWriter
-
- getParser() - Method in class org.ccil.cowan.tagsoup.jaxp.SAXParserImpl
-
Deprecated.
- getPrefix() - Method in class org.ccil.cowan.tagsoup.Schema
-
Return the prefix of this schema.
- getPrefix(String) - Method in class org.ccil.cowan.tagsoup.XMLWriter
-
Get the current or preferred prefix for a Namespace URI.
- getProperty(String) - Method in class org.ccil.cowan.tagsoup.jaxp.SAXParserImpl
-
- getProperty(String) - Method in class org.ccil.cowan.tagsoup.Parser
-
- getQName(int) - Method in class org.ccil.cowan.tagsoup.AttributesImpl
-
Return an attribute's qualified (prefixed) name.
- getType(int) - Method in class org.ccil.cowan.tagsoup.AttributesImpl
-
Return an attribute's type by index.
- getType(String, String) - Method in class org.ccil.cowan.tagsoup.AttributesImpl
-
Look up an attribute's type by Namespace-qualified name.
- getType(String) - Method in class org.ccil.cowan.tagsoup.AttributesImpl
-
Look up an attribute's type by qualified (prefixed) name.
- getURI(int) - Method in class org.ccil.cowan.tagsoup.AttributesImpl
-
Return an attribute's Namespace URI.
- getURI() - Method in class org.ccil.cowan.tagsoup.Schema
-
Return the URI (namespace name) of this schema.
- getValue(int) - Method in class org.ccil.cowan.tagsoup.AttributesImpl
-
Return an attribute's value by index.
- getValue(String, String) - Method in class org.ccil.cowan.tagsoup.AttributesImpl
-
Look up an attribute's value by Namespace-qualified name.
- getValue(String) - Method in class org.ccil.cowan.tagsoup.AttributesImpl
-
Look up an attribute's value by qualified (prefixed) name.
- getXMLReader() - Method in class org.ccil.cowan.tagsoup.jaxp.SAXParserImpl
-
- gi(char[], int, int) - Method in class org.ccil.cowan.tagsoup.Parser
-
- gi(char[], int, int) - Method in class org.ccil.cowan.tagsoup.PYXWriter
-
- gi(char[], int, int) - Method in interface org.ccil.cowan.tagsoup.ScanHandler
-
Reports the general identifier (element type name) of a start-tag.
- SAX1ParserAdapter - Class in org.ccil.cowan.tagsoup.jaxp
-
Deprecated.
- SAX1ParserAdapter(XMLReader) - Constructor for class org.ccil.cowan.tagsoup.jaxp.SAX1ParserAdapter
-
Deprecated.
- SAXFactoryImpl - Class in org.ccil.cowan.tagsoup.jaxp
-
This is a simple implementation of JAXP SAXParserFactory
,
to allow easier integration of TagSoup with the default JDK
xml processing stack.
- SAXFactoryImpl() - Constructor for class org.ccil.cowan.tagsoup.jaxp.SAXFactoryImpl
-
- SAXParserImpl - Class in org.ccil.cowan.tagsoup.jaxp
-
This is a simple implementation of JAXP SAXParser
,
to allow easier integration of TagSoup with the default JDK
xml processing stack.
- SAXParserImpl() - Constructor for class org.ccil.cowan.tagsoup.jaxp.SAXParserImpl
-
- scan(Reader, ScanHandler) - Method in class org.ccil.cowan.tagsoup.PYXScanner
-
- scan(Reader, ScanHandler) - Method in interface org.ccil.cowan.tagsoup.Scanner
-
Invoke a scanner.
- ScanHandler - Interface in org.ccil.cowan.tagsoup
-
An interface that Scanners use to report events in the input stream.
- Scanner - Interface in org.ccil.cowan.tagsoup
-
An interface allowing Parser to invoke scanners.
- scannerProperty - Static variable in class org.ccil.cowan.tagsoup.Parser
-
Specifies the Scanner object this Parser uses.
- schema() - Method in class org.ccil.cowan.tagsoup.ElementType
-
Returns the schema which this element type is associated with.
- Schema - Class in org.ccil.cowan.tagsoup
-
Abstract class representing a TSSL schema.
- Schema() - Constructor for class org.ccil.cowan.tagsoup.Schema
-
- schemaProperty - Static variable in class org.ccil.cowan.tagsoup.Parser
-
Specifies the Schema object this Parser uses.
- setAttribute(int, String, String, String, String, String) - Method in class org.ccil.cowan.tagsoup.AttributesImpl
-
Set an attribute in the list.
- setAttribute(String, String, String) - Method in class org.ccil.cowan.tagsoup.Element
-
Set an attribute and its value into this element.
- setAttribute(AttributesImpl, String, String, String) - Method in class org.ccil.cowan.tagsoup.ElementType
-
Sets an attribute and its value into an AttributesImpl object.
- setAttribute(String, String, String) - Method in class org.ccil.cowan.tagsoup.ElementType
-
Sets an attribute and its value into this element type.
- setAttributes(Attributes) - Method in class org.ccil.cowan.tagsoup.AttributesImpl
-
Copy an entire Attributes object.
- setContentHandler(ContentHandler) - Method in class org.ccil.cowan.tagsoup.Parser
-
- setDocumentHandler(DocumentHandler) - Method in class org.ccil.cowan.tagsoup.jaxp.SAX1ParserAdapter
-
Deprecated.
- setDocumentLocator(Locator) - Method in class org.ccil.cowan.tagsoup.PYXWriter
-
- setDTDHandler(DTDHandler) - Method in class org.ccil.cowan.tagsoup.jaxp.SAX1ParserAdapter
-
Deprecated.
- setDTDHandler(DTDHandler) - Method in class org.ccil.cowan.tagsoup.Parser
-
- setEntityResolver(EntityResolver) - Method in class org.ccil.cowan.tagsoup.jaxp.SAX1ParserAdapter
-
Deprecated.
- setEntityResolver(EntityResolver) - Method in class org.ccil.cowan.tagsoup.Parser
-
- setErrorHandler(ErrorHandler) - Method in class org.ccil.cowan.tagsoup.jaxp.SAX1ParserAdapter
-
Deprecated.
- setErrorHandler(ErrorHandler) - Method in class org.ccil.cowan.tagsoup.Parser
-
- setFeature(String, boolean) - Method in class org.ccil.cowan.tagsoup.jaxp.SAXFactoryImpl
-
Defines that the specified feature is to enabled/disabled (as
per second argument) on reader instances created by this
factory.
- setFeature(String, boolean) - Method in class org.ccil.cowan.tagsoup.jaxp.SAXParserImpl
-
- setFeature(String, boolean) - Method in class org.ccil.cowan.tagsoup.Parser
-
- setFlags(int) - Method in class org.ccil.cowan.tagsoup.ElementType
-
Sets the flags of this element type.
- setLocale(Locale) - Method in class org.ccil.cowan.tagsoup.jaxp.SAX1ParserAdapter
-
Deprecated.
- setLocalName(int, String) - Method in class org.ccil.cowan.tagsoup.AttributesImpl
-
Set the local name of a specific attribute.
- setMemberOf(int) - Method in class org.ccil.cowan.tagsoup.ElementType
-
Sets the content models to which this element type belongs.
- setModel(int) - Method in class org.ccil.cowan.tagsoup.ElementType
-
Sets the models of this element type.
- setNext(Element) - Method in class org.ccil.cowan.tagsoup.Element
-
Change the next element in an element stack or queue.
- setOutput(Writer) - Method in class org.ccil.cowan.tagsoup.XMLWriter
-
Set a new output destination for the document.
- setOutputProperty(String, String) - Method in class org.ccil.cowan.tagsoup.XMLWriter
-
- setParent(ElementType) - Method in class org.ccil.cowan.tagsoup.ElementType
-
Sets the parent element type of this element type.
- setPrefix(String) - Method in class org.ccil.cowan.tagsoup.Schema
-
Change the prefix of this schema.
- setPrefix(String, String) - Method in class org.ccil.cowan.tagsoup.XMLWriter
-
Specify a preferred prefix for a Namespace URI.
- setProperty(String, Object) - Method in class org.ccil.cowan.tagsoup.jaxp.SAXParserImpl
-
- setProperty(String, Object) - Method in class org.ccil.cowan.tagsoup.Parser
-
- setQName(int, String) - Method in class org.ccil.cowan.tagsoup.AttributesImpl
-
Set the qualified name of a specific attribute.
- setType(int, String) - Method in class org.ccil.cowan.tagsoup.AttributesImpl
-
Set the type of a specific attribute.
- setURI(int, String) - Method in class org.ccil.cowan.tagsoup.AttributesImpl
-
Set the Namespace URI of a specific attribute.
- setURI(String) - Method in class org.ccil.cowan.tagsoup.Schema
-
Change the URI (namespace name) of this schema.
- setValue(int, String) - Method in class org.ccil.cowan.tagsoup.AttributesImpl
-
Set the value of a specific attribute.
- skippedEntity(String) - Method in class org.ccil.cowan.tagsoup.PYXWriter
-
- stagc(char[], int, int) - Method in class org.ccil.cowan.tagsoup.Parser
-
- stagc(char[], int, int) - Method in class org.ccil.cowan.tagsoup.PYXWriter
-
- stagc(char[], int, int) - Method in interface org.ccil.cowan.tagsoup.ScanHandler
-
Reports the close of a start-tag.
- stage(char[], int, int) - Method in class org.ccil.cowan.tagsoup.Parser
-
- stage(char[], int, int) - Method in class org.ccil.cowan.tagsoup.PYXWriter
-
- stage(char[], int, int) - Method in interface org.ccil.cowan.tagsoup.ScanHandler
-
Reports the close of an empty-tag.
- STANDALONE - Static variable in class org.ccil.cowan.tagsoup.XMLWriter
-
- startCDATA() - Method in class org.ccil.cowan.tagsoup.Parser
-
- startCDATA() - Method in class org.ccil.cowan.tagsoup.PYXScanner
-
- startCDATA() - Method in class org.ccil.cowan.tagsoup.PYXWriter
-
- startCDATA() - Method in interface org.ccil.cowan.tagsoup.Scanner
-
Signal to the scanner to start CDATA content mode.
- startCDATA() - Method in class org.ccil.cowan.tagsoup.XMLWriter
-
- startDocument() - Method in class org.ccil.cowan.tagsoup.PYXWriter
-
- startDocument() - Method in class org.ccil.cowan.tagsoup.XMLWriter
-
Write the XML declaration at the beginning of the document.
- startDTD(String, String, String) - Method in class org.ccil.cowan.tagsoup.Parser
-
- startDTD(String, String, String) - Method in class org.ccil.cowan.tagsoup.PYXWriter
-
- startDTD(String, String, String) - Method in class org.ccil.cowan.tagsoup.XMLWriter
-
- startElement(String, String, String, Attributes) - Method in class org.ccil.cowan.tagsoup.PYXWriter
-
- startElement(String, String, String, Attributes) - Method in class org.ccil.cowan.tagsoup.XMLWriter
-
Write a start tag.
- startElement(String, String) - Method in class org.ccil.cowan.tagsoup.XMLWriter
-
Start a new element without a qname or attributes.
- startElement(String) - Method in class org.ccil.cowan.tagsoup.XMLWriter
-
Start a new element without a qname, attributes or a Namespace URI.
- startEntity(String) - Method in class org.ccil.cowan.tagsoup.Parser
-
- startEntity(String) - Method in class org.ccil.cowan.tagsoup.PYXWriter
-
- startEntity(String) - Method in class org.ccil.cowan.tagsoup.XMLWriter
-
- startPrefixMapping(String, String) - Method in class org.ccil.cowan.tagsoup.PYXWriter
-
- stringInterningFeature - Static variable in class org.ccil.cowan.tagsoup.Parser
-
Has a value of "true" if all XML names (for elements,
prefixes, attributes, entities, notations, and local
names), as well as Namespace URIs, will have been interned
using java.lang.String.intern.