Java Doc for ComponentReader.java in  » Database-ORM » castor » org » exolab » castor » xml » schema » reader » 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 » Database ORM » castor » org.exolab.castor.xml.schema.reader 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.exolab.castor.xml.schema.reader.ComponentReader

All known Subclasses:   org.exolab.castor.xml.schema.reader.SimpleTypeListUnmarshaller,  org.exolab.castor.xml.schema.reader.UnionUnmarshaller,  org.exolab.castor.xml.schema.reader.AnnotationUnmarshaller,  org.exolab.castor.xml.schema.reader.ExtensionUnmarshaller,  org.exolab.castor.xml.schema.reader.ElementUnmarshaller,  org.exolab.castor.xml.schema.reader.WildcardUnmarshaller,  org.exolab.castor.xml.schema.reader.AppInfoUnmarshaller,  org.exolab.castor.xml.schema.reader.RedefineUnmarshaller,  org.exolab.castor.xml.schema.reader.UnknownUnmarshaller,  org.exolab.castor.xml.schema.reader.GroupUnmarshaller,  org.exolab.castor.xml.schema.reader.ModelGroupUnmarshaller,  org.exolab.castor.xml.schema.reader.CharacterUnmarshaller,  org.exolab.castor.xml.schema.reader.ComplexContentRestrictionUnmarshaller,  org.exolab.castor.xml.schema.reader.SimpleContentRestrictionUnmarshaller,  org.exolab.castor.xml.schema.reader.ComplexContentUnmarshaller,  org.exolab.castor.xml.schema.reader.ComplexTypeUnmarshaller,  org.exolab.castor.xml.schema.reader.ImportUnmarshaller,  org.exolab.castor.xml.schema.reader.AttributeGroupUnmarshaller,  org.exolab.castor.xml.schema.reader.SimpleTypeUnmarshaller,  org.exolab.castor.xml.schema.reader.FieldOrSelectorUnmarshaller,  org.exolab.castor.xml.schema.reader.FacetUnmarshaller,  org.exolab.castor.xml.schema.reader.AttributeUnmarshaller,  org.exolab.castor.xml.schema.reader.IdentityConstraintUnmarshaller,  org.exolab.castor.xml.schema.reader.SchemaUnmarshaller,  org.exolab.castor.xml.schema.reader.SimpleTypeRestrictionUnmarshaller,  org.exolab.castor.xml.schema.reader.IncludeUnmarshaller,  org.exolab.castor.xml.schema.reader.DocumentationUnmarshaller,  org.exolab.castor.xml.schema.reader.SimpleContentUnmarshaller,
ComponentReader
abstract public class ComponentReader (Code)
The base class for separate component unmarshallers for reading an XML Schema component.
author:
   Keith Visco
version:
   $Revision: 6285 $ $Date: 2006-04-14 04:14:43 -0600 (Fri, 14 Apr 2006) $


Field Summary
protected  Locator_locator
    

Constructor Summary
public  ComponentReader()
    

Method Summary
public  voidcharacters(char[] chars, int start, int length)
    
abstract public  StringelementName()
    
public  voidendElement(String name, String namespace)
     Signals to end of the element with the given name.
Parameters:
  name - the NCName of the element.
public  voiderror(String err)
     This method is called for a general error.
public  voiderror(Exception ex)
     This method is called for a general error.
public  voidfinish()
     Called to signal an end of unmarshalling.
public  LocatorgetDocumentLocator()
    
abstract public  ObjectgetObject()
    
public  ResolvergetResolver()
     Returns the resolver used for resolving id references.
public  URIResolvergetURIResolver()
     Returns the URIresolver used for resolving hrefs.
public  voidillegalAttribute(String attName)
     This method is called when an illegal Attribute is encountered.
public  voidillegalElement(String name)
     This method is called when an illegal Element is encountered.
public static  booleanisWhiteSpace(char[] chars, int start, int length)
    
public  voidoutOfOrder(String name)
    
public  voidredefinedElement(String name)
     This method is called when an element which may only be defined once, is redefined.
public  voidredefinedElement(String name, String xtraInfo)
     This method is called when an element which may only be defined once, is redefined.
public  voidsetDocumentLocator(Locator locator)
    
public  voidsetResolver(Resolver resolver)
    
public  voidsetURIResolver(URIResolver uriResolver)
     Sets the URIResolver to be used for resolving hrefs.
