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


org.ozoneDB.xml.dom.NodeImpl
   org.ozoneDB.xml.dom.AttrImpl

AttrImpl
final public class AttrImpl extends NodeImpl implements AttrProxy,Externalizable(Code)
Represents an attribute in an org.w3c.dom.Element node.

Attributes are not real nodes, they are not children in their parent element and the methods AttrImpl.getParentNode , AttrImpl.getNextSibling and AttrImpl.getPreviousSibling always return null.

Attributes in XML documents support children, but only of the type org.w3c.dom.Text and org.w3c.dom.EntityReference .

The specified value of an attribute indicates whether it's value has been changed since it was constructed with the default value. The specified value is not used when cloning an attribute or testing for equality.

To speed up implementation, all attributes are implemented as double-linked list using NodeImpl._parent , NodeImpl._nextNode and NodeImpl._prevNode .
version:
   $Revision: 1.1 $ $Date: 2001/12/18 11:03:24 $
author:
   Assaf Arkin
See Also:   org.w3c.dom.Attr
See Also:   NodeImpl
See Also:   ElementImpl



Field Summary
final static  longserialVersionUID
    

Constructor Summary
 AttrImpl(DocumentImpl owner, String name, String defValue)
     Hidden constructor for attribute.
public  AttrImpl()
    

Method Summary
protected  NodecastNewChild(Node newChild)
     Assures that the children of an attribute are either org.w3c.dom.Text or org.w3c.dom.EntityReference .
final public  Objectclone()
    
public synchronized  voidcloneInto(NodeProxy into, boolean deep)
    
final public  NodecloneNode(boolean deep)
    
final public  StringgetName()
    
final public  shortgetNodeType()
    
public  ElementgetOwnerElement()
    
final public  booleangetSpecified()
    
public  StringgetValue()
    
final public  voidinit(DocumentProxy owner, String name, String value)
    
public  voidreadExternal(ObjectInput in)
    
public  voidsetNodeValue(String value)
    
public  voidsetSpecified(boolean value)
    
public  voidsetValue(String value)
    
protected  booleansupportsChildern()
    
public  StringtoString()
    
public  voidwriteExternal(ObjectOutput out)
    

Field Detail
serialVersionUID
final static long serialVersionUID(Code)




Constructor Detail
AttrImpl
AttrImpl(DocumentImpl owner, String name, String defValue)(Code)
Hidden constructor for attribute. Note that value is the DTD's default value for this attribute, it is not the value specified in the XML document. The value specified in the XML document should be passed by calling AttrImpl.setValue explicitly.

The attribute name is case sensitive for XML, but is case insensitive and all lower case for HTML documents. owner must point to a valid document object.
Parameters:
  owner - The owner document
Parameters:
  name - The attribute's name
Parameters:
  value - The attribute's value as specified in the DTD or null




AttrImpl
public AttrImpl()(Code)




Method Detail
castNewChild
protected Node castNewChild(Node newChild) throws DOMException(Code)
Assures that the children of an attribute are either org.w3c.dom.Text or org.w3c.dom.EntityReference .
See Also:   NodeImpl.castNewChild



clone
final public Object clone()(Code)



cloneInto
public synchronized void cloneInto(NodeProxy into, boolean deep)(Code)



cloneNode
final public Node cloneNode(boolean deep)(Code)



getName
final public String getName()(Code)



getNodeType
final public short getNodeType()(Code)



getOwnerElement
public Element getOwnerElement()(Code)



getSpecified
final public boolean getSpecified()(Code)



getValue
public String getValue()(Code)



init
final public void init(DocumentProxy owner, String name, String value)(Code)



readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException(Code)



setNodeValue
public void setNodeValue(String value)(Code)



setSpecified
public void setSpecified(boolean value)(Code)



setValue
public void setValue(String value)(Code)



supportsChildern
protected boolean supportsChildern()(Code)



toString
public String toString()(Code)



writeExternal
public void writeExternal(ObjectOutput out) throws IOException(Code)



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)
NodeProxy _nextNode(Code)(Java Doc)
DocumentProxy _ownerDocument(Code)(Java Doc)
NodeProxy _parent(Code)(Java Doc)
NodeProxy _prevNode(Code)(Java Doc)
final static long serialVersionUID(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)
boolean supportsChildern()(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.