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


java.lang.Object
   com.caucho.xml.Policy
      com.caucho.xml.HtmlPolicy

HtmlPolicy
class HtmlPolicy extends Policy (Code)
Policy for parsing an HTML file.


Field Summary
final static  intAREA
    
final static  intBASE
    
final static  intBASEFONT
    
final static  intBLOCK
    
final static  intBODY
    
final static  intBR
    
final static  intCAPTION
    
final static  intCOL
    
final static  intCOLGROUP
    
final static  intCOMMENT
    
final static  intDD
    
final static  intDOCUMENT
    
final static  intDT
    
final static  intFRAME
    
final static  intFRAMESET
    
final static  intHEAD
    
final static  intHR
    
final static  intHTML
    
final static  intIMG
    
final static  intINLINE
    
final static  intINPUT
    
final static  intISINDEX
    
final static  intJSP
    
final static  intLI
    
final static  intLINK
    
final static  intMETA
    
final static  intOBJECT
    
final static  intOPTION
    
final static  intP
    
final static  intPARAM
    
final static  intSCRIPT
    
final static  intSTYLE
    
final static  intTABLE
    
final static  intTBODY
    
final static  intTD
    
final static  intTEXT
    
final static  intTFOOT
    
final static  intTH
    
final static  intTHEAD
    
final static  intTITLE
    
final static  intTR
    
final static  intWHITESPACE
    
 booleanautoHead
    
 booleanautoHtml
    
static  QNamebodyName
    
 CharBuffercb
    
static  IntMapcbNames
    
 booleanhasBody
    
static  QNameheadName
    
static  QNamehtmlName
    
 booleanisJsp
    
static  IntMapnames
    
 booleantoLower
    


Method Summary
 intelementCloseAction(XmlParser parser, QName node, String tagEnd)
    
 QNamegetAttributeName(CharBuffer eltName, CharBuffer source)
    
 QNamegetName(CharBuffer tag)
     Return the normalized name.
Parameters:
  tag - the raw name in the XML file.
public  voidinit()
    
 intopenAction(XmlParser parser, QName node, QName next)
     Returns the appropriate action when opening a HTML tag.
public  voidsetJsp(boolean isJsp)
     When true, treat text before HTML specially.
public  voidsetToLower(boolean toLower)
     When true, HTML parsing normalizes HTML tags to lower case.

Field Detail
AREA
final static int AREA(Code)



BASE
final static int BASE(Code)



BASEFONT
final static int BASEFONT(Code)



BLOCK
final static int BLOCK(Code)



BODY
final static int BODY(Code)



BR
final static int BR(Code)



CAPTION
final static int CAPTION(Code)



COL
final static int COL(Code)



COLGROUP
final static int COLGROUP(Code)



COMMENT
final static int COMMENT(Code)



DD
final static int DD(Code)



DOCUMENT
final static int DOCUMENT(Code)



DT
final static int DT(Code)



FRAME
final static int FRAME(Code)



FRAMESET
final static int FRAMESET(Code)



HEAD
final static int HEAD(Code)



HR
final static int HR(Code)



HTML
final static int HTML(Code)



IMG
final static int IMG(Code)



INLINE
final static int INLINE(Code)



INPUT
final static int INPUT(Code)



ISINDEX
final static int ISINDEX(Code)



JSP
final static int JSP(Code)



LI
final static int LI(Code)



LINK
final static int LINK(Code)



META
final static int META(Code)



OBJECT
final static int OBJECT(Code)



OPTION
final static int OPTION(Code)



P
final static int P(Code)



PARAM
final static int PARAM(Code)



SCRIPT
final static int SCRIPT(Code)



STYLE
final static int STYLE(Code)



TABLE
final static int TABLE(Code)



TBODY
final static int TBODY(Code)



TD
final static int TD(Code)



TEXT
final static int TEXT(Code)



TFOOT
final static int TFOOT(Code)



TH
final static int TH(Code)



