Java Doc for XmlReader.java in  » EJB-Server-resin-3.1.5 » quercus » com » caucho » quercus » lib » xml » 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 » EJB Server resin 3.1.5 » quercus » com.caucho.quercus.lib.xml 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.caucho.quercus.lib.xml.XmlReader

XmlReader
public class XmlReader (Code)


Field Summary
final public static  intATTRIBUTE
    
final public static  intCDATA
    
final public static  intCOMMENT
    
final public static  intDEFAULTATTRS
    
final public static  intDOC
    
final public static  intDOC_FRAGMENT
    
final public static  intDOC_TYPE
    
final public static  intELEMENT
    
final public static  intEND_ELEMENT
    
final public static  intEND_ENTITY
    
final public static  intENTITY
    
final public static  intENTITY_REF
    
final public static  intLOADDTD
    
final public static  intNONE
    
final public static  intNOTATION
    
final public static  intPI
    
final public static  intSIGNIFICANT_WHITESPACE
    
final public static  intSUBST_ENTITIES
    
final public static  intTEXT
    
final public static  intVALIDATE
    
final public static  intWHITESPACE
    
final public static  intXML_DECLARATION
    

Constructor Summary
public  XmlReader(String[] string)
     Default constructor.

Method Summary
public  BooleanValueXML(String source)
    
public  BooleanValueclose()
     Closes the reader.
public  Valueexpand()
    
public  StringValuegetAttribute(String name)
    
public  ValuegetAttributeCount()
     Returns the number of attributes of the current element.
public  StringValuegetAttributeNS(String localName, String namespaceURI)
    
public  StringValuegetAttributeNo(int index)
    
public  ValuegetBaseURI()
     Returns the base uniform resource locator of the current element.
public  ValuegetDepth()
     Returns the depth of the current element.
public  ValuegetHasAttributes()
     Determines whether this element has attributes.
public  ValuegetHasValue()
     Determines whether this element has content.
public  ValuegetIsDefault()
     Determines whether this element is default.
public  ValuegetIsEmptyElement()
     Determines whether this element is empty.
public  ValuegetLocalName()
     Determines whether this element has attributes.
public  ValuegetName(Env env)
     Returns the name of the current element.
public  ValuegetNamespaceURI()
     Returns the namespace uniform resource locator of the current element.
public  LongValuegetNextType()
    
public  ValuegetNodeType()
     Returns the node type of the current element.
public  BooleanValuegetParserProperty(int property)
    
public  ValuegetPrefix()
     Returns the prefix of the current element.
public  ValuegetValue()
     Returns the value of the current element.
public  ValuegetXmlLang()
     Returns the node type of the current element.
public  BooleanValueisValid()
    
public  BooleanValuelookupNamespace(String prefix)
    
public  BooleanValuemoveToAttribute(String name)
    
public  BooleanValuemoveToAttributeNo(int index)
    
public  BooleanValuemoveToAttributeNs(String localName, String namespaceURI)
    
public  BooleanValuemoveToElement()
    
public  BooleanValuemoveToFirstAttribute()
    
public  BooleanValuemoveToNextAttribute()
    
public  BooleanValuenext(String localname)
    
public  BooleanValueopen(Env env, Path path)
     Opens a stream using the uniform resource locator.
public  BooleanValueread(Env env)
     Moves the cursor to the next node.
public  BooleanValuesetParserProperty(int property, boolean value)
    
public  BooleanValuesetRelaxNGSchema(String filename)
    
public  BooleanValuesetRelaxNGSchemaSource(String source)
    

Field Detail
ATTRIBUTE
final public static int ATTRIBUTE(Code)



CDATA
final public static int CDATA(Code)



COMMENT
final public static int COMMENT(Code)



DEFAULTATTRS
final public static int DEFAULTATTRS(Code)



DOC
final public static int DOC(Code)



DOC_FRAGMENT
final public static int DOC_FRAGMENT(Code)



DOC_TYPE
final public static int DOC_TYPE(Code)



ELEMENT
final public static int ELEMENT(Code)



END_ELEMENT
final public static int END_ELEMENT(Code)



END_ENTITY
final public static int END_ENTITY(Code)



ENTITY
final public static int ENTITY(Code)



ENTITY_REF
final public static int ENTITY_REF(Code)



LOADDTD
final public static int LOADDTD(Code)



NONE
final public static int NONE(Code)



NOTATION
final public static int NOTATION(Code)



PI
final public static int PI(Code)



