Java Doc for HTMLElementImpl.java in  » Database-DBMS » Ozone-1.1 » org » ozoneDB » xml » dom » 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 » Database DBMS » Ozone 1.1 » org.ozoneDB.xml.dom.html 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.ozoneDB.xml.dom.NodeImpl
   org.ozoneDB.xml.dom.ElementImpl
      org.ozoneDB.xml.dom.html.HTMLElementImpl

All known Subclasses:   org.ozoneDB.xml.dom.html.HTMLUListElementImpl,  org.ozoneDB.xml.dom.html.HTMLInputElementImpl,  org.ozoneDB.xml.dom.html.HTMLSelectElementImpl,  org.ozoneDB.xml.dom.html.HTMLLIElementImpl,  org.ozoneDB.xml.dom.html.HTMLOptGroupElementImpl,  org.ozoneDB.xml.dom.html.HTMLButtonElementImpl,  org.ozoneDB.xml.dom.html.HTMLFrameSetElementImpl,  org.ozoneDB.xml.dom.html.HTMLMetaElementImpl,  org.ozoneDB.xml.dom.html.HTMLDivElementImpl,  org.ozoneDB.xml.dom.html.HTMLDirectoryElementImpl,  org.ozoneDB.xml.dom.html.HTMLQuoteElementImpl,  org.ozoneDB.xml.dom.html.HTMLMapElementImpl,  org.ozoneDB.xml.dom.html.HTMLPreElementImpl,  org.ozoneDB.xml.dom.html.HTMLStyleElementImpl,  org.ozoneDB.xml.dom.html.HTMLTextAreaElementImpl,  org.ozoneDB.xml.dom.html.HTMLFieldSetElementImpl,  org.ozoneDB.xml.dom.html.HTMLFontElementImpl,  org.ozoneDB.xml.dom.html.HTMLParamElementImpl,  org.ozoneDB.xml.dom.html.HTMLIFrameElementImpl,  org.ozoneDB.xml.dom.html.HTMLImageElementImpl,  org.ozoneDB.xml.dom.html.HTMLTableCaptionElementImpl,  org.ozoneDB.xml.dom.html.HTMLLabelElementImpl,  org.ozoneDB.xml.dom.html.HTMLAreaElementImpl,  org.ozoneDB.xml.dom.html.HTMLAppletElementImpl,  org.ozoneDB.xml.dom.html.HTMLFrameElementImpl,  org.ozoneDB.xml.dom.html.HTMLTableRowElementImpl,  org.ozoneDB.xml.dom.html.HTMLObjectElementImpl,  org.ozoneDB.xml.dom.html.HTMLBaseFontElementImpl,  org.ozoneDB.xml.dom.html.HTMLTableColElementImpl,  org.ozoneDB.xml.dom.html.HTMLTitleElementImpl,  org.ozoneDB.xml.dom.html.HTMLAnchorElementImpl,  org.ozoneDB.xml.dom.html.HTMLFormElementImpl,  org.ozoneDB.xml.dom.html.HTMLMenuElementImpl,  org.ozoneDB.xml.dom.html.HTMLHeadElementImpl,  org.ozoneDB.xml.dom.html.HTMLBRElementImpl,  org.ozoneDB.xml.dom.html.HTMLModElementImpl,  org.ozoneDB.xml.dom.html.HTMLBaseElementImpl,  org.ozoneDB.xml.dom.html.HTMLHtmlElementImpl,  org.ozoneDB.xml.dom.html.HTMLBodyElementImpl,  org.ozoneDB.xml.dom.html.HTMLLegendElementImpl,  org.ozoneDB.xml.dom.html.HTMLHeadingElementImpl,  org.ozoneDB.xml.dom.html.HTMLScriptElementImpl,  org.ozoneDB.xml.dom.html.HTMLBlockquoteElementImpl,  org.ozoneDB.xml.dom.html.HTMLTableElementImpl,  org.ozoneDB.xml.dom.html.HTMLOptionElementImpl,  org.ozoneDB.xml.dom.html.HTMLDListElementImpl,  org.ozoneDB.xml.dom.html.HTMLTableCellElementImpl,  org.ozoneDB.xml.dom.html.HTMLTableSectionElementImpl,  org.ozoneDB.xml.dom.html.HTMLOListElementImpl,  org.ozoneDB.xml.dom.html.HTMLParagraphElementImpl,  org.ozoneDB.xml.dom.html.HTMLLinkElementImpl,  org.ozoneDB.xml.dom.html.HTMLHRElementImpl,  org.ozoneDB.xml.dom.html.HTMLIsIndexElementImpl,
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.openxml.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.

