Alphabetical Index

A C D E F G H I M N O P R S T U V W X

A

This method is called when a new attribute of an XML element is encountered.
This method is called when a new attribute of an XML element is encountered.
This method is called when a new attribute of an XML element is encountered.
addChild(nanoxml.XMLElement) - method in class nanoxml.XMLElement
Adds a child element.
addChild(net.n3.nanoxml.IXMLElement) - method in class net.n3.nanoxml.IXMLElement
Adds a child element.
addChild(net.n3.nanoxml.IXMLElement) - method in class net.n3.nanoxml.XMLElement
Adds a child element.
Adds an external entity.
Adds an external entity.
addInternalEntity(String,String) - method in class net.n3.nanoxml.IXMLEntityResolver
Adds an internal entity.
addInternalEntity(String,String) - method in class net.n3.nanoxml.XMLEntityResolver
Adds an internal entity.
addPCData(Reader,String,int) - method in class net.n3.nanoxml.IXMLBuilder
This method is called when a PCDATA element is encountered.
addPCData(Reader,String,int) - method in class net.n3.nanoxml.sax.SAXAdapter
This method is called when a PCDATA element is encountered.
addPCData(Reader,String,int) - method in class net.n3.nanoxml.StdXMLBuilder
This method is called when a PCDATA element is encountered.
addProperty(String,double) - method in class nanoxml.XMLElement
Adds or modifies an attribute.
addProperty(String,int) - method in class nanoxml.XMLElement
Adds or modifies an attribute.
addProperty(String,Object) - method in class nanoxml.XMLElement
Adds or modifies an attribute.
atEOF() - method in class net.n3.nanoxml.IXMLReader
Returns true if there are no more characters left to be read.
atEOF() - method in class net.n3.nanoxml.StdXMLReader
Returns true if there are no more characters left to be read.
atEOFOfCurrentStream() - method in class net.n3.nanoxml.IXMLReader
Returns true if the current stream has no more characters left to be read.
atEOFOfCurrentStream() - method in class net.n3.nanoxml.StdXMLReader
Returns true if the current stream has no more characters left to be read.
ATTRIBUTE_WITH_INVALID_VALUE - static field in class net.n3.nanoxml.XMLValidationException
An attribute has an invalid value.
Indicates that an attribute has been added to the current element.
Indicates that an attribute has been added to the current element.
This method is called when the attributes of an XML element have been processed.
attributeDefaultValues - field in class net.n3.nanoxml.NonValidator
Contains the default values for attributes for the different element types.

C

checkCDATA(StringBuffer) - method in class nanoxml.XMLElement
Scans a special tag and if the tag is a CDATA section, append its content to buf.
checkLiteral(String) - method in class nanoxml.XMLElement
Scans the data for literal text.
CLASS_KEY - static field in class net.n3.nanoxml.XMLParserFactory
The Java properties key of the XML parser class name.
countChildren() - method in class nanoxml.XMLElement
Returns the number of child elements of the element.
createAnotherElement() - method in class nanoxml.XMLElement
Creates a new similar XML element.
createDefaultXMLParser() - static method in class net.n3.nanoxml.XMLParserFactory
Creates a default parser.
Creates a default parser.
createElement(String) - method in class net.n3.nanoxml.IXMLElement
Creates an empty element.
createElement(String) - method in class net.n3.nanoxml.XMLElement
Creates an empty element.
createElement(String,String) - method in class net.n3.nanoxml.IXMLElement
Creates an empty element.
createElement(String,String) - method in class net.n3.nanoxml.XMLElement
Creates an empty element.
createElement(String,String,int) - method in class net.n3.nanoxml.IXMLElement
Creates an empty element.
createElement(String,String,int) - method in class net.n3.nanoxml.XMLElement
Creates an empty element.
createElement(String,String,String,int) - method in class net.n3.nanoxml.IXMLElement
Creates an empty element.
createElement(String,String,String,int) - method in class net.n3.nanoxml.XMLElement
Creates an empty element.
createPCDataElement() - method in class net.n3.nanoxml.IXMLElement
Creates an element to be used for #PCDATA content.
createPCDataElement() - method in class net.n3.nanoxml.XMLElement
Creates an element to be used for #PCDATA content.
Creates a parser.
currentElements - field in class net.n3.nanoxml.NonValidator
The stack of elements to be processed.

D

DEFAULT_CLASS - static field in class net.n3.nanoxml.XMLParserFactory
The class name of the default XML parser.

E

