Java Doc for SchemaDOMParser.java in  » XML » xerces-2_9_1 » org » apache » xerces » impl » xs » opti » 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 » XML » xerces 2_9_1 » org.apache.xerces.impl.xs.opti 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.xerces.impl.xs.opti.DefaultXMLDocumentHandler
      org.apache.xerces.impl.xs.opti.SchemaDOMParser

SchemaDOMParser
public class SchemaDOMParser extends DefaultXMLDocumentHandler (Code)

author:
   Rahul Srivastava, Sun Microsystems Inc.
author:
   Sandy Gao, IBM
version:
   $Id: SchemaDOMParser.java 446728 2006-09-15 20:43:46Z mrglavas $


Field Summary
final public static  StringERROR_REPORTER
     Property identifier: error reporter.
final public static  StringGENERATE_SYNTHETIC_ANNOTATION
     Feature identifier: generate synthetic annotations.
 XMLParserConfigurationconfig
    
 XMLErrorReporterfErrorReporter
    
protected  XMLLocatorfLocator
    
protected  NamespaceContextfNamespaceContext
    
 SchemaDOMschemaDOM
    

Constructor Summary
public  SchemaDOMParser(XMLParserConfiguration config)
     Default constructor.

Method Summary
public  voidcharacters(XMLString text, Augmentations augs)
     Character content.
public  voidcomment(XMLString text, Augmentations augs)
     A comment.
public  voidemptyElement(QName element, XMLAttributes attributes, Augmentations augs)
     An empty element.
public  voidendCDATA(Augmentations augs)
     The end of a CDATA section.
public  voidendDocument(Augmentations augs)
     The end of the document.
public  voidendElement(QName element, Augmentations augs)
     The end of an element.
public  DocumentgetDocument()
     Returns the DOM document object.
public  DocumentgetDocument2()
    
public  booleangetFeature(String featureId)
    
public  ObjectgetProperty(String propertyId)
     Delegates to SchemaParsingConfig.getProperty.
public  voidignorableWhitespace(XMLString text, Augmentations augs)
     Ignorable whitespace.
public  voidparse(XMLInputSource inputSource)
    
public  voidprocessingInstruction(String target, XMLString data, Augmentations augs)
     A processing instruction.
public  voidreset()
    
public  voidresetNodePool()
    
public  voidsetEntityResolver(XMLEntityResolver er)
     Delegates to SchemaParsingConfig.setEntityResolver.
public  voidsetFeature(String featureId, boolean state)
    
public  voidsetProperty(String propertyId, Object value)
     Delegates to SchemaParsingConfig.setProperty.
public  voidstartCDATA(Augmentations augs)
     The start of a CDATA section.
public  voidstartDocument(XMLLocator locator, String encoding, NamespaceContext namespaceContext, Augmentations augs)
    
public  voidstartElement(QName element, XMLAttributes attributes, Augmentations augs)
     The start of an element.

Field Detail
ERROR_REPORTER
final public static String ERROR_REPORTER(Code)
Property identifier: error reporter.



GENERATE_SYNTHETIC_ANNOTATION
final public static String GENERATE_SYNTHETIC_ANNOTATION(Code)
Feature identifier: generate synthetic annotations.



config
XMLParserConfiguration config(Code)



fErrorReporter
XMLErrorReporter fErrorReporter(Code)



fLocator
protected XMLLocator fLocator(Code)



fNamespaceContext
protected NamespaceContext fNamespaceContext(Code)



schemaDOM
SchemaDOM schemaDOM(Code)




Constructor Detail
SchemaDOMParser
public SchemaDOMParser(XMLParserConfiguration config)(Code)
Default constructor.




Method Detail
characters
public void characters(XMLString text, Augmentations augs) throws XNIException(Code)
Character content.
Parameters:
  text - The content.
Parameters:
  augs - Additional information that may include infoset augmentations
exception:
  XNIException - Thrown by handler to signal an error.



comment
public void comment(XMLString text, Augmentations augs) throws XNIException(Code)
A comment.
Parameters:
  text - The text in the comment.
Parameters:
  augs - Additional information that may include infoset augmentations
exception:
  XNIException - Thrown by application to signal an error.



emptyElement
public void emptyElement(QName element, XMLAttributes attributes, Augmentations augs) throws XNIException(Code)
An empty element.
Parameters:
  element - The name of the element.
Parameters:
  attributes - The element attributes.
Parameters:
  augs - Additional information that may include infoset augmentations
exception:
  XNIException - Thrown by handler to signal an error.



endCDATA
public void endCDATA(Augmentations augs) throws XNIException(Code)
The end of a CDATA section.
Parameters:
  augs - Additional information that may include infoset augmentations
