Java Doc for XMLReaderBase.java in  » J2EE » enhydra » sax » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » J2EE » enhydra » sax 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.xml.sax.helpers.DefaultHandler
      sax.XMLReaderBase

All known Subclasses:   sax.DocumentReader,
XMLReaderBase
abstract public class XMLReaderBase extends DefaultHandler implements LexicalHandler,XMLReader(Code)
Base class for implementing an XML reader. Adapted from David Megginson's XMLFilterImpl and XMLFilterBase.


Field Summary
final protected static  AttributesEMPTY_ATTS
    
final protected static  String[]LEXICAL_HANDLER_NAMES
    

Constructor Summary
public  XMLReaderBase()
     Creates new XMLReaderBase.

Method Summary
public  voidcharacters(String data)
     Add a string of character data, with XML escaping.
public  voidcharacters(char ch, int start, int length)
     Sends character data.
public  voidcomment(char[] ch, int start, int length)
    
public  voiddataElement(String uri, String localName, String qName, Attributes atts, String content)
     Add an element with character data content.
public  voiddataElement(String uri, String localName, String content)
     Add an element with character data content but no qname or attributes.

This is a convenience method to add a complete element with character data content, including the start tag and end tag.

public  voiddataElement(String localName, Attributes atts, String content)
     Add an element with character data content but no Namespace URI or qname.

This is a convenience method to add a complete element with character data content, including the start tag and end tag.

public  voiddataElement(String localName, String content)
     Add an element with character data content but no attributes or Namespace URI.

This is a convenience method to add a complete element with character data content, including the start tag and end tag.

public  voidemptyElement(String uri, String localName, String qName, Attributes atts)
     Add an empty element. Both a XMLReaderBase.startElement startElement and an XMLReaderBase.endElement endElement event will be passed on down the filter chain.
Parameters:
  uri - The element's Namespace URI, or the empty stringif the element has no Namespace or if Namespaceprocessing is not being performed.
Parameters:
  localName - The element's local name (without prefix).
public  voidemptyElement(String uri, String localName)
     Add an empty element without a qname or attributes.

This method will supply an empty string for the qname and an empty attribute list.

public  voidemptyElement(String localName, Attributes atts)
     Add an empty element without a Namespace URI or qname.
public  voidemptyElement(String localName)
     Add an empty element without a Namespace URI, qname or attributes.

This method will supply an empty string for the qname, and empty string for the Namespace URI, and an empty attribute list.

public  voidendCDATA()
    
public  voidendDTD()
     Sends end of DTD.
public  voidendDocument()
     Send end of document.
public  voidendElement(String uri, String localName)
     End an element without a qname.
public  voidendElement(String localName)
     End an element without a Namespace URI or qname.
public  voidendElement(String uri, String localName, String qName)
     Sends end of element.
public  voidendEntity(String name)
    
public  voidendPrefixMapping(String prefix)
     Sends end of namespace prefix mapping.
public  voiderror(SAXParseException e)
     Sends error.
public  voidfatalError(SAXParseException e)
     Sends fatal error.
public  ContentHandlergetContentHandler()
     Get the content event handler.
public  DTDHandlergetDTDHandler()
     Get the current DTD event handler.
public  EntityResolvergetEntityResolver()
     Get the current entity resolver.
public  ErrorHandlergetErrorHandler()
     Get the current error event handler.
public  booleangetFeature(String name)
     Look up the state of a feature.

This will always fail.


Parameters:
  name - The feature name.
public  LexicalHandlergetLexicalHandler()
     Get the current lexical handler.
public  ObjectgetProperty(String name)
     Look up the value of a property.

Only lexical-handler properties are recognized.


Parameters:
  name - The property name.
public  voidignorableWhitespace(char ch, int start, int length)
     Sends ignorable whitespace.
public  voidnotationDecl(String name, String publicId, String systemId)
     Add notation declaration.
abstract public  voidparse(InputSource input)
     Parse a document.
public  voidparse(String systemId)
     Parse a document.
public  voidprocessingInstruction(String target, String data)
     Sends processing instruction.