THEAD
final static int THEAD(Code)



TITLE
final static int TITLE(Code)



TR
final static int TR(Code)



WHITESPACE
final static int WHITESPACE(Code)



autoHead
boolean autoHead(Code)



autoHtml
boolean autoHtml(Code)



bodyName
static QName bodyName(Code)



cb
CharBuffer cb(Code)



cbNames
static IntMap cbNames(Code)



hasBody
boolean hasBody(Code)



headName
static QName headName(Code)



htmlName
static QName htmlName(Code)



isJsp
boolean isJsp(Code)



names
static IntMap names(Code)



toLower
boolean toLower(Code)





Method Detail
elementCloseAction
int elementCloseAction(XmlParser parser, QName node, String tagEnd) throws XmlParseException(Code)



getAttributeName
QName getAttributeName(CharBuffer eltName, CharBuffer source)(Code)



getName
QName getName(CharBuffer tag)(Code)
Return the normalized name.
Parameters:
  tag - the raw name in the XML file. the normalized name.



init
public void init()(Code)



openAction
int openAction(XmlParser parser, QName node, QName next) throws XmlParseException(Code)
Returns the appropriate action when opening a HTML tag.
Parameters:
  parser - the XML parser
Parameters:
  node - the parent node
Parameters:
  next - the next child the action code



setJsp
public void setJsp(boolean isJsp)(Code)
When true, treat text before HTML specially.



setToLower
public void setToLower(boolean toLower)(Code)
When true, HTML parsing normalizes HTML tags to lower case.



Fields inherited from com.caucho.xml.Policy
final static int ERROR(Code)(Java Doc)
final static int IGNORE(Code)(Java Doc)
static L10N L(Code)(Java Doc)
final static int POP(Code)(Java Doc)
final static int POP_AND_LOOP(Code)(Java Doc)
final static int PUSH(Code)(Java Doc)
final static int PUSH_EMPTY(Code)(Java Doc)
final static int PUSH_OPT(Code)(Java Doc)
final static int PUSH_VERBATIM(Code)(Java Doc)
boolean _isNamespaceAware(Code)(Java Doc)
boolean entitiesAsText(Code)(Java Doc)
boolean expandEntities(Code)(Java Doc)
boolean expandReferences(Code)(Java Doc)
boolean forgiving(Code)(Java Doc)
protected ReadStream is(Code)(Java Doc)
boolean normalizeWhitespace(Code)(Java Doc)
protected QName opt(Code)(Java Doc)
boolean optionalTags(Code)(Java Doc)
boolean singleTopElement(Code)(Java Doc)
boolean skipComments(Code)(Java Doc)
boolean skipWhitespace(Code)(Java Doc)
boolean strictAttributes(Code)(Java Doc)
boolean strictCharacters(Code)(Java Doc)
boolean strictComments(Code)(Java Doc)
boolean strictXml(Code)(Java Doc)

Methods inherited from com.caucho.xml.Policy
void clearNamespaceCache()(Code)(Java Doc)
int elementCloseAction(XmlParser parser, QName node, String tagEnd) throws XmlParseException(Code)(Java Doc)
QName getAttributeName(CharBuffer eltName, CharBuffer source)(Code)(Java Doc)
QName getAttributeName(CharBuffer eltName, CharBuffer source, boolean nsNull)(Code)(Java Doc)
QName getName(CharBuffer source)(Code)(Java Doc)
QName getNamespaceName(CharBuffer source)(Code)(Java Doc)
QName getOpt()(Code)(Java Doc)
void init()(Code)(Java Doc)
boolean isWhitespaceOnly(String s)(Code)(Java Doc)
int openAction(XmlParser parser, QName node, QName next) throws XmlParseException(Code)(Java Doc)
void setNamespace(NamespaceMap ns)(Code)(Java Doc)
void setNamespaceAware(boolean isNamespaceAware)(Code)(Java Doc)
void setStream(ReadStream is)(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.