exception:
  XNIException - Thrown by handler to signal an error.



endDocument
public void endDocument(Augmentations augs) throws XNIException(Code)
The end of the document.
Parameters:
  augs - Additional information that may include infoset augmentations
throws:
  XNIException - Thrown by handler to signal an error.



endElement
public void endElement(QName element, Augmentations augs) throws XNIException(Code)
The end of an element.
Parameters:
  element - The name of the element.
Parameters:
  augs - Additional information that may include infoset augmentations
exception:
  XNIException - Thrown by handler to signal an error.



getDocument
public Document getDocument()(Code)
Returns the DOM document object.



getDocument2
public Document getDocument2()(Code)
Gets the document from SchemaParsingConfig Document



getFeature
public boolean getFeature(String featureId)(Code)
Delegates to SchemaParsingConfig.getFeature
Parameters:
  featureId - boolean



getProperty
public Object getProperty(String propertyId)(Code)
Delegates to SchemaParsingConfig.getProperty.
Parameters:
  propertyId - Object



ignorableWhitespace
public void ignorableWhitespace(XMLString text, Augmentations augs) throws XNIException(Code)
Ignorable whitespace. For this method to be called, the document source must have some way of determining that the text containing only whitespace characters should be considered ignorable. For example, the validator can determine if a length of whitespace characters in the document are ignorable based on the element content model.
Parameters:
  text - The ignorable whitespace.
Parameters:
  augs - Additional information that may include infoset augmentations
exception:
  XNIException - Thrown by handler to signal an error.



parse
public void parse(XMLInputSource inputSource) throws IOException(Code)
Delegates parsing to SchemaParsingConfig
Parameters:
  inputSource -
throws:
  IOException -



processingInstruction
public void processingInstruction(String target, XMLString data, Augmentations augs) throws XNIException(Code)
A processing instruction. Processing instructions consist of a target name and, optionally, text data. The data is only meaningful to the application.

Typically, a processing instruction's data will contain a series of pseudo-attributes. These pseudo-attributes follow the form of element attributes but are not parsed or presented to the application as anything other than text. The application is responsible for parsing the data.
Parameters:
  target - The target.
Parameters:
  data - The data or null if none specified.
Parameters:
  augs - Additional information that may include infoset augmentations
exception:
  XNIException - Thrown by handler to signal an error.




reset
public void reset()(Code)
Reset SchemaParsingConfig



resetNodePool
public void resetNodePool()(Code)
ResetNodePool on SchemaParsingConfig



setEntityResolver
public void setEntityResolver(XMLEntityResolver er)(Code)
Delegates to SchemaParsingConfig.setEntityResolver.
Parameters:
  er - XMLEntityResolver



setFeature
public void setFeature(String featureId, boolean state)(Code)
Delegates to SchemaParsingConfig.setFeature
Parameters:
  featureId -
Parameters:
  state -



setProperty
public void setProperty(String propertyId, Object value)(Code)
Delegates to SchemaParsingConfig.setProperty.
Parameters:
  propertyId -
Parameters:
  value -



startCDATA
public void startCDATA(Augmentations augs) throws XNIException(Code)
The start of a CDATA section.
Parameters:
  augs - Additional information that may include infoset augmentations
exception:
  XNIException - Thrown by handler to signal an error.



startDocument
public void startDocument(XMLLocator locator, String encoding, NamespaceContext namespaceContext, Augmentations augs) throws XNIException(Code)



startElement
public void startElement(QName element, XMLAttributes attributes, Augmentations augs) throws XNIException(Code)
The start of an element.
Parameters:
  element - The name of the element.
Parameters:
  attributes - The element attributes.
Parameters:
  augs - Additional information that may include infoset augmentations
exception:
  XNIException - Thrown by handler to signal an error.