public  InputSourceresolveEntity(String publicId, String systemId)
     Resolves an external entity.
Parameters:
  publicId - The entity's public identifier, or null.
Parameters:
  systemId - The entity's system identifier.
public  voidsetContentHandler(ContentHandler handler)
     Set the content event handler.
public  voidsetDTDHandler(DTDHandler handler)
     Set the DTD event handler.
public  voidsetDocumentLocator(Locator locator)
     Assigns the document locator.
public  voidsetEntityResolver(EntityResolver resolver)
     Set the entity resolver.
public  voidsetErrorHandler(ErrorHandler handler)
     Set the error event handler.
public  voidsetFeature(String name, boolean state)
     Set the state of a feature.
public  voidsetLexicalHandler(LexicalHandler handler)
     Set the lexical handler.
public  voidsetProperty(String name, Object value)
     Set the value of a property.
public  voidskippedEntity(String name)
     Sends skipped entity.
public  voidstartCDATA()
    
public  voidstartDTD(String name, String publicId, String systemId)
     Sends start of DTD.
public  voidstartDocument()
     Send start of document.
public  voidstartElement(String uri, String localName)
     Start a new element without a qname or attributes.

This method will provide a default empty attribute list and an empty string for the qualified name.

public  voidstartElement(String localName, Attributes atts)
     Start a new element without a Namespace URI or qname.
public  voidstartElement(String localName)
     Start a new element without a Namespace URI, qname, or attributes.

This method will provide an empty string for the Namespace URI, and empty string for the qualified name, and a default empty attribute list.

public  voidstartElement(String uri, String localName, String qName, Attributes atts)
     Sends start of element.
public  voidstartEntity(String name)
    
public  voidstartPrefixMapping(String prefix, String uri)
     Sends start of namespace prefix mapping.
public  voidunparsedEntityDecl(String name, String publicId, String systemId, String notationName)
     Add unparsed entity declaration.
public  voidwarning(SAXParseException e)
     Sends warning.

Field Detail
EMPTY_ATTS
final protected static Attributes EMPTY_ATTS(Code)



LEXICAL_HANDLER_NAMES
final protected static String[] LEXICAL_HANDLER_NAMES(Code)




Constructor Detail
XMLReaderBase
public XMLReaderBase()(Code)
Creates new XMLReaderBase.




Method Detail
characters
public void characters(String data) throws SAXException(Code)
Add a string of character data, with XML escaping.

This is a convenience method that takes an XML String, converts it to a character array, then invokes @see org.xml.sax.ContentHandler#characters .


Parameters:
  data - The character data.
exception:
  org.xml.sax.SAXException - If a filterfurther down the chain raises an exception.
See Also:    @see org.xml.sax.ContentHandler#characters



characters
public void characters(char ch, int start, int length) throws SAXException(Code)
Sends character data.
Parameters:
  ch - An array of characters.
Parameters:
  start - The starting position in the array.
Parameters:
  length - The number of characters to use from the array.
exception:
  org.xml.sax.SAXException - The client may throwan exception during processing.
See Also:   org.xml.sax.ContentHandler.characters



comment
public void comment(char[] ch, int start, int length) throws SAXException(Code)



dataElement
public void dataElement(String uri, String localName, String qName, Attributes atts, String content) throws SAXException(Code)
Add an element with character data content.

This is a convenience method to add a complete element with character data content, including the start tag and end tag.

This method invokes @see org.xml.sax.ContentHandler#startElement , followed by XMLReaderBase.characters(String) , followed by @see org.xml.sax.ContentHandler#endElement .


Parameters:
  uri - The element's Namespace URI.
Parameters:
  localName - The element's local name.
Parameters:
  qName - The element's default qualified name.
Parameters:
  atts - The element's attributes.
Parameters:
  content - The character data content.
exception:
  org.xml.sax.SAXException - If a filterfurther down the chain raises an exception.
See Also:   org.xml.sax.ContentHandler.startElement
See Also:   XMLReaderBase.characters(String)
See Also:   org.xml.sax.ContentHandler.endElement



dataElement
public void dataElement(String uri, String localName, String content) throws SAXException(Code)
Add an element with character data content but no qname or attributes.