SIGNIFICANT_WHITESPACE
final public static int SIGNIFICANT_WHITESPACE(Code)



SUBST_ENTITIES
final public static int SUBST_ENTITIES(Code)



TEXT
final public static int TEXT(Code)



VALIDATE
final public static int VALIDATE(Code)



WHITESPACE
final public static int WHITESPACE(Code)



XML_DECLARATION
final public static int XML_DECLARATION(Code)




Constructor Detail
XmlReader
public XmlReader(String[] string)(Code)
Default constructor. XXX: Not completely sure what the passed in string(s) does.
Parameters:
  string - not used




Method Detail
XML
public BooleanValue XML(String source)(Code)

Parameters:
  source -



close
public BooleanValue close()(Code)
Closes the reader. true if success, false otherwise



expand
public Value expand()(Code)



getAttribute
public StringValue getAttribute(String name)(Code)

Parameters:
  name -



getAttributeCount
public Value getAttributeCount()(Code)
Returns the number of attributes of the current element. the count if it exists, otherwise null



getAttributeNS
public StringValue getAttributeNS(String localName, String namespaceURI)(Code)

Parameters:
  localName -
Parameters:
  namespaceURI -



getAttributeNo
public StringValue getAttributeNo(int index)(Code)

Parameters:
  index -



getBaseURI
public Value getBaseURI()(Code)
Returns the base uniform resource locator of the current element. the URI, otherwise null



getDepth
public Value getDepth()(Code)
Returns the depth of the current element. the depth if it exists, otherwise null



getHasAttributes
public Value getHasAttributes()(Code)
Determines whether this element has attributes. true if this element has attributes, false if not, otherwise null



getHasValue
public Value getHasValue()(Code)
Determines whether this element has content. true if this element has content, false if not, otherwise null



getIsDefault
public Value getIsDefault()(Code)
Determines whether this element is default. true if this element is default, false if not, otherwise null



getIsEmptyElement
public Value getIsEmptyElement()(Code)
Determines whether this element is empty. true if this element is empty, false if not, otherwise null



getLocalName
public Value getLocalName()(Code)
Determines whether this element has attributes. true if this element has attributes, false if not, otherwise null



getName
public Value getName(Env env)(Code)
Returns the name of the current element. the name, otherwise null



getNamespaceURI
public Value getNamespaceURI()(Code)
Returns the namespace uniform resource locator of the current element. the namespace URI, otherwise null



getNextType
public LongValue getNextType()(Code)



getNodeType
public Value getNodeType()(Code)
Returns the node type of the current element. the node type, otherwise null



getParserProperty
public BooleanValue getParserProperty(int property)(Code)

Parameters:
  property -



getPrefix
public Value getPrefix()(Code)
Returns the prefix of the current element. the prefix, otherwise null



getValue
public Value getValue()(Code)
Returns the value of the current element. the value, otherwise null



getXmlLang
public Value getXmlLang()(Code)
Returns the node type of the current element. the node type, otherwise null



isValid
public BooleanValue isValid()(Code)



lookupNamespace
public BooleanValue lookupNamespace(String prefix)(Code)

Parameters:
  prefix -



moveToAttribute
public BooleanValue moveToAttribute(String name)(Code)

Parameters:
  name -



moveToAttributeNo
public BooleanValue moveToAttributeNo(int index)(Code)

Parameters:
  index -



moveToAttributeNs
public BooleanValue moveToAttributeNs(String localName, String namespaceURI)(Code)

Parameters:
  localName -
Parameters:
  namespaceURI -



moveToElement
public BooleanValue moveToElement()(Code)



moveToFirstAttribute
public BooleanValue moveToFirstAttribute()(Code)



moveToNextAttribute
public BooleanValue moveToNextAttribute()(Code)



next
public BooleanValue next(String localname)(Code)

Parameters:
  localname -



open
public BooleanValue open(Env env, Path path)(Code)
Opens a stream using the uniform resource locator.
Parameters:
  uri - uniform resource locator to open true if success, false otherwise



read
public BooleanValue read(Env env)(Code)
Moves the cursor to the next node. true if success, false otherwise



setParserProperty
public BooleanValue setParserProperty(int property, boolean value)(Code)

Parameters:
  property -
Parameters:
  value -



setRelaxNGSchema
public BooleanValue setRelaxNGSchema(String filename)(Code)

Parameters:
  filename -



setRelaxNGSchemaSource
public BooleanValue setRelaxNGSchemaSource(String source)(Code)

Parameters:
  source -



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.