Java Doc for HTMLElementImpl.java in  » Web-Server » Rimfaxe-Web-Server » org » apache » html » dom » 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 » Web Server » Rimfaxe Web Server » org.apache.html.dom 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.xerces.dom.ElementImpl
   org.apache.html.dom.HTMLElementImpl

All known Subclasses:   org.apache.html.dom.HTMLImageElementImpl,  org.apache.html.dom.HTMLBRElementImpl,  org.apache.html.dom.HTMLTableSectionElementImpl,  org.apache.html.dom.HTMLModElementImpl,  org.apache.html.dom.HTMLFontElementImpl,  org.apache.html.dom.HTMLBaseElementImpl,  org.apache.html.dom.HTMLHtmlElementImpl,  org.apache.html.dom.HTMLMenuElementImpl,  org.apache.html.dom.HTMLUListElementImpl,  org.apache.html.dom.HTMLLinkElementImpl,  org.apache.html.dom.HTMLOptionElementImpl,  org.apache.html.dom.HTMLAnchorElementImpl,  org.apache.html.dom.HTMLBaseFontElementImpl,  org.apache.html.dom.HTMLTableCellElementImpl,  org.apache.html.dom.HTMLFrameElementImpl,  org.apache.html.dom.HTMLTableColElementImpl,  org.apache.html.dom.HTMLBodyElementImpl,  org.apache.html.dom.HTMLPreElementImpl,  org.apache.html.dom.HTMLScriptElementImpl,  org.apache.html.dom.HTMLTextAreaElementImpl,  org.apache.html.dom.HTMLAreaElementImpl,  org.apache.html.dom.HTMLHRElementImpl,  org.apache.html.dom.HTMLParamElementImpl,  org.apache.html.dom.HTMLFieldSetElementImpl,  org.apache.html.dom.HTMLObjectElementImpl,  org.apache.html.dom.HTMLParagraphElementImpl,  org.apache.html.dom.HTMLTableRowElementImpl,  org.apache.html.dom.HTMLDListElementImpl,  org.apache.html.dom.HTMLTableCaptionElementImpl,  org.apache.html.dom.HTMLIsIndexElementImpl,  org.apache.html.dom.HTMLSelectElementImpl,  org.apache.html.dom.HTMLHeadElementImpl,  org.apache.html.dom.HTMLTableElementImpl,  org.apache.html.dom.HTMLMapElementImpl,  org.apache.html.dom.HTMLMetaElementImpl,  org.apache.html.dom.HTMLInputElementImpl,  org.apache.html.dom.HTMLLabelElementImpl,  org.apache.html.dom.HTMLHeadingElementImpl,  org.apache.html.dom.HTMLAppletElementImpl,  org.apache.html.dom.HTMLStyleElementImpl,  org.apache.html.dom.HTMLButtonElementImpl,  org.apache.html.dom.HTMLTitleElementImpl,  org.apache.html.dom.HTMLLegendElementImpl,  org.apache.html.dom.HTMLLIElementImpl,  org.apache.html.dom.HTMLFormElementImpl,  org.apache.html.dom.HTMLDivElementImpl,  org.apache.html.dom.HTMLIFrameElementImpl,  org.apache.html.dom.HTMLDirectoryElementImpl,  org.apache.html.dom.HTMLFrameSetElementImpl,  org.apache.html.dom.HTMLOptGroupElementImpl,  org.apache.html.dom.HTMLQuoteElementImpl,  org.apache.html.dom.HTMLOListElementImpl,
HTMLElementImpl
public class HTMLElementImpl extends ElementImpl implements HTMLElement(Code)
Implements an HTML-specific element, an org.w3c.dom.Element that will only appear inside HTML documents. This element extends org.apache.xerces.dom.ElementImpl by adding methods for directly manipulating HTML-specific attributes. All HTML elements gain access to the id, title, lang, dir and class attributes. Other elements add their own specific attributes.
version:
   $Revision: 1.4 $ $Date: 2000/12/21 00:33:40 $
author:
   Assaf Arkin
See Also:   org.w3c.dom.html.HTMLElement



Constructor Summary
 HTMLElementImpl(HTMLDocumentImpl owner, String tagName)
     Constructor required owner document and element tag name.

Method Summary
 Stringcapitalize(String value)
     Convenience method used to capitalize a one-off attribute value before it is returned.
public  StringgetAttribute(String attrName)
    
public  StringgetAttributeNS(String namespaceURI, String localName)
    
public  AttrgetAttributeNode(String attrName)
    
public  AttrgetAttributeNodeNS(String namespaceURI, String localName)
    
 booleangetBinary(String name)
     Convenience method used to translate an attribute value into a boolean value.
 StringgetCapitalized(String name)
     Convenience method used to capitalize a one-off attribute value before it is returned.
public  StringgetClassName()
    
public  StringgetDir()
    
final public  NodeListgetElementsByTagName(String tagName)
    
final public  NodeListgetElementsByTagNameNS(String namespaceURI, String localName)
    
public  HTMLFormElementgetForm()
     Convenience method returns the form in which this form element is contained.
public  StringgetId()
    
 intgetInteger(String value)
     Convenience method used to translate an attribute value into an integer value.
public  StringgetLang()
    