Methods inherited from org.apache.xerces.impl.xs.opti.DefaultXMLDocumentHandler
public void any(Augmentations augmentations) throws XNIException(Code)(Java Doc)
public void attributeDecl(String elementName, String attributeName, String type, String[] enumeration, String defaultType, XMLString defaultValue, XMLString nonNormalizedDefaultValue, Augmentations augmentations) throws XNIException(Code)(Java Doc)
public void characters(XMLString text, Augmentations augs) throws XNIException(Code)(Java Doc)
public void comment(XMLString text, Augmentations augs) throws XNIException(Code)(Java Doc)
public void doctypeDecl(String rootElement, String publicId, String systemId, Augmentations augs) throws XNIException(Code)(Java Doc)
public void element(String elementName, Augmentations augmentations) throws XNIException(Code)(Java Doc)
public void elementDecl(String name, String contentModel, Augmentations augmentations) throws XNIException(Code)(Java Doc)
public void empty(Augmentations augmentations) throws XNIException(Code)(Java Doc)
public void emptyElement(QName element, XMLAttributes attributes, Augmentations augs) throws XNIException(Code)(Java Doc)
public void endAttlist(Augmentations augmentations) throws XNIException(Code)(Java Doc)
public void endCDATA(Augmentations augs) throws XNIException(Code)(Java Doc)
public void endConditional(Augmentations augmentations) throws XNIException(Code)(Java Doc)
public void endContentModel(Augmentations augmentations) throws XNIException(Code)(Java Doc)
public void endDTD(Augmentations augmentations) throws XNIException(Code)(Java Doc)
public void endDocument(Augmentations augs) throws XNIException(Code)(Java Doc)
public void endElement(QName element, Augmentations augs) throws XNIException(Code)(Java Doc)
public void endExternalSubset(Augmentations augmentations) throws XNIException(Code)(Java Doc)
public void endGeneralEntity(String name, Augmentations augs) throws XNIException(Code)(Java Doc)
public void endGroup(Augmentations augmentations) throws XNIException(Code)(Java Doc)
public void endParameterEntity(String name, Augmentations augmentations) throws XNIException(Code)(Java Doc)
public void endPrefixMapping(String prefix, Augmentations augs) throws XNIException(Code)(Java Doc)
public void externalEntityDecl(String name, XMLResourceIdentifier identifier, Augmentations augmentations) throws XNIException(Code)(Java Doc)
public XMLDTDContentModelSource getDTDContentModelSource()(Code)(Java Doc)
public XMLDTDSource getDTDSource()(Code)(Java Doc)
public XMLDocumentSource getDocumentSource()(Code)(Java Doc)
public void ignorableWhitespace(XMLString text, Augmentations augs) throws XNIException(Code)(Java Doc)
public void ignoredCharacters(XMLString text, Augmentations augmentations) throws XNIException(Code)(Java Doc)
public void internalEntityDecl(String name, XMLString text, XMLString nonNormalizedText, Augmentations augmentations) throws XNIException(Code)(Java Doc)
public void notationDecl(String name, XMLResourceIdentifier identifier, Augmentations augmentations) throws XNIException(Code)(Java Doc)
public void occurrence(short occurrence, Augmentations augmentations) throws XNIException(Code)(Java Doc)
public void pcdata(Augmentations augmentations) throws XNIException(Code)(Java Doc)
public void processingInstruction(String target, XMLString data, Augmentations augs) throws XNIException(Code)(Java Doc)
public void separator(short separator, Augmentations augmentations) throws XNIException(Code)(Java Doc)
public void setDTDContentModelSource(XMLDTDContentModelSource source)(Code)(Java Doc)
public void setDTDSource(XMLDTDSource source)(Code)(Java Doc)
public void setDocumentSource(XMLDocumentSource source)(Code)(Java Doc)
public void startAttlist(String elementName, Augmentations augmentations) throws XNIException(Code)(Java Doc)
public void startCDATA(Augmentations augs) throws XNIException(Code)(Java Doc)
public void startConditional(short type, Augmentations augmentations) throws XNIException(Code)(Java Doc)
public void startContentModel(String elementName, Augmentations augmentations) throws XNIException(Code)(Java Doc)
public void startDTD(XMLLocator locator, Augmentations augmentations) throws XNIException(Code)(Java Doc)
public void startDocument(XMLLocator locator, String encoding, NamespaceContext context, Augmentations augs) throws XNIException(Code)(Java Doc)
public void startElement(QName element, XMLAttributes attributes, Augmentations augs) throws XNIException(Code)(Java Doc)
public void startExternalSubset(XMLResourceIdentifier identifier, Augmentations augmentations) throws XNIException(Code)(Java Doc)
public void startGeneralEntity(String name, XMLResourceIdentifier identifier, String encoding, Augmentations augs) throws XNIException(Code)(Java Doc)
public void startGroup(Augmentations augmentations) throws XNIException(Code)(Java Doc)
public void startParameterEntity(String name, XMLResourceIdentifier identifier, String encoding, Augmentations augmentations) throws XNIException(Code)(Java Doc)
public void startPrefixMapping(String prefix, String uri, Augmentations augs) throws XNIException(Code)(Java Doc)
public void textDecl(String version, String encoding, Augmentations augs) throws XNIException(Code)(Java Doc)
public void unparsedEntityDecl(String name, XMLResourceIdentifier identifier, String notation, Augmentations augmentations) throws XNIException(Code)(Java Doc)
public void xmlDecl(String version, String encoding, String standalone, Augmentations augs) throws XNIException(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.