Note that some support is provided by org.openxml.dom.NodeImpl directly: translating all tag names to upper case and all attribute names to lower case.
version:
   $Revision: 1.1 $ $Date: 2001/12/18 11:03:24 $
author:
   Assaf Arkin
See Also:   org.w3c.dom.html.HTMLElement
See Also:   org.openxml.dom.ElementImpl




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.
protected  NodecastNewChild(Node newChild)
    
 StringgetCapitalized(String name)
     Convenience method used to capitalize a one-off attribute value before it is returned.
public  StringgetClassName()
    
public  StringgetDir()
    
public  HTMLFormElementgetForm()
     Convenience method returns the form in which this form element is contained.
public  StringgetId()
    
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)
    
 booleantoBoolean(String name)
     Convenience method used to translate an attribute value into a boolean value.
 inttoInteger(String value)
     Convenience method used to translate an attribute value into an integer value.


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



castNewChild
protected Node castNewChild(Node newChild) throws DOMException(Code)



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)



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)



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)



toBoolean
boolean toBoolean(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



toInteger
int toInteger(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



Methods inherited from org.ozoneDB.xml.dom.ElementImpl
final public synchronized AttrProxy appendAttr(AttrProxy newAttr)(Code)(Java Doc)
final public Object clone()(Code)(Java Doc)
public synchronized void cloneInto(NodeProxy into, boolean deep)(Code)(Java Doc)
final public Node cloneNode(boolean deep)(Code)(Java Doc)
final public Enumeration elements()(Code)(Java Doc)
public synchronized boolean equals(Object other)(Code)(Java Doc)
final public synchronized String getAttribute(String name)(Code)(Java Doc)
public java.lang.String getAttributeNS(java.lang.String namespaceURI, java.lang.String localName)(Code)(Java Doc)
final public Attr getAttributeNode(String name)(Code)(Java Doc)
public Attr getAttributeNodeNS(java.lang.String namespaceURI, java.lang.String localName)(Code)(Java Doc)
final public NamedNodeMap getAttributes()(Code)(Java Doc)
final public synchronized NodeList getElementsByTagName(String tagName)(Code)(Java Doc)
public NodeList getElementsByTagNameNS(java.lang.String namespaceURI, java.lang.String localName)(Code)(Java Doc)
public int getLength()(Code)(Java Doc)
final public synchronized Attr getNamedAttr(String name)(Code)(Java Doc)
final public synchronized Node getNamedItem(String name)(Code)(Java Doc)
public Node getNamedItemNS(java.lang.String namespaceURI, java.lang.String localName)(Code)(Java Doc)
final public short getNodeType()(Code)(Java Doc)
final 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 init(NodeProxy owner, Dictionary dictionary)(Code)(Java Doc)
final public synchronized Node item(int index)(Code)(Java Doc)
final public synchronized void normalize()(Code)(Java Doc)
public void onDelete() throws Exception(Code)(Java Doc)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException(Code)(Java Doc)
final public synchronized AttrProxy removeAttr(AttrProxy oldAttr) throws DOMException(Code)(Java Doc)
final public synchronized void removeAttribute(String name)(Code)(Java Doc)
public void removeAttributeNS(java.lang.String namespaceURI, java.lang.String localName) throws DOMException(Code)(Java Doc)
final public synchronized Attr removeAttributeNode(Attr oldAttr)(Code)(Java Doc)
final public synchronized Node removeNamedItem(String name) throws DOMException(Code)(Java Doc)
public Node removeNamedItemNS(java.lang.String namespaceURI, java.lang.String localName) throws DOMException(Code)(Java Doc)
public void setAttrCount(int count)(Code)(Java Doc)
final public synchronized void setAttribute(String name, String value) throws DOMException(Code)(Java Doc)
public void setAttributeNS(java.lang.String namespaceURI, java.lang.String qualifiedName, java.lang.String value) throws DOMException(Code)(Java Doc)
final public synchronized Attr setAttributeNode(Attr newAttr) throws DOMException(Code)(Java Doc)
public Attr setAttributeNodeNS(Attr newAttr) throws DOMException(Code)(Java Doc)
public void setFirstAttr(Attr attribute)(Code)(Java Doc)
public void setLastAttr(Attr attribute)(Code)(Java Doc)
final public Node setNamedItem(Node arg) throws DOMException(Code)(Java Doc)
public Node setNamedItemNS(Node arg) throws DOMException(Code)(Java Doc)
final public void setNodeValue(String value)(Code)(Java Doc)
protected boolean supportsChildern()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public void writeExternal(ObjectOutput out) throws IOException(Code)(Java Doc)

Fields inherited from org.ozoneDB.xml.dom.NodeImpl
final public static short ATTLIST_DECL_NODE(Code)(Java Doc)
final public static short ELEMENT_DECL_NODE(Code)(Java Doc)
final public static short PARAM_ENTITY_NODE(Code)(Java Doc)

Methods inherited from org.ozoneDB.xml.dom.NodeImpl
final public synchronized Node appendChild(Node newChild)(Code)(Java Doc)
protected Node castNewChild(Node newChild) throws DOMException(Code)(Java Doc)
final protected Node castOldChild(Node oldChild) throws DOMException(Code)(Java Doc)
public synchronized void cloneInto(NodeProxy into, boolean deep)(Code)(Java Doc)
public NamedNodeMap getAttributes()(Code)(Java Doc)
final public synchronized Node getChild(int index)(Code)(Java Doc)
final public int getChildCount()(Code)(Java Doc)
public NodeList getChildNodes()(Code)(Java Doc)
final public Node getFirstChild()(Code)(Java Doc)
final public Node getLastChild()(Code)(Java Doc)
public java.lang.String getLocalName()(Code)(Java Doc)
public java.lang.String getNamespaceURI()(Code)(Java Doc)
public Node getNextSibling()(Code)(Java Doc)
final public String getNodeName()(Code)(Java Doc)
abstract public short getNodeType()(Code)(Java Doc)
final public String getNodeValue()(Code)(Java Doc)
final public Document getOwnerDocument()(Code)(Java Doc)
public Node getParentNode()(Code)(Java Doc)
public java.lang.String getPrefix()(Code)(Java Doc)
public Node getPreviousSibling()(Code)(Java Doc)
public boolean hasAttributes()(Code)(Java Doc)
final public boolean hasChildNodes()(Code)(Java Doc)
final public void init(DocumentProxy owner, String name, String value, boolean checkName) throws DOMException(Code)(Java Doc)
final public synchronized Node insertBefore(Node newChild, Node refChild) throws DOMException(Code)(Java Doc)
final public boolean isReadOnly()(Code)(Java Doc)
public boolean isSupported(String s, String s1)(Code)(Java Doc)
public void normalize()(Code)(Java Doc)
protected void notifyIterators(Node removedChild)(Code)(Java Doc)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException(Code)(Java Doc)
final public synchronized Node removeChild(Node oldChild) throws DOMException(Code)(Java Doc)
final public synchronized Node replaceChild(Node newChild, Node oldChild) throws DOMException(Code)(Java Doc)
public void setNextSibling(Node nextNode)(Code)(Java Doc)
final public void setNodeName(String nodeName)(Code)(Java Doc)
public void setNodeValue(String value)(Code)(Java Doc)
public synchronized void setOwnerDocument(Document owner)(Code)(Java Doc)
public void setParentNode(Node newParent)(Code)(Java Doc)
public void setPrefix(java.lang.String prefix) throws DOMException(Code)(Java Doc)
public void setPreviousSibling(Node prevNode)(Code)(Java Doc)
final public synchronized void setReadOnly()(Code)(Java Doc)
public boolean supports(java.lang.String feature, java.lang.String version)(Code)(Java Doc)
public void writeExternal(ObjectOutput out) throws IOException(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.