This method is called when the attributes of an XML element have been processed.
This method is called when the attributes of an XML element have been processed.
Indicates that an attribute has been added to the current element.
This method is called when the attributes of an XML element have been processed.
This method is called when the attributes of an XML element have been processed.
This method is called when the attributes of an XML element have been processed.
elementEnded(String,String,int) - method in class net.n3.nanoxml.IXMLValidator
Indicates that the current element has ended.
elementEnded(String,String,int) - method in class net.n3.nanoxml.NonValidator
Indicates that the current element has ended.
elementEnded(String,String,int) - method in class net.n3.nanoxml.ValidatorPlugin
Indicates that the current element has ended.
elementStarted(String,String,int) - method in class net.n3.nanoxml.IXMLValidator
Indicates that an element has been started.
elementStarted(String,String,int) - method in class net.n3.nanoxml.NonValidator
Indicates that an element has been started.
elementStarted(String,String,int) - method in class net.n3.nanoxml.ValidatorPlugin
Indicates that an element has been started.
endDocument() - method in class net.n3.nanoxml.sax.SAXAdapter
Indicates that parsing has been completed.
endElement(String,String,String) - method in class net.n3.nanoxml.IXMLBuilder
This method is called when the end of an XML elemnt is encountered.
endElement(String,String,String) - method in class net.n3.nanoxml.sax.SAXAdapter
This method is called when the end of an XML elemnt is encountered.
endElement(String,String,String) - method in class net.n3.nanoxml.StdXMLBuilder
This method is called when the end of an XML elemnt is encountered.
enumerateAttributeNames() - method in class net.n3.nanoxml.IXMLElement
Returns an enumeration of all attribute names.
enumerateAttributeNames() - method in class nanoxml.XMLElement
Enumerates the attribute names.
enumerateAttributeNames() - method in class net.n3.nanoxml.XMLElement
Returns an enumeration of all attribute names.
enumerateChildren() - method in class net.n3.nanoxml.IXMLElement
Returns an enumeration of all child elements.
enumerateChildren() - method in class nanoxml.XMLElement
Enumerates the child elements.
enumerateChildren() - method in class net.n3.nanoxml.XMLElement
Returns an enumeration of all child elements.
enumeratePropertyNames() - method in class nanoxml.XMLElement
Enumerates the attribute names.
equals(Object) - method in class net.n3.nanoxml.IXMLElement
Returns true if the element equals another element.
equals(Object) - method in class net.n3.nanoxml.XMLElement
Returns true if the element equals another element.
Returns true if the element equals another element.
Returns true if the element equals another element.
expectedInput(String) - method in class nanoxml.XMLElement
Creates a parse exception for when the next character read is not the character that was expected.

F

fileReader(String) - static method in class net.n3.nanoxml.StdXMLReader
Creates a new reader using a file as input.
finalize() - method in class net.n3.nanoxml.NonValidator
Cleans up the object when it's destroyed.
finalize() - method in class net.n3.nanoxml.sax.SAXAdapter
Cleans up the object when it's destroyed.
finalize() - method in class net.n3.nanoxml.sax.SAXEntityResolver
Cleans up the object when it's destroyed.
finalize() - method in class net.n3.nanoxml.sax.SAXParser
Cleans up the object when it's destroyed.
finalize() - method in class net.n3.nanoxml.StdXMLBuilder
Cleans up the object when it's destroyed.
finalize() - method in class net.n3.nanoxml.StdXMLParser
Cleans up the object when it's destroyed.
finalize() - method in class net.n3.nanoxml.StdXMLReader
Cleans up the object when it's destroyed.
finalize() - method in class net.n3.nanoxml.ValidatorPlugin
Cleans up the object when it's destroyed.
finalize() - method in class net.n3.nanoxml.XMLElement
Cleans up the object when it's destroyed.
finalize() - method in class net.n3.nanoxml.XMLEntityResolver
Cleans up the object when it's destroyed.
finalize() - method in class net.n3.nanoxml.XMLException
Cleans up the object when it's destroyed.
finalize() - method in class net.n3.nanoxml.XMLValidationException
Cleans up the object when it's destroyed.
finalize() - method in class net.n3.nanoxml.XMLWriter
Cleans up the object when it's destroyed.

G

