Simple Api For Xml Version 2 For Java

ADVERTISEMENT

INTERFACES
processingInstruction
getLineNumber
Receive notification of a processing instruction.
Return the line number where the current document event ends.
org.xml.sax.Attributes
void processingInstruction(String target, String data)
int getLineNumber()
setDocumentLocator
getPublicId
getIndex
Receive an object for locating the origin of SAX document events.
Return the public identifier for the current document event.
Look up the index of an attribute by XML 1.0 qualified name.
void setDocumentLocator(Locator locator)
String getPublicId()
int getIndex(String qName)
skippedEntity
getSystemId
Look up the index of an attribute by Namespace name.
int getIndex(String uri, String localPart)
Receive notification of a skipped entity.
Return the system identifier for the current document event.
getLength
void skippedEntity(String name)
String getSystemId()
Return the number of attributes in the list.
startDocument
org.xml.sax.XMLFilter
int getLength()
Receive notification of the beginning of a document.
getParent
getLocalName
void startDocument()
Get the parent reader.
Look up an attribute's local name by index.
startElement
XMLReader getParent()
String getLocalName(int index)
Receive notification of the beginning of an element.
setParent
getQName
void startElement(String namespaceURI,
Set the parent reader.
String localName,
Look up an attribute's XML 1.0 qualified name by index.
void setParent(XMLReader parent)
String qName,
String getQName(int index)
Attributes atts)
org.xml.sax.XMLReader
getType
startPrefixMapping
getContentHandler
Look up an attribute's type by index.
Begin the scope of a prefix-URI Namespace mapping.
String getType(int index)
Return the current content handler.
void startPrefixMapping(String prefix, String uri)
Look up an attribute's type by XML 1.0 qualified name.
ContentHandler getContentHandler()
org.xml.sax.DTDHandler
String getType(String qName)
getDTDHandler
Look up an attribute's type by Namespace name.
notationDecl
String getType(String uri, String localName)
Return the current DTD handler.
getURI
Receive notification of a notation declaration event.
DTDHandler getDTDHandler()
void notationDecl(String name,
getEntityResolver
Look up an attribute's Namespace URI by index.
String publicId, String systemId)
String getURI(int index)
Return the current entity resolver.
unparsedEntityDecl
getValue
EntityResolver getEntityResolver()
Receive notification of an unparsed entity declaration event.
getErrorHandler
Look up an attribute's value by index.
void unparsedEntityDecl(String name,
String getValue(int index)
Return the current error handler.
String publicId,
Look up an attribute's value by XML 1.0 qualified name.
String systemId,
ErrorHandler getErrorHandler()
String getValue(String qName)
String notationName)
getFeature
Look up an attribute's value by Namespace name.
org.xml.sax.EntityResolver
Look up the value of a feature.
String getValue(String uri, String localName)
resolveEntity
boolean getFeature(String name)
org.xml.sax.ContentHandler
getProperty
Allow the application to resolve external entities.
characters
InputSource resolveEntity(String publicId,
Look up the value of a property.
Receive notification of character data.
String systemId)
java.lang.Object getProperty(String name)
org.xml.sax.ErrorHandler
void characters(char[] ch, int start, int len)
parse
endDocument
error
Parse an XML document.
Receive notification of the end of a document.
void parse(InputSource input)
Receive notification of a recoverable error.
void endDocument()
Parse an XML document from a system identifier (URI).
void error(SAXParseException exception)
endElement
void parse(String systemId)
fatalError
setContentHandler
Receive notification of the end of an element.
Receive notification of a non-recoverable error.
void endElement(String namespaceURI,
Allow an application to register a content event handler.
void fatalError(SAXParseException exception)
String localName,
void setContentHandler(ContentHandler handler)
warning
String qName)
setDTDHandler
endPrefixMapping
Receive notification of a warning.
Allow an application to register a DTD event handler.
void warning(SAXParseException exception)
End the scope of a prefix-URI mapping.
void setDTDHandler(DTDHandler handler)
org.xml.sax.Locator
void endPrefixMapping(String prefix)
setEntityResolver
ignorableWhitespace
getColumnNumber
Allow an application to register an entity resolver.
Receive notification of ignorable whitespace in element content.
Return the column number where the current document event ends.
void setEntityResolver(EntityResolver resolver)
void ignorableWhitespace(char[] ch, int start, int len)
int getColumnNumber()

ADVERTISEMENT

00 votes

Related Articles

Related forms

Related Categories

Parent category: Education
Go
Page of 2