Java Doc for Markup.java in  » PDF » pdf-itext » com » lowagie » text » html » 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 » PDF » pdf itext » com.lowagie.text.html 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.lowagie.text.html.Markup

Markup
public class Markup (Code)
A class that contains all the possible tagnames and their attributes.


Field Summary
final public static  StringCSS_KEY_BGCOLOR
    
final public static  StringCSS_KEY_BORDERCOLOR
    
final public static  StringCSS_KEY_BORDERWIDTH
    
final public static  StringCSS_KEY_BORDERWIDTHBOTTOM
    
final public static  StringCSS_KEY_BORDERWIDTHLEFT
    
final public static  StringCSS_KEY_BORDERWIDTHRIGHT
    
final public static  StringCSS_KEY_BORDERWIDTHTOP
    
final public static  StringCSS_KEY_COLOR
    
final public static  StringCSS_KEY_DISPLAY
    
final public static  StringCSS_KEY_FONTFAMILY
    
final public static  StringCSS_KEY_FONTSIZE
    
final public static  StringCSS_KEY_FONTSTYLE
    
final public static  StringCSS_KEY_FONTWEIGHT
    
final public static  StringCSS_KEY_LINEHEIGHT
    
final public static  StringCSS_KEY_MARGIN
    
final public static  StringCSS_KEY_MARGINBOTTOM
    
final public static  StringCSS_KEY_MARGINLEFT
    
final public static  StringCSS_KEY_MARGINRIGHT
    
final public static  StringCSS_KEY_MARGINTOP
    
final public static  StringCSS_KEY_PADDING
    
final public static  StringCSS_KEY_PADDINGBOTTOM
    
final public static  StringCSS_KEY_PADDINGLEFT
    
final public static  StringCSS_KEY_PADDINGRIGHT
    
final public static  StringCSS_KEY_PADDINGTOP
    
final public static  StringCSS_KEY_PAGE_BREAK_AFTER
    
final public static  StringCSS_KEY_PAGE_BREAK_BEFORE
    
final public static  StringCSS_KEY_TEXTALIGN
    
final public static  StringCSS_KEY_TEXTDECORATION
    
final public static  StringCSS_KEY_VERTICALALIGN
    
final public static  StringCSS_KEY_VISIBILITY
    
final public static  StringCSS_VALUE_ALWAYS
    
final public static  StringCSS_VALUE_BLOCK
    
final public static  StringCSS_VALUE_BOLD
    
final public static  StringCSS_VALUE_HIDDEN
     the value if you want to hide objects.
final public static  StringCSS_VALUE_INLINE
    
final public static  StringCSS_VALUE_ITALIC
    
final public static  StringCSS_VALUE_LINETHROUGH
    
final public static  StringCSS_VALUE_LISTITEM
    
final public static  StringCSS_VALUE_NONE
    
final public static  StringCSS_VALUE_NORMAL
    
final public static  StringCSS_VALUE_OBLIQUE
    
final public static  StringCSS_VALUE_TABLE
    
final public static  StringCSS_VALUE_TABLECELL
    
final public static  StringCSS_VALUE_TABLEROW
    
final public static  StringCSS_VALUE_TEXTALIGNCENTER
    
final public static  StringCSS_VALUE_TEXTALIGNJUSTIFY
    
final public static  StringCSS_VALUE_TEXTALIGNLEFT
    
final public static  StringCSS_VALUE_TEXTALIGNRIGHT
    
final public static  StringCSS_VALUE_UNDERLINE
    
final public static  StringHTML_ATTR_CSS_CLASS
    
final public static  StringHTML_ATTR_CSS_ID
     The ID attribute.
final public static  StringHTML_ATTR_HEIGHT
     the height attribute.
final public static  StringHTML_ATTR_HREF
     the hyperlink reference attribute.
final public static  StringHTML_ATTR_REL
     This is a possible HTML attribute for the LINK tag.
final public static  StringHTML_ATTR_STYLE
    
final public static  StringHTML_ATTR_STYLESHEET
     This is a possible HTML attribute.
final public static  StringHTML_ATTR_TYPE
     This is a possible HTML attribute for the LINK tag.
final public static  StringHTML_ATTR_WIDTH
     the width attribute.
final public static  StringHTML_TAG_BODY
    
final public static  StringHTML_TAG_DIV
     The DIV tag.
final public static  StringHTML_TAG_LINK
     This is a possible HTML-tag.
final public static  StringHTML_TAG_SPAN
     The SPAN tag.
final public static  StringHTML_VALUE_CSS
     This is a possible HTML attribute for the LINK tag.
final public static  StringHTML_VALUE_JAVASCRIPT
     This is a possible value for the language attribute (SCRIPT tag).
final public static  StringITEXT_TAG
    


Method Summary
public static  ColordecodeColor(String s)
     Converts a Color into a HTML representation of this Color.
Parameters:
  s - the Color that has to be converted.
public static  PropertiesparseAttributes(String string)
     This method parses a String with attributes and returns a Properties object.
public static  floatparseLength(String string)
     Parses a length.
Parameters:
  string - a length in the form of an optional + or -, followed by anumber and a unit.