public  voidstartElement(String name, String namespace, AttributeSet atts, Namespaces nsDecls)
     Signals the start of an element with the given name.
Parameters:
  name - the NCName of the element.
public static  inttoInt(String str)
    

Field Detail
_locator
protected Locator _locator(Code)
The document locator




Constructor Detail
ComponentReader
public ComponentReader()(Code)




Method Detail
characters
public void characters(char[] chars, int start, int length) throws XMLException(Code)
Signals to recieve charactes
Parameters:
  chars - the character array containing the characters
Parameters:
  start - the starting index into the character array
Parameters:
  length - the number of characters to recieve



elementName
abstract public String elementName()(Code)
Returns the name of the element that this ComponentReader handles the name of the element that this ComponentReaderhandles



endElement
public void endElement(String name, String namespace) throws XMLException(Code)
Signals to end of the element with the given name.
Parameters:
  name - the NCName of the element. It is an errorif the name is a QName (ie. contains a prefix).
Parameters:
  namespace - the namespace of the element.



error
public void error(String err) throws XMLException(Code)
This method is called for a general error.
Parameters:
  err - the error message to report



error
public void error(Exception ex) throws XMLException(Code)
This method is called for a general error.
Parameters:
  ex - the Exception that caused the error.



finish
public void finish() throws XMLException(Code)
Called to signal an end of unmarshalling. This method should be overridden to perform any necessary clean up by an unmarshaller



getDocumentLocator
public Locator getDocumentLocator()(Code)



getObject
abstract public Object getObject()(Code)
Returns the Object created by this Unmarshaller the Object created by this Unmarshaller



getResolver
public Resolver getResolver()(Code)
Returns the resolver used for resolving id references. the resolver used for resolving id references.



getURIResolver
public URIResolver getURIResolver()(Code)
Returns the URIresolver used for resolving hrefs. the URIresolver used for resolving hrefs.



illegalAttribute
public void illegalAttribute(String attName) throws XMLException(Code)
This method is called when an illegal Attribute is encountered.
Parameters:
  attName - the name of the illegal attribute.



illegalElement
public void illegalElement(String name) throws XMLException(Code)
This method is called when an illegal Element is encountered.
Parameters:
  name - the name of the illegal element



isWhiteSpace
public static boolean isWhiteSpace(char[] chars, int start, int length)(Code)
Determines if the given sequence of characters consists of whitespace characters
Parameters:
  chars - an array of characters to check for whitespace
Parameters:
  start - the start index into the character array
Parameters:
  length - the number of characters to check true if the characters specficied consist onlyof whitespace characters



outOfOrder
public void outOfOrder(String name) throws XMLException(Code)
This method is called when an out of order element is encountered



redefinedElement
public void redefinedElement(String name) throws XMLException(Code)
This method is called when an element which may only be defined once, is redefined.
Parameters:
  name - the name of the element



redefinedElement
public void redefinedElement(String name, String xtraInfo) throws XMLException(Code)
This method is called when an element which may only be defined once, is redefined.
Parameters:
  name - the name of the element



setDocumentLocator
public void setDocumentLocator(Locator locator)(Code)



setResolver
public void setResolver(Resolver resolver)(Code)
Sets the Resolver to be used for resolving id references
Parameters:
  resolver - the Resolver to be used for resolvingid references



setURIResolver
public void setURIResolver(URIResolver uriResolver)(Code)
Sets the URIResolver to be used for resolving hrefs.
Parameters:
  uriResolver - the URIResolver to be used for resolving hrefs.



startElement
public void startElement(String name, String namespace, AttributeSet atts, Namespaces nsDecls) throws XMLException(Code)
Signals the start of an element with the given name.
Parameters:
  name - the NCName of the element. It is an errorif the name is a QName (ie. contains a prefix).
Parameters:
  namespace - the namespace of the element. This may be null.Note: A null namespace is not the same as the default namespace unlessthe default namespace is also null.
Parameters:
  atts - the AttributeSet containing the attributes associatedwith the element.
Parameters:
  nsDecls - the namespace declarations being declared for thiselement. This may be null.



toInt
public static int toInt(String str) throws IllegalArgumentException(Code)
Converts the given String to an int
Parameters:
  str - the String to convert to an int the int derived from the given String
exception:
  IllegalArgumentException - when the givenString does not represent a valid int



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.