getAttribute(String) - method in class net.n3.nanoxml.IXMLElement
getAttribute(java.lang.String,java.lang.String) Returns the value of an attribute.
getAttribute(String) - method in class nanoxml.XMLElement
Returns an attribute of the element.
getAttribute(String) - method in class net.n3.nanoxml.XMLElement
getAttribute(java.lang.String,java.lang.String) Returns the value of an attribute.
Returns an attribute by looking up a key in a hashtable.
getAttribute(String,int) - method in class net.n3.nanoxml.IXMLElement
Returns the value of an attribute.
getAttribute(String,int) - method in class net.n3.nanoxml.XMLElement
Returns the value of an attribute.
getAttribute(String,Object) - method in class nanoxml.XMLElement
Returns an attribute of the element.
getAttribute(String,String) - method in class net.n3.nanoxml.IXMLElement
Returns the value of an attribute.
getAttribute(String,String) - method in class net.n3.nanoxml.XMLElement
Returns the value of an attribute.
getAttribute(String,String,int) - method in class net.n3.nanoxml.IXMLElement
Returns the value of an attribute.
getAttribute(String,String,int) - method in class net.n3.nanoxml.XMLElement
Returns the value of an attribute.
getAttribute(String,String,String) - method in class net.n3.nanoxml.IXMLElement
Returns the value of an attribute.
getAttribute(String,String,String) - method in class net.n3.nanoxml.XMLElement
Returns the value of an attribute.
getAttributeCount() - method in class net.n3.nanoxml.IXMLElement
Returns the number of attributes.
getAttributeCount() - method in class net.n3.nanoxml.XMLElement
Returns the number of attributes.
getAttributeName() - method in class net.n3.nanoxml.XMLValidationException
Returns the name of the attribute in which the validation is violated.
getAttributeNamespace(String) - method in class net.n3.nanoxml.IXMLElement
Returns the namespace of an attribute.
getAttributeNamespace(String) - method in class net.n3.nanoxml.XMLElement
Returns the namespace of an attribute.
getAttributes() - method in class net.n3.nanoxml.IXMLElement
Returns all attributes as a Properties object.
getAttributes() - method in class net.n3.nanoxml.XMLElement
Returns all attributes as a Properties object.
getAttributesInNamespace(String) - method in class net.n3.nanoxml.IXMLElement
Returns all attributes in a specific namespace as a Properties object.
getAttributesInNamespace(String) - method in class net.n3.nanoxml.XMLElement
Returns all attributes in a specific namespace as a Properties object.
getAttributeType(String) - method in class net.n3.nanoxml.IXMLElement
Returns the type of an attribute.
getAttributeType(String) - method in class net.n3.nanoxml.XMLElement
Returns the type of an attribute.
getAttributeType(String,String) - method in class net.n3.nanoxml.IXMLElement
Returns the type of an attribute.
getAttributeType(String,String) - method in class net.n3.nanoxml.XMLElement
Returns the type of an attribute.
getAttributeValue() - method in class net.n3.nanoxml.XMLValidationException
Returns the value of the attribute in which the validation is violated.
Returns an attribute of the element.
getBuilder() - method in class net.n3.nanoxml.IXMLParser
Returns the builder which creates the logical structure of the XML data.
getBuilder() - method in class net.n3.nanoxml.StdXMLParser
Returns the builder which creates the logical structure of the XML data.
getChildAtIndex(int) - method in class net.n3.nanoxml.IXMLElement
Returns the child at a specific index.
getChildAtIndex(int) - method in class net.n3.nanoxml.XMLElement
Returns the child at a specific index.
getChildren() - method in class net.n3.nanoxml.IXMLElement
Returns a vector containing all the child elements.
getChildren() - method in class nanoxml.XMLElement
Returns the child elements as a Vector.
getChildren() - method in class net.n3.nanoxml.XMLElement
Returns a vector containing all the child elements.
getChildrenCount() - method in class net.n3.nanoxml.IXMLElement
Returns the number of children.
getChildrenCount() - method in class net.n3.nanoxml.XMLElement
Returns the number of children.
getChildrenNamed(String) - method in class net.n3.nanoxml.IXMLElement
Returns a vector of all child elements named name.
getChildrenNamed(String) - method in class net.n3.nanoxml.XMLElement
Returns a vector of all child elements named name.
getChildrenNamed(String,String) - method in class net.n3.nanoxml.IXMLElement
Returns a vector of all child elements named name.
getChildrenNamed(String,String) - method in class net.n3.nanoxml.XMLElement
Returns a vector of all child elements named name.
getContent() - method in class net.n3.nanoxml.IXMLElement
Return the #PCDATA content of the element.
getContent() - method in class nanoxml.XMLElement
Returns the PCDATA content of the object.
getContent() - method in class net.n3.nanoxml.XMLElement
Return the #PCDATA content of the element.
getContents() - method in class nanoxml.XMLElement
Returns the PCDATA content of the object.
getDelegate() - method in class net.n3.nanoxml.ValidatorPlugin
Returns the delegate.
getDoubleAttribute(String) - method in class nanoxml.XMLElement
Returns an attribute of the element.
Returns an attribute of the element.
Returns an attribute by looking up a key in a hashtable.
getElementName() - method in class net.n3.nanoxml.XMLValidationException
Returns the name of the element in which the validation is violated.
getEncoding(String) - method in class net.n3.nanoxml.StdXMLReader
Scans the encoding from an <?xml...?> tag.
Returns a Java reader containing the value of an entity.
Returns a Java reader containing the value of an entity.
getException() - method in class net.n3.nanoxml.XMLException
Returns the encapsulated exception, or null if no exception is encapsulated.
getFirstChildNamed(String) - method in class net.n3.nanoxml.IXMLElement
Searches a child element.
getFirstChildNamed(String) - method in class net.n3.nanoxml.XMLElement
Searches a child element.
getFirstChildNamed(String,String) - method in class net.n3.nanoxml.IXMLElement
Searches a child element.
getFirstChildNamed(String,String) - method in class net.n3.nanoxml.XMLElement
Searches a child element.
getFullName() - method in class net.n3.nanoxml.IXMLElement
Returns the full name (i.e.
getFullName() - method in class net.n3.nanoxml.XMLElement
Returns the full name (i.e.
getIntAttribute(String) - method in class nanoxml.XMLElement
Returns an attribute of the element.
Returns an attribute by looking up a key in a hashtable.
getIntAttribute(String,int) - method in class nanoxml.XMLElement
Returns an attribute of the element.
Returns an attribute by looking up a key in a hashtable.
getLineNr() - method in class net.n3.nanoxml.IXMLElement
Returns the line number in the data where the element started.
getLineNr() - method in class net.n3.nanoxml.IXMLReader
Returns the line number of the data in the current stream.
getLineNr() - method in class net.n3.nanoxml.StdXMLReader
Returns the line number of the data in the current stream.
getLineNr() - method in class nanoxml.XMLElement
Returns the line nr in the source data on which the element is found.
getLineNr() - method in class net.n3.nanoxml.XMLElement
Returns the line number in the data where the element started.
getLineNr() - method in class net.n3.nanoxml.XMLException
Returns the line number in the XML data where the exception occurred.
getLineNr() - method in class nanoxml.XMLParseException
Where the error occurred, or NO_LINE if the line number is unknown.
getName() - method in class net.n3.nanoxml.IXMLElement
Returns the name of the element.
getName() - method in class nanoxml.XMLElement
Returns the name of the element.
getName() - method in class net.n3.nanoxml.XMLElement
Returns the name of the element.
getNamespace() - method in class net.n3.nanoxml.IXMLElement
Returns the namespace of the element.
getNamespace() - method in class net.n3.nanoxml.XMLElement
Returns the namespace of the element.
getParameterEntityResolver() - method in class net.n3.nanoxml.IXMLValidator
Returns the parameter entity resolver.
getParameterEntityResolver() - method in class net.n3.nanoxml.NonValidator
Returns the parameter entity resolver.
getParameterEntityResolver() - method in class net.n3.nanoxml.ValidatorPlugin
Returns the parameter entity resolver.
getParent() - method in class net.n3.nanoxml.IXMLElement
Returns the parent element.
getParent() - method in class net.n3.nanoxml.XMLElement
Returns the parent element.
getProperty(String) - method in class nanoxml.XMLElement
Returns an attribute.
getProperty(String,double) - method in class nanoxml.XMLElement
Returns an attribute.
Returns an attribute by looking up a key in a hashtable.
getProperty(String,int) - method in class nanoxml.XMLElement
Returns an attribute.
getProperty(String,String) - method in class nanoxml.XMLElement
Returns an attribute.
Returns an attribute.
getPublicID() - method in class net.n3.nanoxml.IXMLReader
Returns the current public ID.
getPublicID() - method in class net.n3.nanoxml.StdXMLReader
Returns the current public ID.
getReader() - method in class net.n3.nanoxml.IXMLParser
Returns the reader from which the parser retrieves its data.
getReader() - method in class net.n3.nanoxml.StdXMLParser
Returns the reader from which the parser retrieves its data.
getResolver() - method in class net.n3.nanoxml.IXMLParser
Returns the entity resolver.
getResolver() - method in class net.n3.nanoxml.StdXMLParser
Returns the entity resolver.
getResult() - method in class net.n3.nanoxml.IXMLBuilder
Returns the result of the building process.
getResult() - method in class net.n3.nanoxml.sax.SAXAdapter
Returns the result of the building process.
getResult() - method in class net.n3.nanoxml.StdXMLBuilder
Returns the result of the building process.
Returns an attribute by looking up a key in a hashtable.
Returns an attribute by looking up a key in a hashtable.
getStreamLevel() - method in class net.n3.nanoxml.IXMLReader
Returns the current "level" of the stream on the stack of streams.
getStreamLevel() - method in class net.n3.nanoxml.StdXMLReader
Returns the current "level" of the stream on the stack of streams.
getStringAttribute(String) - method in class nanoxml.XMLElement
Returns an attribute of the element.
Returns an attribute by looking up a key in a hashtable.
Returns an attribute of the element.
Returns an attribute by looking up a key in a hashtable.
getSystemID() - method in class net.n3.nanoxml.IXMLElement
Returns the system ID of the data where the element started.
getSystemID() - method in class net.n3.nanoxml.IXMLReader
Returns the current system ID.
getSystemID() - method in class net.n3.nanoxml.StdXMLReader
Returns the current system ID.
getSystemID() - method in class net.n3.nanoxml.XMLElement
Returns the system ID of the data where the element started.
getSystemID() - method in class net.n3.nanoxml.XMLException
Returns the system ID of the XML data where the exception occurred.
getTagName() - method in class nanoxml.XMLElement
Returns the name of the element.
getValidator() - method in class net.n3.nanoxml.IXMLParser
Returns the validator that validates the XML data.
getValidator() - method in class net.n3.nanoxml.StdXMLParser
Returns the validator that validates the XML data.

H

hasAttribute(String) - method in class net.n3.nanoxml.IXMLElement
Returns whether an attribute exists.
hasAttribute(String) - method in class net.n3.nanoxml.XMLElement
Returns whether an attribute exists.
hasAttribute(String,String) - method in class net.n3.nanoxml.IXMLElement
Returns whether an attribute exists.
hasAttribute(String,String) - method in class net.n3.nanoxml.XMLElement
Returns whether an attribute exists.
hasChildren() - method in class net.n3.nanoxml.IXMLElement
Returns whether the element has children.
hasChildren() - method in class net.n3.nanoxml.XMLElement
Returns whether the element has children.

I

Inserts a child element.
Throws an XMLValidationException to indicate that an attribute has an invalid value.
invalidValue(String,String) - method in class nanoxml.XMLElement
Creates a parse exception for when an invalid value is given to a method.
invalidValueSet(String) - method in class nanoxml.XMLElement
Creates a parse exception for when an invalid valueset is given to a method.
isExternalEntity(String) - method in class net.n3.nanoxml.IXMLEntityResolver
Returns true if an entity is external.
isExternalEntity(String) - method in class net.n3.nanoxml.XMLEntityResolver
Returns true if an entity is external.
isLeaf() - method in class net.n3.nanoxml.IXMLElement
Returns whether the element is a leaf element.
isLeaf() - method in class net.n3.nanoxml.XMLElement
Returns whether the element is a leaf element.
IXMLBuilder - interface net.n3.nanoxml.IXMLBuilder
NanoXML uses IXMLBuilder to construct the XML data structure it retrieved from its data source.
IXMLElement - interface net.n3.nanoxml.IXMLElement
IXMLElement is an XML element.
IXMLEntityResolver - interface net.n3.nanoxml.IXMLEntityResolver
An IXMLEntityResolver resolves entities.
IXMLParser - interface net.n3.nanoxml.IXMLParser
IXMLParser is the core parser of NanoXML.
IXMLReader - interface net.n3.nanoxml.IXMLReader
IXMLReader reads the data to be parsed.
IXMLValidator - interface net.n3.nanoxml.IXMLValidator
IXMLValidator processes the DTD and handles entity references.

M

MISC_ERROR - static field in class net.n3.nanoxml.XMLValidationException
Another error than those specified in this class was encountered.
MISSING_ATTRIBUTE - static field in class net.n3.nanoxml.XMLValidationException
An attribute was missing.
MISSING_ELEMENT - static field in class net.n3.nanoxml.XMLValidationException
An element was missing.
MISSING_PCDATA - static field in class net.n3.nanoxml.XMLValidationException
A PCDATA element was missing.
Throws an XMLValidationException to indicate that an attribute is missing.
Throws an XMLValidationException to indicate that an element is missing.
missingPCData(String,int,String) - method in class net.n3.nanoxml.ValidatorPlugin
Throws an XMLValidationException to indicate that a #PCDATA element was missing.

N

nanoxml - package
NANOXML_MAJOR_VERSION - static field in class nanoxml.XMLElement
Major version of NanoXML.
NANOXML_MINOR_VERSION - static field in class nanoxml.XMLElement
Minor version of NanoXML.
net.n3.nanoxml - package
newProcessingInstruction(String,Reader) - method in class net.n3.nanoxml.IXMLBuilder
This method is called when a processing instruction is encountered.
newProcessingInstruction(String,Reader) - method in class net.n3.nanoxml.sax.SAXAdapter
This method is called when a processing instruction is encountered.
This method is called when a processing instruction is encountered.
NO_LINE - static field in class net.n3.nanoxml.IXMLElement
No line number defined.
NO_LINE - static field in class net.n3.nanoxml.XMLElement
No line number defined.
NO_LINE - static field in class nanoxml.XMLParseException
Indicates that no line number has been associated with this exception.
NonValidator - class net.n3.nanoxml.NonValidator
NonValidator is a concrete implementation of IXMLValidator which processes the DTD and handles entity definitions.
NonValidator() - constructor for class net.n3.nanoxml.NonValidator
Creates the "validator".

O

Opens an external entity.
Opens an external entity.
openStream(String,String) - method in class net.n3.nanoxml.IXMLReader
Opens a stream from a public and system ID.
openStream(String,String) - method in class net.n3.nanoxml.StdXMLReader
Opens a stream from a public and system ID.

P

parameterEntityResolver - field in class net.n3.nanoxml.NonValidator
The parameter entity resolver.
parse() - method in class net.n3.nanoxml.IXMLParser
Parses the data and lets the builder create the logical data structure.
parse() - method in class net.n3.nanoxml.StdXMLParser
Parses the data and lets the builder create the logical data structure.
parse(InputSource) - method in class net.n3.nanoxml.sax.SAXParser
Parse an XML document.
parse(String) - method in class net.n3.nanoxml.sax.SAXParser
Parse an XML document from a system identifier (URI).
parseCharArray(char[],int,int) - method in class nanoxml.XMLElement
Reads one XML element from a char array and parses it.
Reads one XML element from a char array and parses it.
Parses the DTD.
Parses the DTD.
Parses the DTD.
parseFromReader(Reader) - method in class nanoxml.XMLElement
Reads one XML element from a java.io.Reader and parses it.
parseFromReader(Reader,int) - method in class nanoxml.XMLElement
Reads one XML element from a java.io.Reader and parses it.
parseString(String) - method in class nanoxml.XMLElement
Reads one XML element from a String and parses it.
parseString(String,int) - method in class nanoxml.XMLElement
Reads one XML element from a String and parses it.
parseString(String,int,int) - method in class nanoxml.XMLElement
Reads one XML element from a String and parses it.
Reads one XML element from a String and parses it.
PCDataAdded(String,int) - method in class net.n3.nanoxml.IXMLValidator
Indicates that a new #PCDATA element has been encountered.
PCDataAdded(String,int) - method in class net.n3.nanoxml.NonValidator
Indicates that a new #PCDATA element has been encountered.
PCDataAdded(String,int) - method in class net.n3.nanoxml.ValidatorPlugin
Indicates that a new #PCDATA element has been encountered.
printStackTrace() - method in class net.n3.nanoxml.XMLException
Dumps the exception stack to System.err.
printStackTrace(PrintStream) - method in class net.n3.nanoxml.XMLException
Dumps the exception stack to an output stream.
printStackTrace(PrintWriter) - method in class net.n3.nanoxml.XMLException
Dumps the exception stack to a print writer.
Processes an ATTLIST element.
processAttribute(Vector,Vector,Vector) - method in class net.n3.nanoxml.StdXMLParser
Processes an attribute of an element.
processCDATA() - method in class net.n3.nanoxml.StdXMLParser
Processes a CDATA section.
Processes a conditional section.
processDocType() - method in class net.n3.nanoxml.StdXMLParser
Processes a document type declaration.
Processes an element in the DTD.
processElement(String,Properties) - method in class net.n3.nanoxml.StdXMLParser
Processes a regular element.
Processes an ENTITY element.
Processes an ignore section.
processPI() - method in class net.n3.nanoxml.StdXMLParser
Processes a "processing instruction".
processSpecialTag(boolean) - method in class net.n3.nanoxml.StdXMLParser
Processes a tag that starts with a bang (<!...>).

R

read() - method in class net.n3.nanoxml.IXMLReader
Reads a character.
read() - method in class net.n3.nanoxml.StdXMLReader
Reads a character.
readChar() - method in class nanoxml.XMLElement
Reads a character from a reader.
removeAttribute(String) - method in class net.n3.nanoxml.IXMLElement
Removes an attribute.
removeAttribute(String) - method in class nanoxml.XMLElement
Removes an attribute.
removeAttribute(String) - method in class net.n3.nanoxml.XMLElement
Removes an attribute.
removeAttribute(String,String) - method in class net.n3.nanoxml.IXMLElement
Removes an attribute.
removeAttribute(String,String) - method in class net.n3.nanoxml.XMLElement
Removes an attribute.
Removes a child element.
removeChild(net.n3.nanoxml.IXMLElement) - method in class net.n3.nanoxml.IXMLElement
Removes a child element.
removeChild(net.n3.nanoxml.IXMLElement) - method in class net.n3.nanoxml.XMLElement
Removes a child element.
removeChild(String) - method in class nanoxml.XMLElement
Removes an attribute.
removeChildAtIndex(int) - method in class net.n3.nanoxml.IXMLElement
Removes the child located at a certain index.
removeChildAtIndex(int) - method in class net.n3.nanoxml.XMLElement
Removes the child located at a certain index.
removeProperty(String) - method in class nanoxml.XMLElement
Removes an attribute.
resolveEntity(StringBuffer) - method in class nanoxml.XMLElement
Resolves an entity.

S

SAXAdapter - class net.n3.nanoxml.sax.SAXAdapter
SAXAdapter is the core adapter for using NanoXML/Java with SAX, the "Simple" API For XML.
SAXAdapter() - constructor for class net.n3.nanoxml.sax.SAXAdapter
Creates the adapter.
SAXEntityResolver - class net.n3.nanoxml.sax.SAXEntityResolver
SAXEntityResolver is a subclass of XMLEntityResolver that supports the SAX EntityResolver listener.
SAXEntityResolver() - constructor for class net.n3.nanoxml.sax.SAXEntityResolver
Creates the resolver.
SAXParser - class net.n3.nanoxml.sax.SAXParser
SAXParser implements the SAX Parser interface.
SAXParser() - constructor for class net.n3.nanoxml.sax.SAXParser
Creates the SAX parser.
scanData() - method in class net.n3.nanoxml.StdXMLParser
Scans the XML data for elements.
Scans an XML element.
scanIdentifier(StringBuffer) - method in class nanoxml.XMLElement
Scans an identifier from the current reader.
scanPCData(StringBuffer) - method in class nanoxml.XMLElement
Scans a #PCDATA element.
scanSomeTag(boolean,String,Properties) - method in class net.n3.nanoxml.StdXMLParser
Scans an XML tag.
scanString(StringBuffer) - method in class nanoxml.XMLElement
This method scans a delimited string from the current reader.
scanWhitespace() - method in class nanoxml.XMLElement
This method scans an identifier from the current reader.
scanWhitespace(StringBuffer) - method in class nanoxml.XMLElement
This method scans an identifier from the current reader.
setAttribute(String,Object) - method in class nanoxml.XMLElement
Adds or modifies an attribute.
setAttribute(String,String) - method in class net.n3.nanoxml.IXMLElement
Sets an attribute.
setAttribute(String,String) - method in class net.n3.nanoxml.XMLElement
Sets an attribute.
setAttribute(String,String,String) - method in class net.n3.nanoxml.IXMLElement
Sets an attribute.
setAttribute(String,String,String) - method in class net.n3.nanoxml.XMLElement
Sets an attribute.
setBuilder(net.n3.nanoxml.IXMLBuilder) - method in class net.n3.nanoxml.IXMLParser
Sets the builder which creates the logical structure of the XML data.
setBuilder(net.n3.nanoxml.IXMLBuilder) - method in class net.n3.nanoxml.StdXMLParser
Sets the builder which creates the logical structure of the XML data.
setContent(String) - method in class net.n3.nanoxml.IXMLElement
Sets the #PCDATA content.
setContent(String) - method in class nanoxml.XMLElement
Changes the content string.
setContent(String) - method in class net.n3.nanoxml.XMLElement
Sets the #PCDATA content.
Sets the delegate.
setDocumentHandler(DocumentHandler) - method in class net.n3.nanoxml.sax.SAXAdapter
Sets the document handler.
setDocumentHandler(DocumentHandler) - method in class net.n3.nanoxml.sax.SAXParser
Allows an application to register a document event handler.
Adds or modifies an attribute.
setDTDHandler(DTDHandler) - method in class net.n3.nanoxml.sax.SAXParser
Sets the DTD handler.
setEntityResolver(EntityResolver) - method in class net.n3.nanoxml.sax.SAXEntityResolver
Sets the SAX EntityResolver listener.
setEntityResolver(EntityResolver) - method in class net.n3.nanoxml.sax.SAXParser
Sets the entity resolver.
setErrorHandler(ErrorHandler) - method in class net.n3.nanoxml.sax.SAXParser
Allow an application to register an error event handler.
setIntAttribute(String,int) - method in class nanoxml.XMLElement
Adds or modifies an attribute.
setLocale(Locale) - method in class net.n3.nanoxml.sax.SAXParser
Sets the locale.
setName(String) - method in class net.n3.nanoxml.IXMLElement
Sets the full name.
setName(String) - method in class nanoxml.XMLElement
Changes the name of the element.
setName(String) - method in class net.n3.nanoxml.XMLElement
Sets the full name.
setName(String,String) - method in class net.n3.nanoxml.IXMLElement
Sets the name.
setName(String,String) - method in class net.n3.nanoxml.XMLElement
Sets the name.
Sets the parameter entity resolver.
Sets the parameter entity resolver.
Sets the parameter entity resolver.
setPublicID(String) - method in class net.n3.nanoxml.IXMLReader
Sets the public ID of the current stream.
setPublicID(String) - method in class net.n3.nanoxml.StdXMLReader
Sets the public ID of the current stream.
setReader(net.n3.nanoxml.IXMLReader) - method in class net.n3.nanoxml.IXMLParser
Sets the reader from which the parser retrieves its data.
setReader(net.n3.nanoxml.IXMLReader) - method in class net.n3.nanoxml.sax.SAXAdapter
Sets the reader.
setReader(net.n3.nanoxml.IXMLReader) - method in class net.n3.nanoxml.StdXMLParser
Sets the reader from which the parser retrieves its data.
Sets the entity resolver.
Sets the entity resolver.
setSystemID(String) - method in class net.n3.nanoxml.IXMLReader
Sets the system ID of the current stream.
setSystemID(String) - method in class net.n3.nanoxml.StdXMLReader
Sets the system ID of the current stream.
setTagName(String) - method in class nanoxml.XMLElement
Changes the name of the element.
Sets the validator that validates the XML data.
Sets the validator that validates the XML data.
skipComment() - method in class nanoxml.XMLElement
Skips a comment.
skipSpecialTag(int) - method in class nanoxml.XMLElement
Skips a special tag or comment.
startBuilding(String,int) - method in class net.n3.nanoxml.IXMLBuilder
This method is called before the parser starts processing its input.
startBuilding(String,int) - method in class net.n3.nanoxml.sax.SAXAdapter
This method is called before the parser starts processing its input.
startBuilding(String,int) - method in class net.n3.nanoxml.StdXMLBuilder
This method is called before the parser starts processing its input.
This method is called when a new XML element is encountered.
startElement(String,String,String,String,int) - method in class net.n3.nanoxml.sax.SAXAdapter
This method is called when a new XML element is encountered.
This method is called when a new XML element is encountered.
startNewStream(Reader) - method in class net.n3.nanoxml.IXMLReader
Starts a new stream from a Java reader.
startNewStream(Reader) - method in class net.n3.nanoxml.StdXMLReader
Starts a new stream from a Java reader.
startNewStream(Reader,boolean) - method in class net.n3.nanoxml.IXMLReader
Starts a new stream from a Java reader.
startNewStream(Reader,boolean) - method in class net.n3.nanoxml.StdXMLReader
Starts a new stream from a Java reader.
StdXMLBuilder - class net.n3.nanoxml.StdXMLBuilder
StdXMLBuilder is a concrete implementation of IXMLBuilder which creates a tree of IXMLElement from an XML data source.
StdXMLBuilder() - constructor for class net.n3.nanoxml.StdXMLBuilder
Creates the builder.
StdXMLBuilder(net.n3.nanoxml.IXMLElement) - constructor for class net.n3.nanoxml.StdXMLBuilder
Creates the builder.
StdXMLParser - class net.n3.nanoxml.StdXMLParser
StdXMLParser is the core parser of NanoXML.
StdXMLParser() - constructor for class net.n3.nanoxml.StdXMLParser
Creates a new parser.
StdXMLReader - class net.n3.nanoxml.StdXMLReader
StdXMLReader reads the data to be parsed.
StdXMLReader(InputStream) - constructor for class net.n3.nanoxml.StdXMLReader
Initializes the XML reader.
StdXMLReader(Reader) - constructor for class net.n3.nanoxml.StdXMLReader
Initializes the XML reader.
StdXMLReader(String,String) - constructor for class net.n3.nanoxml.StdXMLReader
Initializes the reader from a system and public ID.
stream2reader(InputStream,StringBuffer) - method in class net.n3.nanoxml.StdXMLReader
Converts a stream to a reader while detecting the encoding.
stringReader(String) - static method in class net.n3.nanoxml.StdXMLReader
Creates a new reader using a string as input.
syntaxError(String) - method in class nanoxml.XMLElement
Creates a parse exception for when a syntax error occured.

T

toString() - method in class nanoxml.XMLElement
Writes the XML element to a string.
toString() - method in class net.n3.nanoxml.XMLException
Returns a string representation of the exception.

U

UNEXPECTED_ATTRIBUTE - static field in class net.n3.nanoxml.XMLValidationException
An unexpected attribute was encountered.
UNEXPECTED_ELEMENT - static field in class net.n3.nanoxml.XMLValidationException
An unexpected element was encountered.
UNEXPECTED_PCDATA - static field in class net.n3.nanoxml.XMLValidationException
An unexpected PCDATA element was encountered.
Throws an XMLValidationException to indicate that an attribute is unexpected.
Throws an XMLValidationException to indicate that an element is unexpected.
unexpectedEndOfData() - method in class nanoxml.XMLElement
Creates a parse exception for when the end of the data input has been reached.
unexpectedPCData(String,int,String) - method in class net.n3.nanoxml.ValidatorPlugin
Throws an XMLValidationException to indicate that a #PCDATA element was unexpected.
unknownEntity(String) - method in class nanoxml.XMLElement
Creates a parse exception for when an entity could not be resolved.
unread(char) - method in class net.n3.nanoxml.IXMLReader
Pushes the last character read back to the stream.
unread(char) - method in class net.n3.nanoxml.StdXMLReader
Pushes the last character read back to the stream.
unreadChar(char) - method in class nanoxml.XMLElement
Pushes a character back to the read-back buffer.

V

Throws an XMLValidationException.
ValidatorPlugin - class net.n3.nanoxml.ValidatorPlugin
ValidatorPlugin allows the application to insert additional validators into NanoXML.
ValidatorPlugin() - constructor for class net.n3.nanoxml.ValidatorPlugin
Initializes the plugin.

W

write(net.n3.nanoxml.IXMLElement) - method in class net.n3.nanoxml.XMLWriter
Writes an XML element.
write(net.n3.nanoxml.IXMLElement,boolean) - method in class net.n3.nanoxml.XMLWriter
Writes an XML element.
Writes an XML element.
Writes an XML element.
write(Writer) - method in class nanoxml.XMLElement
Writes the XML element to a writer.
writeEncoded(Writer,String) - method in class nanoxml.XMLElement
Writes a string encoded to a writer.

X

XMLElement - class nanoxml.XMLElement
XMLElement is a representation of an XML object.
XMLElement - class net.n3.nanoxml.XMLElement
XMLElement is an XML element.
XMLElement() - constructor for class nanoxml.XMLElement
Creates and initializes a new XML element.
XMLElement() - constructor for class net.n3.nanoxml.XMLElement
Creates an empty element to be used for #PCDATA content.
XMLElement(boolean) - constructor for class nanoxml.XMLElement
Creates and initializes a new XML element.
XMLElement(Hashtable) - constructor for class nanoxml.XMLElement
Creates and initializes a new XML element.
XMLElement(Hashtable,boolean) - constructor for class nanoxml.XMLElement
Creates and initializes a new XML element.
XMLElement(Hashtable,boolean,boolean) - constructor for class nanoxml.XMLElement
Creates and initializes a new XML element.
Creates and initializes a new XML element.
XMLElement(String) - constructor for class net.n3.nanoxml.XMLElement
Creates an empty element.
XMLElement(String,String) - constructor for class net.n3.nanoxml.XMLElement
Creates an empty element.
XMLElement(String,String,int) - constructor for class net.n3.nanoxml.XMLElement
Creates an empty element.
XMLElement(String,String,String,int) - constructor for class net.n3.nanoxml.XMLElement
Creates an empty element.
XMLEntityResolver - class net.n3.nanoxml.XMLEntityResolver
An XMLEntityResolver resolves entities.
XMLEntityResolver() - constructor for class net.n3.nanoxml.XMLEntityResolver
Initializes the resolver.
XMLException - class net.n3.nanoxml.XMLException
An XMLException is thrown when an exception occurred while processing the XML data.
XMLException(Exception) - constructor for class net.n3.nanoxml.XMLException
Creates a new exception.
XMLException(String) - constructor for class net.n3.nanoxml.XMLException
Creates a new exception.
XMLException(String,int,Exception) - constructor for class net.n3.nanoxml.XMLException
Creates a new exception.
Creates a new exception.
XMLException(String,int,String) - constructor for class net.n3.nanoxml.XMLException
Creates a new exception.
An XMLParseException is thrown when an error occures while parsing an XML string.
XMLParseException - class net.n3.nanoxml.XMLParseException
An XMLParseException is thrown when the XML passed to the XML parser is not well-formed.
XMLParseException(String) - constructor for class net.n3.nanoxml.XMLParseException
Creates a new exception.
Creates an exception.
XMLParseException(String,int,String) - constructor for class net.n3.nanoxml.XMLParseException
Creates a new exception.
XMLParseException(String,String) - constructor for class nanoxml.XMLParseException
Creates an exception.
XMLParserFactory - class net.n3.nanoxml.XMLParserFactory
Creates an XML parser.
An XMLValidationException is thrown when the XML passed to the XML parser is well-formed but not valid.
Creates a new exception.
XMLWriter - class net.n3.nanoxml.XMLWriter
An XMLWriter writes XML data to a stream.
XMLWriter(OutputStream) - constructor for class net.n3.nanoxml.XMLWriter
Creates a new XML writer.
XMLWriter(Writer) - constructor for class net.n3.nanoxml.XMLWriter
Creates a new XML writer.