This is a convenience method to add a complete element with character data content, including the start tag and end tag. This method provides an empty string for the qname and an empty attribute list. It invokes XMLReaderBase.dataElement(String,String,String,Attributes,String) } directly.


Parameters:
  uri - The element's Namespace URI.
Parameters:
  localName - The element's local name.
Parameters:
  content - The character data content.
exception:
  org.xml.sax.SAXException - If a filterfurther down the chain raises an exception.
See Also:   org.xml.sax.ContentHandler.startElement
See Also:   XMLReaderBase.characters(String)
See Also:   org.xml.sax.ContentHandler.endElement



dataElement
public void dataElement(String localName, Attributes atts, String content) throws SAXException(Code)
Add an element with character data content but no Namespace URI or qname.

This is a convenience method to add a complete element with character data content, including the start tag and end tag. The method provides an empty string for the Namespace URI, and empty string for the qualified name. It invokes XMLReaderBase.dataElement(String,String,String,Attributes,String) } directly.


Parameters:
  localName - The element's local name.
Parameters:
  atts - The element's attributes.
Parameters:
  content - The character data content.
exception:
  org.xml.sax.SAXException - If a filterfurther down the chain raises an exception.
See Also:   org.xml.sax.ContentHandler.startElement
See Also:   XMLReaderBase.characters(String)
See Also:   org.xml.sax.ContentHandler.endElement



dataElement
public void dataElement(String localName, String content) throws SAXException(Code)
Add an element with character data content but no attributes or Namespace URI.

This is a convenience method to add a complete element with character data content, including the start tag and end tag. The method provides an empty string for the Namespace URI, and empty string for the qualified name, and an empty attribute list. It invokes XMLReaderBase.dataElement(String,String,String,Attributes,String) } directly.


Parameters:
  localName - The element's local name.
Parameters:
  content - The character data content.
exception:
  org.xml.sax.SAXException - If a filterfurther down the chain raises an exception.
See Also:   org.xml.sax.ContentHandler.startElement
See Also:   XMLReaderBase.characters(String)
See Also:   org.xml.sax.ContentHandler.endElement



emptyElement
public void emptyElement(String uri, String localName, String qName, Attributes atts) throws SAXException(Code)
Add an empty element. Both a XMLReaderBase.startElement startElement and an XMLReaderBase.endElement endElement event will be passed on down the filter chain.
Parameters:
  uri - The element's Namespace URI, or the empty stringif the element has no Namespace or if Namespaceprocessing is not being performed.
Parameters:
  localName - The element's local name (without prefix). Thisparameter must be provided.
Parameters:
  qName - The element's qualified name (with prefix), orthe empty string if none is available. This parameteris strictly advisory: the writer may or may not usethe prefix attached.
Parameters:
  atts - The element's attribute list.
exception:
  org.xml.sax.SAXException - If a filterfurther down the chain raises an exception.
See Also:   org.xml.sax.ContentHandler.startElement
See Also:   org.xml.sax.ContentHandler.endElement



emptyElement
public void emptyElement(String uri, String localName) throws SAXException(Code)
Add an empty element without a qname or attributes.

This method will supply an empty string for the qname and an empty attribute list. It invokes XMLReaderBase.emptyElement(String,String,String,Attributes) directly.


Parameters:
  uri - The element's Namespace URI.
Parameters:
  localName - The element's local name.
exception:
  org.xml.sax.SAXException - If a filterfurther down the chain raises an exception.
See Also:   XMLReaderBase.emptyElement(String,String,String,Attributes)



emptyElement
public void emptyElement(String localName, Attributes atts) throws SAXException(Code)
Add an empty element without a Namespace URI or qname.

This method will provide an empty string for the Namespace URI, and empty string for the qualified name. It invokes XMLReaderBase.emptyElement(String,String,String,Attributes) directly.


Parameters:
  localName - The element's local name.
Parameters:
  atts - The element's attribute list.
exception:
  org.xml.sax.SAXException - If a filterfurther down the chain raises an exception.
See Also:   org.xml.sax.ContentHandler.startElement