public static  StringremoveComment(String string, String startComment, String endComment)
     Removes the comments sections of a String.
Parameters:
  string - the original String
Parameters:
  startComment - the String that marks the start of a Comment section
Parameters:
  endComment - the String that marks the end of a Comment section.

Field Detail
CSS_KEY_BGCOLOR
final public static String CSS_KEY_BGCOLOR(Code)
the CSS tag for background color



CSS_KEY_BORDERCOLOR
final public static String CSS_KEY_BORDERCOLOR(Code)
the CSS tag for the margin of an object



CSS_KEY_BORDERWIDTH
final public static String CSS_KEY_BORDERWIDTH(Code)
the CSS tag for the margin of an object



CSS_KEY_BORDERWIDTHBOTTOM
final public static String CSS_KEY_BORDERWIDTHBOTTOM(Code)
the CSS tag for the margin of an object



CSS_KEY_BORDERWIDTHLEFT
final public static String CSS_KEY_BORDERWIDTHLEFT(Code)
the CSS tag for the margin of an object



CSS_KEY_BORDERWIDTHRIGHT
final public static String CSS_KEY_BORDERWIDTHRIGHT(Code)
the CSS tag for the margin of an object



CSS_KEY_BORDERWIDTHTOP
final public static String CSS_KEY_BORDERWIDTHTOP(Code)
the CSS tag for the margin of an object



CSS_KEY_COLOR
final public static String CSS_KEY_COLOR(Code)
the CSS tag for text color



CSS_KEY_DISPLAY
final public static String CSS_KEY_DISPLAY(Code)
CSS key that indicate the way something has to be displayed



CSS_KEY_FONTFAMILY
final public static String CSS_KEY_FONTFAMILY(Code)
the CSS tag for the font family



CSS_KEY_FONTSIZE
final public static String CSS_KEY_FONTSIZE(Code)
the CSS tag for the font size



CSS_KEY_FONTSTYLE
final public static String CSS_KEY_FONTSTYLE(Code)
the CSS tag for the font style



CSS_KEY_FONTWEIGHT
final public static String CSS_KEY_FONTWEIGHT(Code)
the CSS tag for the font weight



CSS_KEY_LINEHEIGHT
final public static String CSS_KEY_LINEHEIGHT(Code)
the CSS tag for text decorations



CSS_KEY_MARGIN
final public static String CSS_KEY_MARGIN(Code)
the CSS tag for the margin of an object



CSS_KEY_MARGINBOTTOM
final public static String CSS_KEY_MARGINBOTTOM(Code)
the CSS tag for the margin of an object



CSS_KEY_MARGINLEFT
final public static String CSS_KEY_MARGINLEFT(Code)
the CSS tag for the margin of an object



CSS_KEY_MARGINRIGHT
final public static String CSS_KEY_MARGINRIGHT(Code)
the CSS tag for the margin of an object



CSS_KEY_MARGINTOP
final public static String CSS_KEY_MARGINTOP(Code)
the CSS tag for the margin of an object



CSS_KEY_PADDING
final public static String CSS_KEY_PADDING(Code)
the CSS tag for the margin of an object



CSS_KEY_PADDINGBOTTOM
final public static String CSS_KEY_PADDINGBOTTOM(Code)
the CSS tag for the margin of an object



CSS_KEY_PADDINGLEFT
final public static String CSS_KEY_PADDINGLEFT(Code)
the CSS tag for the margin of an object



CSS_KEY_PADDINGRIGHT
final public static String CSS_KEY_PADDINGRIGHT(Code)
the CSS tag for the margin of an object



CSS_KEY_PADDINGTOP
final public static String CSS_KEY_PADDINGTOP(Code)
the CSS tag for the margin of an object



CSS_KEY_PAGE_BREAK_AFTER
final public static String CSS_KEY_PAGE_BREAK_AFTER(Code)
the CSS tag for adding a page break when the document is printed



CSS_KEY_PAGE_BREAK_BEFORE
final public static String CSS_KEY_PAGE_BREAK_BEFORE(Code)
the CSS tag for adding a page break when the document is printed



CSS_KEY_TEXTALIGN
final public static String CSS_KEY_TEXTALIGN(Code)
the CSS tag for the horizontal alignment of an object



CSS_KEY_TEXTDECORATION
final public static String CSS_KEY_TEXTDECORATION(Code)
the CSS tag for text decorations



CSS_KEY_VERTICALALIGN
final public static String CSS_KEY_VERTICALALIGN(Code)
the CSS tag for text decorations



CSS_KEY_VISIBILITY
final public static String CSS_KEY_VISIBILITY(Code)
the CSS tag for the visibility of objects



CSS_VALUE_ALWAYS
final public static String CSS_VALUE_ALWAYS(Code)
value for the CSS tag for adding a page break when the document is printed



CSS_VALUE_BLOCK
final public static String CSS_VALUE_BLOCK(Code)
A possible value for the DISPLAY key



CSS_VALUE_BOLD
final public static String CSS_VALUE_BOLD(Code)
a CSS value for text font weight