public  StringgetTitle()
    
 voidsetAttribute(String name, boolean value)
     Convenience method used to set a boolean attribute.
public  voidsetClassName(String className)
    
public  voidsetDir(String dir)
    
public  voidsetId(String id)
    
public  voidsetLang(String lang)
    
public  voidsetTitle(String title)
    


Constructor Detail
HTMLElementImpl
HTMLElementImpl(HTMLDocumentImpl owner, String tagName)(Code)
Constructor required owner document and element tag name. Will be called by the constructor of specific element types but with a known tag name. Assures that the owner document is an HTML element.
Parameters:
  owner - The owner HTML document
Parameters:
  tagName - The element's tag name




Method Detail
capitalize
String capitalize(String value)(Code)
Convenience method used to capitalize a one-off attribute value before it is returned. For example, the align values "LEFT" and "left" will both return as "Left".
Parameters:
  value - The value of the attribute The capitalized value



getAttribute
public String getAttribute(String attrName)(Code)



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



getAttributeNode
public Attr getAttributeNode(String attrName)(Code)



getAttributeNodeNS
public Attr getAttributeNodeNS(String namespaceURI, String localName)(Code)



getBinary
boolean getBinary(String name)(Code)
Convenience method used to translate an attribute value into a boolean value. If the attribute has an associated value (even an empty string), it is set and true is returned. If the attribute does not exist, false is returend.
Parameters:
  value - The value of the attribute True or false depending on whether the attribute has been set



getCapitalized
String getCapitalized(String name)(Code)
Convenience method used to capitalize a one-off attribute value before it is returned. For example, the align values "LEFT" and "left" will both return as "Left".
Parameters:
  name - The name of the attribute The capitalized value



getClassName
public String getClassName()(Code)



getDir
public String getDir()(Code)



getElementsByTagName
final public NodeList getElementsByTagName(String tagName)(Code)



getElementsByTagNameNS
final public NodeList getElementsByTagNameNS(String namespaceURI, String localName)(Code)



getForm
public HTMLFormElement getForm()(Code)
Convenience method returns the form in which this form element is contained. This method is exposed for form elements through the DOM API, but other elements have no access to it through the API.



getId
public String getId()(Code)



getInteger
int getInteger(String value)(Code)
Convenience method used to translate an attribute value into an integer value. Returns the integer value or zero if the attribute is not a valid numeric string.
Parameters:
  value - The value of the attribute The integer value, or zero if not a valid numeric string



getLang
public String getLang()(Code)



getTitle
public String getTitle()(Code)



setAttribute
void setAttribute(String name, boolean value)(Code)
Convenience method used to set a boolean attribute. If the value is true, the attribute is set to an empty string. If the value is false, the attribute is removed. HTML 4.0 understands empty strings as set attributes.
Parameters:
  name - The name of the attribute
Parameters:
  value - The value of the attribute



setClassName
public void setClassName(String className)(Code)



setDir
public void setDir(String dir)(Code)



setId
public void setId(String id)(Code)



setLang
public void setLang(String lang)(Code)



setTitle
public void setTitle(String title)(Code)



Fields inherited from org.apache.xerces.dom.ElementImpl
protected AttributeMap attributes(Code)(Java Doc)
protected String name(Code)(Java Doc)

Methods inherited from org.apache.xerces.dom.ElementImpl
public Node cloneNode(boolean deep)(Code)(Java Doc)
public String getAttribute(String name)(Code)(Java Doc)
public String getAttributeNS(String namespaceURI, String localName)(Code)(Java Doc)
public Attr getAttributeNode(String name)(Code)(Java Doc)
public Attr getAttributeNodeNS(String namespaceURI, String localName)(Code)(Java Doc)
public NamedNodeMap getAttributes()(Code)(Java Doc)
protected NamedNodeMapImpl getDefaultAttributes()(Code)(Java Doc)
public NodeList getElementsByTagName(String tagname)(Code)(Java Doc)
public NodeList getElementsByTagNameNS(String namespaceURI, String localName)(Code)(Java Doc)
public String getNodeName()(Code)(Java Doc)
public short getNodeType()(Code)(Java Doc)
public String getTagName()(Code)(Java Doc)
public boolean hasAttribute(String name)(Code)(Java Doc)
public boolean hasAttributeNS(String namespaceURI, String localName)(Code)(Java Doc)
public boolean hasAttributes()(Code)(Java Doc)
public void normalize()(Code)(Java Doc)
protected void reconcileDefaultAttributes()(Code)(Java Doc)
public void removeAttribute(String name)(Code)(Java Doc)
public void removeAttributeNS(String namespaceURI, String localName)(Code)(Java Doc)
public Attr removeAttributeNode(Attr oldAttr) throws DOMException(Code)(Java Doc)
public void setAttribute(String name, String value)(Code)(Java Doc)
public void setAttributeNS(String namespaceURI, String localName, String value)(Code)(Java Doc)
public Attr setAttributeNode(Attr newAttr) throws DOMException(Code)(Java Doc)
public Attr setAttributeNodeNS(Attr newAttr) throws DOMException(Code)(Java Doc)
public void setReadOnly(boolean readOnly, boolean deep)(Code)(Java Doc)
protected void setupDefaultAttributes()(Code)(Java Doc)
protected void synchronizeData()(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.