emptyElement
public void emptyElement(String localName) throws SAXException(Code)
Add an empty element without a Namespace URI, qname or attributes.

This method will supply an empty string for the qname, and empty string for the Namespace URI, and an empty attribute list. It invokes XMLReaderBase.emptyElement(String,String,String,Attributes) directly.


Parameters:
  localName - The element's local name.
exception:
  org.xml.sax.SAXException - If a filterfurther down the chain raises an exception.
See Also:   XMLReaderBase.emptyElement(String,String,String,Attributes)



endCDATA
public void endCDATA() throws SAXException(Code)



endDTD
public void endDTD() throws SAXException(Code)
Sends end of DTD.
exception:
  org.xml.sax.SAXException - If a filterfurther down the chain raises an exception.
See Also:   org.xml.sax.ext.LexicalHandler.endDTD



endDocument
public void endDocument() throws SAXException(Code)
Send end of document.
exception:
  org.xml.sax.SAXException - The client may throwan exception during processing.
See Also:   org.xml.sax.ContentHandler.endDocument



endElement
public void endElement(String uri, String localName) throws SAXException(Code)
End an element without a qname.

This method will supply an empty string for the qName. It invokes XMLReaderBase.endElement(String,String,String) directly.


Parameters:
  uri - The element's Namespace URI.
Parameters:
  localName - The element's local name.
exception:
  org.xml.sax.SAXException - If a filterfurther down the chain raises an exception.
See Also:   org.xml.sax.ContentHandler.endElement



endElement
public void endElement(String localName) throws SAXException(Code)
End an element without a Namespace URI or qname.

This method will supply an empty string for the qName and an empty string for the Namespace URI. It invokes XMLReaderBase.endElement(String,String,String) directly.


Parameters:
  localName - The element's local name.
exception:
  org.xml.sax.SAXException - If a filterfurther down the chain raises an exception.
See Also:   org.xml.sax.ContentHandler.endElement



endElement
public void endElement(String uri, String localName, String qName) throws SAXException(Code)
Sends end of element.
Parameters:
  uri - The element's Namespace URI, or the empty string.
Parameters:
  localName - The element's local name, or the empty string.
Parameters:
  qName - The element's qualified (prefixed) name, or the emptystring.
exception:
  org.xml.sax.SAXException - The client may throwan exception during processing.
See Also:   org.xml.sax.ContentHandler.endElement



endEntity
public void endEntity(String name) throws SAXException(Code)



endPrefixMapping
public void endPrefixMapping(String prefix) throws SAXException(Code)
Sends end of namespace prefix mapping.
Parameters:
  prefix - The Namespace prefix.
exception:
  org.xml.sax.SAXException - The client may throwan exception during processing.
See Also:   org.xml.sax.ContentHandler.endPrefixMapping



error
public void error(SAXParseException e) throws SAXException(Code)
Sends error.
Parameters:
  e - The error as an exception.
exception:
  org.xml.sax.SAXException - The client may throwan exception during processing.
See Also:   org.xml.sax.ErrorHandler.error



fatalError
public void fatalError(SAXParseException e) throws SAXException(Code)
Sends fatal error.
Parameters:
  e - The error as an exception.
exception:
  org.xml.sax.SAXException - The client may throwan exception during processing.
See Also:   org.xml.sax.ErrorHandler.fatalError



getContentHandler
public ContentHandler getContentHandler()(Code)
Get the content event handler. The current content handler, or null if none was set.
See Also:   org.xml.sax.XMLReader.getContentHandler



getDTDHandler
public DTDHandler getDTDHandler()(Code)
Get the current DTD event handler. The current DTD handler, or null if none was set.
See Also:   org.xml.sax.XMLReader.getDTDHandler



getEntityResolver
public EntityResolver getEntityResolver()(Code)
Get the current entity resolver. The current entity resolver, or null if none was set.
See Also:   org.xml.sax.XMLReader.getEntityResolver



getErrorHandler
public ErrorHandler getErrorHandler()(Code)
Get the current error event handler. The current error handler, or null if none was set.
See Also:   org.xml.sax.XMLReader.getErrorHandler