CSS_VALUE_HIDDEN
final public static String CSS_VALUE_HIDDEN(Code)
the value if you want to hide objects.



CSS_VALUE_INLINE
final public static String CSS_VALUE_INLINE(Code)
A possible value for the DISPLAY key



CSS_VALUE_ITALIC
final public static String CSS_VALUE_ITALIC(Code)
a CSS value for text font style



CSS_VALUE_LINETHROUGH
final public static String CSS_VALUE_LINETHROUGH(Code)
a CSS value for text decoration



CSS_VALUE_LISTITEM
final public static String CSS_VALUE_LISTITEM(Code)
A possible value for the DISPLAY key



CSS_VALUE_NONE
final public static String CSS_VALUE_NONE(Code)
a CSS value



CSS_VALUE_NORMAL
final public static String CSS_VALUE_NORMAL(Code)
a CSS value



CSS_VALUE_OBLIQUE
final public static String CSS_VALUE_OBLIQUE(Code)
a CSS value for text font style



CSS_VALUE_TABLE
final public static String CSS_VALUE_TABLE(Code)
A possible value for the DISPLAY key



CSS_VALUE_TABLECELL
final public static String CSS_VALUE_TABLECELL(Code)
A possible value for the DISPLAY key



CSS_VALUE_TABLEROW
final public static String CSS_VALUE_TABLEROW(Code)
A possible value for the DISPLAY key



CSS_VALUE_TEXTALIGNCENTER
final public static String CSS_VALUE_TEXTALIGNCENTER(Code)
the CSS value for a horizontal alignment of an object



CSS_VALUE_TEXTALIGNJUSTIFY
final public static String CSS_VALUE_TEXTALIGNJUSTIFY(Code)
the CSS value for a horizontal alignment of an object



CSS_VALUE_TEXTALIGNLEFT
final public static String CSS_VALUE_TEXTALIGNLEFT(Code)
the CSS value for a horizontal alignment of an object



CSS_VALUE_TEXTALIGNRIGHT
final public static String CSS_VALUE_TEXTALIGNRIGHT(Code)
the CSS value for a horizontal alignment of an object



CSS_VALUE_UNDERLINE
final public static String CSS_VALUE_UNDERLINE(Code)
a CSS value for text decoration



HTML_ATTR_CSS_CLASS
final public static String HTML_ATTR_CSS_CLASS(Code)
attribute for specifying externally defined CSS class



HTML_ATTR_CSS_ID
final public static String HTML_ATTR_CSS_ID(Code)
The ID attribute.



HTML_ATTR_HEIGHT
final public static String HTML_ATTR_HEIGHT(Code)
the height attribute.



HTML_ATTR_HREF
final public static String HTML_ATTR_HREF(Code)
the hyperlink reference attribute.



HTML_ATTR_REL
final public static String HTML_ATTR_REL(Code)
This is a possible HTML attribute for the LINK tag.



HTML_ATTR_STYLE
final public static String HTML_ATTR_STYLE(Code)
This is used for inline css style information



HTML_ATTR_STYLESHEET
final public static String HTML_ATTR_STYLESHEET(Code)
This is a possible HTML attribute.



HTML_ATTR_TYPE
final public static String HTML_ATTR_TYPE(Code)
This is a possible HTML attribute for the LINK tag.



HTML_ATTR_WIDTH
final public static String HTML_ATTR_WIDTH(Code)
the width attribute.



HTML_TAG_BODY
final public static String HTML_TAG_BODY(Code)
the markup for the body part of a file



HTML_TAG_DIV
final public static String HTML_TAG_DIV(Code)
The DIV tag.



HTML_TAG_LINK
final public static String HTML_TAG_LINK(Code)
This is a possible HTML-tag.



HTML_TAG_SPAN
final public static String HTML_TAG_SPAN(Code)
The SPAN tag.



HTML_VALUE_CSS
final public static String HTML_VALUE_CSS(Code)
This is a possible HTML attribute for the LINK tag.



HTML_VALUE_JAVASCRIPT
final public static String HTML_VALUE_JAVASCRIPT(Code)
This is a possible value for the language attribute (SCRIPT tag).



ITEXT_TAG
final public static String ITEXT_TAG(Code)
the key for any tag





Method Detail
decodeColor
public static Color decodeColor(String s)(Code)
Converts a Color into a HTML representation of this Color.
Parameters:
  s - the Color that has to be converted. the HTML representation of this Color



parseAttributes
public static Properties parseAttributes(String string)(Code)
This method parses a String with attributes and returns a Properties object.
Parameters:
  string - a String of this form: 'key1="value1"; key2="value2";...keyN="valueN" ' a Properties object



parseLength
public static float parseLength(String string)(Code)
Parses a length.
Parameters:
  string - a length in the form of an optional + or -, followed by anumber and a unit. a float



removeComment
public static String removeComment(String string, String startComment, String endComment)(Code)
Removes the comments sections of a String.
Parameters:
  string - the original String
Parameters:
  startComment - the String that marks the start of a Comment section
Parameters:
  endComment - the String that marks the end of a Comment section. the String stripped of its comment section



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.