Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- 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.
B
- bogonsEmptyFeature - Static variable in class org.ccil.cowan.tagsoup.Parser
-
A value of "true" indicates that the parser will give unknown elements a content model of EMPTY; a value of "false", a content model of ANY.
C
- canContain(Element) - Method in class org.ccil.cowan.tagsoup.Element
-
Return true if the type of this element can contain the type of another element.
- canContain(ElementType) - Method in class org.ccil.cowan.tagsoup.ElementType
-
Returns true if this element type can contain another element type.
- CDATA_SECTION_ELEMENTS - Static variable in class org.ccil.cowan.tagsoup.XMLWriter
- CDATAElementsFeature - Static variable in class org.ccil.cowan.tagsoup.Parser
-
A value of "true" indicates that the parser will treat CDATA elements specially.
- cdsect(char[], int, int) - Method in class org.ccil.cowan.tagsoup.Parser
- cdsect(char[], int, int) - Method in class org.ccil.cowan.tagsoup.PYXWriter
- cdsect(char[], int, int) - Method in interface org.ccil.cowan.tagsoup.ScanHandler
-
Reports the content of a CDATA section (not a CDATA element)
- characters(char[], int, int) - Method in class org.ccil.cowan.tagsoup.PYXWriter
- characters(char[], int, int) - Method in class org.ccil.cowan.tagsoup.XMLWriter
-
Write character data.
- characters(String) - Method in class org.ccil.cowan.tagsoup.XMLWriter
-
Write a string of character data, with XML escaping.
- clean() - Method in class org.ccil.cowan.tagsoup.Element
-
Clean the attributes of this element.
- clear() - Method in class org.ccil.cowan.tagsoup.AttributesImpl
-
Clear the attribute list for reuse.
- cmnt(char[], int, int) - Method in class org.ccil.cowan.tagsoup.Parser
- cmnt(char[], int, int) - Method in class org.ccil.cowan.tagsoup.PYXWriter
- cmnt(char[], int, int) - Method in interface org.ccil.cowan.tagsoup.ScanHandler
-
Reports a comment.
- CommandLine - Class in org.ccil.cowan.tagsoup
-
The stand-alone TagSoup program.
- CommandLine() - Constructor for class org.ccil.cowan.tagsoup.CommandLine
- comment(char[], int, int) - Method in class org.ccil.cowan.tagsoup.Parser
- comment(char[], int, int) - Method in class org.ccil.cowan.tagsoup.PYXWriter
- comment(char[], int, int) - Method in class org.ccil.cowan.tagsoup.XMLWriter
D
- dataElement(String, String) - Method in class org.ccil.cowan.tagsoup.XMLWriter
-
Write an element with character data content but no attributes or Namespace URI.
- dataElement(String, String, String) - Method in class org.ccil.cowan.tagsoup.XMLWriter
-
Write an element with character data content but no attributes.
- dataElement(String, String, String, Attributes, String) - Method in class org.ccil.cowan.tagsoup.XMLWriter
-
Write an element with character data content.
- decl(char[], int, int) - Method in class org.ccil.cowan.tagsoup.Parser
-
Parsing the complete XML Document Type Definition is way too complex, but for many simple cases we can extract something useful from it.
- decl(char[], int, int) - Method in class org.ccil.cowan.tagsoup.PYXWriter
- decl(char[], int, int) - Method in interface org.ccil.cowan.tagsoup.ScanHandler
-
Reports a invalid input: '<!'....> declaration - typically a DOCTYPE
- defaultAttributesFeature - Static variable in class org.ccil.cowan.tagsoup.Parser
-
A value of "true" indicates that the parser will return default attribute values for missing attributes that have default values.
- DOCTYPE_PUBLIC - Static variable in class org.ccil.cowan.tagsoup.XMLWriter
- DOCTYPE_SYSTEM - Static variable in class org.ccil.cowan.tagsoup.XMLWriter
E
- 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(String, int, int, int) - Method in class org.ccil.cowan.tagsoup.Schema
-
Add or replace an element type for this schema.
- 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.
- emptyElement(String) - Method in class org.ccil.cowan.tagsoup.XMLWriter
-
Add an empty element without a Namespace URI, qname or attributes.
- emptyElement(String, String) - Method in class org.ccil.cowan.tagsoup.XMLWriter
-
Add an empty element without a qname or attributes.
- emptyElement(String, String, String, Attributes) - Method in class org.ccil.cowan.tagsoup.XMLWriter
-
Write an empty element.
- 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) - Method in class org.ccil.cowan.tagsoup.XMLWriter
-
End an element without a Namespace URI or qname.
- endElement(String, String) - Method in class org.ccil.cowan.tagsoup.XMLWriter
-
End an element without a qname.
- 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.
- 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).
F
- F_CDATA - Static variable in class org.ccil.cowan.tagsoup.Schema
- F_NOFORCE - Static variable in class org.ccil.cowan.tagsoup.Schema
- F_RESTART - Static variable in class org.ccil.cowan.tagsoup.Schema
- flags() - Method in class org.ccil.cowan.tagsoup.Element
-
Return the flags vector of the element's type.
- flags() - Method in class org.ccil.cowan.tagsoup.ElementType
-
Returns the flags associated with this element type.
- flush() - Method in class org.ccil.cowan.tagsoup.XMLWriter
-
Flush the output.
- forceNSDecl(String) - Method in class org.ccil.cowan.tagsoup.XMLWriter
-
Force a Namespace to be declared on the root element.
- forceNSDecl(String, String) - Method in class org.ccil.cowan.tagsoup.XMLWriter
-
Force a Namespace declaration with a preferred prefix.
G
- 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) - Method in class org.ccil.cowan.tagsoup.AttributesImpl
-
Look up an attribute's index by qualified (prefixed) name.
- getIndex(String, String) - Method in class org.ccil.cowan.tagsoup.AttributesImpl
-
Look up an attribute's index by Namespace 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) - Method in class org.ccil.cowan.tagsoup.AttributesImpl
-
Look up an attribute's type by qualified (prefixed) name.
- getType(String, String) - Method in class org.ccil.cowan.tagsoup.AttributesImpl
-
Look up an attribute's type by Namespace-qualified name.
- getURI() - Method in class org.ccil.cowan.tagsoup.Schema
-
Return the URI (namespace name) of this schema.
- getURI(int) - Method in class org.ccil.cowan.tagsoup.AttributesImpl
-
Return an attribute's Namespace URI.
- getValue(int) - Method in class org.ccil.cowan.tagsoup.AttributesImpl
-
Return an attribute's value by index.
- getValue(String) - Method in class org.ccil.cowan.tagsoup.AttributesImpl
-
Look up an attribute's value by qualified (prefixed) name.
- getValue(String, String) - Method in class org.ccil.cowan.tagsoup.AttributesImpl
-
Look up an attribute's value by Namespace-qualified 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.
I
- ignorableWhitespace(char[], int, int) - Method in class org.ccil.cowan.tagsoup.PYXWriter
- ignorableWhitespace(char[], int, int) - Method in class org.ccil.cowan.tagsoup.XMLWriter
-
Write ignorable whitespace.
- ignorableWhitespaceFeature - Static variable in class org.ccil.cowan.tagsoup.Parser
-
A value of "true" indicates that the parser will transmit whitespace in element-only content via the SAX ignorableWhitespace callback.
- ignoreBogonsFeature - Static variable in class org.ccil.cowan.tagsoup.Parser
-
A value of "true" indicates that the parser will ignore unknown elements.
- INDENT - Static variable in class org.ccil.cowan.tagsoup.XMLWriter
- isNamespaceAware() - Method in class org.ccil.cowan.tagsoup.jaxp.SAXParserImpl
- isPreclosed() - Method in class org.ccil.cowan.tagsoup.Element
-
Return true if this element has been preclosed.
- isStandaloneFeature - Static variable in class org.ccil.cowan.tagsoup.Parser
-
May be examined only during a parse, after the startDocument() callback has been completed; read-only.
- isValidating() - Method in class org.ccil.cowan.tagsoup.jaxp.SAXParserImpl
J
- JAXPTest - Class in org.ccil.cowan.tagsoup.jaxp
-
Trivial non-robust test class, to show that TagSoup can be accessed using JAXP interface.
- JAXPTest() - Constructor for class org.ccil.cowan.tagsoup.jaxp.JAXPTest
L
- lexicalHandlerParameterEntitiesFeature - Static variable in class org.ccil.cowan.tagsoup.Parser
-
A value of "true" indicates that the LexicalHandler will report the beginning and end of parameter entities (it won't).
- lexicalHandlerProperty - Static variable in class org.ccil.cowan.tagsoup.Parser
-
Used to see some syntax events that are essential in some applications: comments, CDATA delimiters, selected general entity inclusions, and the start and end of the DTD (and declaration of document element name).
- localName() - Method in class org.ccil.cowan.tagsoup.Element
-
Return the local name of the element's type.
- localName() - Method in class org.ccil.cowan.tagsoup.ElementType
-
Returns the local name of this element type.
- localName(String) - Method in class org.ccil.cowan.tagsoup.ElementType
-
Return a local name from a Qname.
M
- M_ANY - Static variable in class org.ccil.cowan.tagsoup.Schema
- M_EMPTY - Static variable in class org.ccil.cowan.tagsoup.Schema
- M_PCDATA - Static variable in class org.ccil.cowan.tagsoup.Schema
- M_ROOT - Static variable in class org.ccil.cowan.tagsoup.Schema
- main(String[]) - Static method in class org.ccil.cowan.tagsoup.CommandLine
-
Main method.
- main(String[]) - Static method in class org.ccil.cowan.tagsoup.jaxp.JAXPTest
- main(String[]) - Static method in class org.ccil.cowan.tagsoup.PYXScanner
- MEDIA_TYPE - Static variable in class org.ccil.cowan.tagsoup.XMLWriter
- memberOf() - Method in class org.ccil.cowan.tagsoup.Element
-
Return the member-of vector of the element's type.
- memberOf() - Method in class org.ccil.cowan.tagsoup.ElementType
-
Returns the content models to which this element type belongs.
- METHOD - Static variable in class org.ccil.cowan.tagsoup.XMLWriter
- model() - Method in class org.ccil.cowan.tagsoup.Element
-
Return the content model vector of the element's type.
- model() - Method in class org.ccil.cowan.tagsoup.ElementType
-
Returns the content models of this element type.
N
- name() - Method in class org.ccil.cowan.tagsoup.Element
-
Return the name of the element's type.
- name() - Method in class org.ccil.cowan.tagsoup.ElementType
-
Returns the name of this element type.
- namespace() - Method in class org.ccil.cowan.tagsoup.Element
-
Return the namespace name of the element's type.
- namespace() - Method in class org.ccil.cowan.tagsoup.ElementType
-
Returns the namespace name of this element type.
- namespace(String, boolean) - Method in class org.ccil.cowan.tagsoup.ElementType
-
Return a namespace name from a Qname.
- namespacePrefixesFeature - Static variable in class org.ccil.cowan.tagsoup.Parser
-
A value of "true" indicates that XML qualified names (with prefixes) and attributes (including xmlns* attributes) will be available.
- namespacesFeature - Static variable in class org.ccil.cowan.tagsoup.Parser
-
A value of "true" indicates namespace URIs and unprefixed local names for element and attribute names will be available.
- Namespace Support - Search tag in class org.ccil.cowan.tagsoup.XMLWriter
- Section
- newInstance(Map) - Static method in class org.ccil.cowan.tagsoup.jaxp.SAXParserImpl
- newSAXParser() - Method in class org.ccil.cowan.tagsoup.jaxp.SAXFactoryImpl
-
Creates a new instance of
SAXParser
using the currently configured factory parameters. - next() - Method in class org.ccil.cowan.tagsoup.Element
-
Return the next element in an element stack or queue.
- normalize(String) - Static method in class org.ccil.cowan.tagsoup.ElementType
-
Normalize an attribute value (ID-style).
O
- OMIT_XML_DECLARATION - Static variable in class org.ccil.cowan.tagsoup.XMLWriter
- org.ccil.cowan.tagsoup - package org.ccil.cowan.tagsoup
- org.ccil.cowan.tagsoup.jaxp - package org.ccil.cowan.tagsoup.jaxp
P
- parent() - Method in class org.ccil.cowan.tagsoup.Element
-
Return the parent element type of the element's type.
- parent() - Method in class org.ccil.cowan.tagsoup.ElementType
-
Returns the parent element type of this element type.
- parent(String, String) - Method in class org.ccil.cowan.tagsoup.Schema
-
Specify natural parent of an element in this schema.
- parse(String) - Method in class org.ccil.cowan.tagsoup.jaxp.SAX1ParserAdapter
-
Deprecated.
- parse(String) - Method in class org.ccil.cowan.tagsoup.Parser
- parse(InputSource) - Method in class org.ccil.cowan.tagsoup.jaxp.SAX1ParserAdapter
-
Deprecated.
- parse(InputSource) - Method in class org.ccil.cowan.tagsoup.Parser
- Parser - Class in org.ccil.cowan.tagsoup
-
The SAX parser class.
- Parser() - Constructor for class org.ccil.cowan.tagsoup.Parser
- pcdata(char[], int, int) - Method in class org.ccil.cowan.tagsoup.Parser
- pcdata(char[], int, int) - Method in class org.ccil.cowan.tagsoup.PYXWriter
- pcdata(char[], int, int) - Method in interface org.ccil.cowan.tagsoup.ScanHandler
-
Reports character content.
- pi(char[], int, int) - Method in class org.ccil.cowan.tagsoup.Parser
- pi(char[], int, int) - Method in class org.ccil.cowan.tagsoup.PYXWriter
- pi(char[], int, int) - Method in interface org.ccil.cowan.tagsoup.ScanHandler
-
Reports the data part of a processing instruction.
- pitarget(char[], int, int) - Method in class org.ccil.cowan.tagsoup.Parser
- pitarget(char[], int, int) - Method in class org.ccil.cowan.tagsoup.PYXWriter
- pitarget(char[], int, int) - Method in interface org.ccil.cowan.tagsoup.ScanHandler
-
Reports the target part of a processing instruction.
- preclose() - Method in class org.ccil.cowan.tagsoup.Element
-
Force this element to preclosed status, meaning that an end-tag has been seen but the element cannot yet be closed for structural reasons.
- processingInstruction(String, String) - Method in class org.ccil.cowan.tagsoup.PYXWriter
- processingInstruction(String, String) - Method in class org.ccil.cowan.tagsoup.XMLWriter
-
Write a processing instruction.
- PYXScanner - Class in org.ccil.cowan.tagsoup
-
A Scanner that accepts PYX format instead of HTML.
- PYXScanner() - Constructor for class org.ccil.cowan.tagsoup.PYXScanner
- PYXWriter - Class in org.ccil.cowan.tagsoup
-
A ContentHandler that generates PYX format instead of XML.
- PYXWriter(Writer) - Constructor for class org.ccil.cowan.tagsoup.PYXWriter
R
- removeAttribute(int) - Method in class org.ccil.cowan.tagsoup.AttributesImpl
-
Remove an attribute from the list.
- reset() - Method in class org.ccil.cowan.tagsoup.XMLWriter
-
Reset the writer.
- resetDocumentLocator(String, String) - Method in class org.ccil.cowan.tagsoup.PYXScanner
- resetDocumentLocator(String, String) - Method in interface org.ccil.cowan.tagsoup.Scanner
-
Reset the embedded locator.
- resolveDTDURIsFeature - Static variable in class org.ccil.cowan.tagsoup.Parser
-
A value of "true" indicates that system IDs in declarations will be absolutized (relative to their base URIs) before reporting.
- restartElementsFeature - Static variable in class org.ccil.cowan.tagsoup.Parser
-
A value of "true" indicates that the parser will attempt to restart the restartable elements.
- rootBogonsFeature - Static variable in class org.ccil.cowan.tagsoup.Parser
-
A value of "true" indicates that the parser will allow unknown elements to be the root element.
- rootElementType() - Method in class org.ccil.cowan.tagsoup.Schema
-
Get the root element of this schema
S
- 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(String, String, String) - Method in class org.ccil.cowan.tagsoup.ElementType
-
Sets an attribute and its value into this element type.
- setAttribute(AttributesImpl, String, String, String) - Method in class org.ccil.cowan.tagsoup.ElementType
-
Sets an attribute and its value into an AttributesImpl object.
- 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) - Method in class org.ccil.cowan.tagsoup.XMLWriter
-
Start a new element without a qname, attributes or a Namespace URI.
- startElement(String, String) - Method in class org.ccil.cowan.tagsoup.XMLWriter
-
Start a new element without a qname or attributes.
- 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.
- 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.
T
- translateColonsFeature - Static variable in class org.ccil.cowan.tagsoup.Parser
-
A value of "true" indicates that the parser will translate colons into underscores in names.
- type() - Method in class org.ccil.cowan.tagsoup.Element
-
Return the element type.
U
- unicodeNormalizationCheckingFeature - Static variable in class org.ccil.cowan.tagsoup.Parser
-
Controls whether the parser reports Unicode normalization errors as described in section 2.13 and Appendix B of the XML 1.1 Recommendation.
- useAttributes2Feature - Static variable in class org.ccil.cowan.tagsoup.Parser
-
Returns "true" if the Attributes objects passed by this parser in ContentHandler.startElement() implement the org.xml.sax.ext.Attributes2 interface.
- useEntityResolver2Feature - Static variable in class org.ccil.cowan.tagsoup.Parser
-
Returns "true" if, when setEntityResolver is given an object implementing the org.xml.sax.ext.EntityResolver2 interface, those new methods will be used.
- useLocator2Feature - Static variable in class org.ccil.cowan.tagsoup.Parser
-
Returns "true" if the Locator objects passed by this parser in ContentHandler.setDocumentLocator() implement the org.xml.sax.ext.Locator2 interface.
V
- validationFeature - Static variable in class org.ccil.cowan.tagsoup.Parser
-
Controls whether the parser is reporting all validity errors (We don't report any validity errors.)
- VERSION - Static variable in class org.ccil.cowan.tagsoup.XMLWriter
W
- Whitespace - Search tag in class org.ccil.cowan.tagsoup.XMLWriter
- Section
X
- XML11Feature - Static variable in class org.ccil.cowan.tagsoup.Parser
-
Returns "true" if the parser supports both XML 1.1 and XML 1.0.
- xmlnsURIsFeature - Static variable in class org.ccil.cowan.tagsoup.Parser
-
Controls whether, when the namespace-prefixes feature is set, the parser treats namespace declaration attributes as being in the http://www.w3.org/2000/xmlns/ namespace.
- XMLWriter - Class in org.ccil.cowan.tagsoup
-
Filter to write an XML document from a SAX event stream.
- XMLWriter() - Constructor for class org.ccil.cowan.tagsoup.XMLWriter
-
Create a new XML writer.
- XMLWriter(Writer) - Constructor for class org.ccil.cowan.tagsoup.XMLWriter
-
Create a new XML writer.
- XMLWriter(XMLReader) - Constructor for class org.ccil.cowan.tagsoup.XMLWriter
-
Create a new XML writer.
- XMLWriter(XMLReader, Writer) - Constructor for class org.ccil.cowan.tagsoup.XMLWriter
-
Create a new XML writer.
All Classes and Interfaces|All Packages|Constant Field Values