getFeature
public boolean getFeature(String name) throws SAXNotRecognizedException, SAXNotSupportedException(Code)
Look up the state of a feature.

This will always fail.


Parameters:
  name - The feature name. The current state of the feature.
exception:
  org.xml.sax.SAXNotRecognizedException - When theXMLReader does not recognize the feature name.
exception:
  org.xml.sax.SAXNotSupportedException - When theXMLReader recognizes the feature name butcannot determine its state at this time.
See Also:   org.xml.sax.XMLReader.getFeature



getLexicalHandler
public LexicalHandler getLexicalHandler()(Code)
Get the current lexical handler. The current lexical handler, or null if none was set.



getProperty
public Object getProperty(String name) throws SAXNotRecognizedException, SAXNotSupportedException(Code)
Look up the value of a property.

Only lexical-handler properties are recognized.


Parameters:
  name - The property name. The current value of the property.
exception:
  org.xml.sax.SAXNotRecognizedException - When theXMLReader does not recognize the feature name.
exception:
  org.xml.sax.SAXNotSupportedException - When theXMLReader recognizes the property name butcannot determine its value at this time.
See Also:   org.xml.sax.XMLReader.setFeature



ignorableWhitespace
public void ignorableWhitespace(char ch, int start, int length) throws SAXException(Code)
Sends ignorable whitespace.
Parameters:
  ch - An array of characters.
Parameters:
  start - The starting position in the array.
Parameters:
  length - The number of characters to use from the array.
exception:
  org.xml.sax.SAXException - The client may throwan exception during processing.
See Also:   org.xml.sax.ContentHandler.ignorableWhitespace



notationDecl
public void notationDecl(String name, String publicId, String systemId) throws SAXException(Code)
Add notation declaration.
Parameters:
  name - The notation name.
Parameters:
  publicId - The notation's public identifier, or null.
Parameters:
  systemId - The notation's system identifier, or null.
exception:
  org.xml.sax.SAXException - The client may throwan exception during processing.
See Also:   org.xml.sax.DTDHandler.notationDecl



parse
abstract public void parse(InputSource input) throws SAXException, IOException(Code)
Parse a document. Subclass must implement.
Parameters:
  input - The input source for the document entity.
exception:
  org.xml.sax.SAXException - Any SAX exception, possiblywrapping another exception.
exception:
  java.io.IOException - An IO exception from the parser,possibly from a byte stream or character streamsupplied by the application.
See Also:   org.xml.sax.XMLReader.parse(org.xml.sax.InputSource)



parse
public void parse(String systemId) throws SAXException, IOException(Code)
Parse a document.
Parameters:
  systemId - The system identifier as a fully-qualified URI.
exception:
  org.xml.sax.SAXException - Any SAX exception, possiblywrapping another exception.
exception:
  java.io.IOException - An IO exception from the parser,possibly from a byte stream or character streamsupplied by the application.
See Also:   org.xml.sax.XMLReader.parse(java.lang.String)



processingInstruction
public void processingInstruction(String target, String data) throws SAXException(Code)
Sends processing instruction.
Parameters:
  target - The processing instruction target.
Parameters:
  data - The text following the target.
exception:
  org.xml.sax.SAXException - The client may throwan exception during processing.
See Also:   org.xml.sax.ContentHandler.processingInstruction



resolveEntity
public InputSource resolveEntity(String publicId, String systemId) throws SAXException(Code)
Resolves an external entity.
Parameters:
  publicId - The entity's public identifier, or null.
Parameters:
  systemId - The entity's system identifier. A new InputSource or null for the default.
exception:
  org.xml.sax.SAXException - The client may throwan exception during processing.
exception:
  java.io.IOException - The client may throw anI/O-related exception while obtaining thenew InputSource.
See Also:   org.xml.sax.EntityResolver.resolveEntity



setContentHandler
public void setContentHandler(ContentHandler handler)(Code)
Set the content event handler.
Parameters:
  resolver - The new content handler.
exception:
  java.lang.NullPointerException - If the handleris null.
See Also:   org.xml.sax.XMLReader.setContentHandler



setDTDHandler
public void setDTDHandler(DTDHandler handler)(Code)
Set the DTD event handler.
Parameters:
  resolver - The new DTD handler.
exception:
  java.lang.NullPointerException - If the handleris null.
See Also:   org.xml.sax.XMLReader.setDTDHandler



setDocumentLocator
public void setDocumentLocator(Locator locator)(Code)
Assigns the document locator.
Parameters:
  locator - The document locator.
See Also:   org.xml.sax.ContentHandler.setDocumentLocator



setEntityResolver
public void setEntityResolver(EntityResolver resolver)(Code)
Set the entity resolver.
Parameters:
  resolver - The new entity resolver.
exception:
  java.lang.NullPointerException - If the resolveris null.
See Also:   org.xml.sax.XMLReader.setEntityResolver



setErrorHandler
public void setErrorHandler(ErrorHandler handler)(Code)
Set the error event handler.
Parameters:
  handle - The new error handler.
exception:
  java.lang.NullPointerException - If the handleris null.
See Also:   org.xml.sax.XMLReader.setErrorHandler



setFeature
public void setFeature(String name, boolean state) throws SAXNotRecognizedException, SAXNotSupportedException(Code)
Set the state of a feature.

This will always fail.


Parameters:
  name - The feature name.
Parameters:
  state - The requested feature state.
exception:
  org.xml.sax.SAXNotRecognizedException - When theXMLReader does not recognize the feature name.
exception:
  org.xml.sax.SAXNotSupportedException - When theXMLReader recognizes the feature name butcannot set the requested value.
See Also:   org.xml.sax.XMLReader.setFeature



setLexicalHandler
public void setLexicalHandler(LexicalHandler handler)(Code)
Set the lexical handler.
Parameters:
  handler - The new lexical handler.
exception:
  java.lang.NullPointerException - If the handleris null.



setProperty
public void setProperty(String name, Object value) throws SAXNotRecognizedException, SAXNotSupportedException(Code)
Set the value of a property.

Only lexical-handler properties are recognized.


Parameters:
  name - The property name.
Parameters:
  state - The requested property value.
exception:
  org.xml.sax.SAXNotRecognizedException - When theXMLReader does not recognize the property name.
exception:
  org.xml.sax.SAXNotSupportedException - When theXMLReader recognizes the property name butcannot set the requested value.
See Also:   org.xml.sax.XMLReader.setProperty



skippedEntity
public void skippedEntity(String name) throws SAXException(Code)
Sends skipped entity.
Parameters:
  name - The name of the skipped entity.
exception:
  org.xml.sax.SAXException - The client may throwan exception during processing.
See Also:   org.xml.sax.ContentHandler.skippedEntity



startCDATA
public void startCDATA() throws SAXException(Code)



startDTD
public void startDTD(String name, String publicId, String systemId) throws SAXException(Code)
Sends start of DTD.
Parameters:
  name - The document type name.
Parameters:
  publicId - The declared public identifier for theexternal DTD subset, or null if none was declared.
Parameters:
  systemId - The declared system identifier for theexternal DTD subset, or null if none was declared.
exception:
  org.xml.sax.SAXException - If a filterfurther down the chain raises an exception.
See Also:   org.xml.sax.ext.LexicalHandler.startDTD



startDocument
public void startDocument() throws SAXException(Code)
Send start of document.
exception:
  org.xml.sax.SAXException - The client may throwan exception during processing.
See Also:   org.xml.sax.ContentHandler.startDocument



startElement
public void startElement(String uri, String localName) throws SAXException(Code)
Start a new element without a qname or attributes.

This method will provide a default empty attribute list and an empty string for the qualified name. It invokes XMLReaderBase.startElement(String,String,String,Attributes) directly.


Parameters:
  uri - The element's Namespace URI.
Parameters:
  localName - The element's local name.
exception:
  org.xml.sax.SAXException - If a filterfurther down the chain raises an exception.
See Also:   org.xml.sax.ContentHandler.startElement



startElement
public void startElement(String localName, Attributes atts) throws SAXException(Code)
Start a new element without a Namespace URI or qname.

This method will provide an empty string for the Namespace URI, and empty string for the qualified name. It invokes XMLReaderBase.startElement(String,String,String,Attributes) directly.


Parameters:
  localName - The element's local name.
Parameters:
  atts - The element's attribute list.
exception:
  org.xml.sax.SAXException - If a filterfurther down the chain raises an exception.
See Also:   org.xml.sax.ContentHandler.startElement



startElement
public void startElement(String localName) throws SAXException(Code)
Start a new element without a Namespace URI, qname, or attributes.

This method will provide an empty string for the Namespace URI, and empty string for the qualified name, and a default empty attribute list. It invokes XMLReaderBase.startElement(String,String,String,Attributes) directly.


Parameters:
  localName - The element's local name.
exception:
  org.xml.sax.SAXException - If a filterfurther down the chain raises an exception.
See Also:   org.xml.sax.ContentHandler.startElement



startElement
public void startElement(String uri, String localName, String qName, Attributes atts) throws SAXException(Code)
Sends start of element.
Parameters:
  uri - The element's Namespace URI, or the empty string.
Parameters:
  localName - The element's local name, or the empty string.
Parameters:
  qName - The element's qualified (prefixed) name, or the emptystring.
Parameters:
  atts - The element's attributes.
exception:
  org.xml.sax.SAXException - The client may throwan exception during processing.
See Also:   org.xml.sax.ContentHandler.startElement



startEntity
public void startEntity(String name) throws SAXException(Code)



startPrefixMapping
public void startPrefixMapping(String prefix, String uri) throws SAXException(Code)
Sends start of namespace prefix mapping.
Parameters:
  prefix - The Namespace prefix.
Parameters:
  uri - The Namespace URI.
exception:
  org.xml.sax.SAXException - The client may throwan exception during processing.
See Also:   org.xml.sax.ContentHandler.startPrefixMapping



unparsedEntityDecl
public void unparsedEntityDecl(String name, String publicId, String systemId, String notationName) throws SAXException(Code)
Add unparsed entity declaration.
Parameters:
  name - The entity name.
Parameters:
  publicId - The entity's public identifier, or null.
Parameters:
  systemId - The entity's system identifier, or null.
Parameters:
  notationName - The name of the associated notation.
exception:
  org.xml.sax.SAXException - The client may throwan exception during processing.
See Also:   org.xml.sax.DTDHandler.unparsedEntityDecl



warning
public void warning(SAXParseException e) throws SAXException(Code)
Sends warning.
Parameters:
  e - The nwarning as an exception.
exception:
  org.xml.sax.SAXException - The client may throwan exception during processing.
See Also:   org.xml.sax.ErrorHandler.warning



Methods inherited from org.xml.sax.helpers.DefaultHandler
public void characters(char ch, int start, int length) throws SAXException(Code)(Java Doc)
public void endDocument() throws SAXException(Code)(Java Doc)
public void endElement(String uri, String localName, String qName) throws SAXException(Code)(Java Doc)
public void endPrefixMapping(String prefix) throws SAXException(Code)(Java Doc)
public void error(SAXParseException e) throws SAXException(Code)(Java Doc)
public void fatalError(SAXParseException e) throws SAXException(Code)(Java Doc)
public void ignorableWhitespace(char ch, int start, int length) throws SAXException(Code)(Java Doc)
public void notationDecl(String name, String publicId, String systemId) throws SAXException(Code)(Java Doc)
public void processingInstruction(String target, String data) throws SAXException(Code)(Java Doc)
public InputSource resolveEntity(String publicId, String systemId) throws IOException, SAXException(Code)(Java Doc)
public void setDocumentLocator(Locator locator)(Code)(Java Doc)
public void skippedEntity(String name) throws SAXException(Code)(Java Doc)
public void startDocument() throws SAXException(Code)(Java Doc)
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException(Code)(Java Doc)
public void startPrefixMapping(String prefix, String uri) throws SAXException(Code)(Java Doc)
public void unparsedEntityDecl(String name, String publicId, String systemId, String notationName) throws SAXException(Code)(Java Doc)
public void warning(SAXParseException e) throws SAXException(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.