Java Doc for AttrImpl.java in  » Database-JDBC-Connection-Pool » octopus » org » enhydra » 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 » Database JDBC Connection Pool » octopus » org.enhydra.xml 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.enhydra.xml.NodeImpl
      org.enhydra.xml.AttrImpl

AttrImpl
public class AttrImpl extends NodeImpl implements Attr(Code)

author:
   Tweety
author:
   A class representing a node in a meta-data tree, which implements
author:
   the
author:
  

Namespaces are ignored in this implementation. The terms "tag
author:
   name" and "node name" are always considered to be synonymous.
version:
   1.0



Field Summary
 Stringname
     Attribute name.
 Elementowner
     Document owner.
 booleanspecified
     If this attribute was explicitly given a value in the original document, this is true; otherwise, it is false.
 Stringvalue
     Attribute value.

Constructor Summary
public  AttrImpl(Element owner, String name, String value)
     Constructs an empty AttrImpl.
public  AttrImpl(Attr attr)
     Constructs a AttrImpl from the given node.

Method Summary
public  NodeappendChild(Node newChild)
    
protected  voidbeginToString(StringBuffer sb, Indent indent)
    
protected  voidcheckNode(Node node)
    
public  NodecloneNode(boolean deep)
    
public  shortcompareDocumentPosition(Node other)
    
protected  voidendToString(StringBuffer sb, Indent indent)
    
public  NamedNodeMapgetAttributes()
    
public  StringgetBaseURI()
    
public  NodeListgetChildNodes()
    
public  ObjectgetFeature(String feature, String version)
    
public  NodegetFirstChild()
    
public  NodegetLastChild()
    
public  intgetLength()
    
public  StringgetLocalName()
    
public  StringgetName()
     Returns the attribute name associated with this node.
public  StringgetNamespaceURI()
    
public  NodegetNextSibling()
    
public  StringgetNodeName()
     Returns the name associated with this node.
public  shortgetNodeType()
     Returns the node type.
public  StringgetNodeValue()
     Returns the value associated with this node.
public  DocumentgetOwnerDocument()
    
public  ElementgetOwnerElement()
     Returns the owner of this attribute.
public  NodegetParentNode()
    
public  StringgetPrefix()
    
public  NodegetPreviousSibling()
    
public  TypeInfogetSchemaTypeInfo()
    
public  booleangetSpecified()
     If this attribute was explicitly given a value in the original document, this is true; otherwise, it is false.
public  StringgetTextContent()
    
public  ObjectgetUserData(String key)
    
public  StringgetValue()
     Returns the value associated with this attributes.
public  booleanhasAttributes()
    
public  booleanhasChildNodes()
    
protected  voidinitNodeImplChildren(Node node)
    
public  NodeinsertBefore(Node newChild, Node refChild)
    
public  booleanisDefaultNamespace(String namespaceURI)
    
public  booleanisEqualNode(Node arg)
    
public  booleanisId()
    
public  booleanisSameNode(Node other)
    
public  booleanisSupported(String feature, String version)
    
public  Nodeitem(int index)
    
public  StringlookupNamespaceURI(String prefix)
    
public  StringlookupPrefix(String namespaceURI)
    
protected  NodenewCommentInstance(Node node)
    
protected  NodenewDefaultInstance(Node node)
    
protected  NodenewElementInstance(Node node)
    
protected  NodenewTextInstance(Node node)
    
public  voidnormalize()
    
public  NoderemoveChild(Node oldChild)
    
public  NodereplaceChild(Node newChild, Node oldChild)
    
public  voidsetNodeValue(String value)
     Sets the value of this node to the given one.
public  voidsetPrefix(String prefix)
    
public  voidsetTextContent(String textContent)
    
public  ObjectsetUserData(String key, Object data, UserDataHandler handler)
    
public  voidsetValue(String value)
     Sets the value of this attribute to the given one.
public  StringtoString()
    
public  StringtoString(String tab)
    

Field Detail
name
String name(Code)
Attribute name.



owner
Element owner(Code)
Document owner.



specified
boolean specified(Code)
If this attribute was explicitly given a value in the original document, this is true; otherwise, it is false.



value
String value(Code)
Attribute value.




Constructor Detail
AttrImpl
public AttrImpl(Element owner, String name, String value)(Code)
Constructs an empty AttrImpl.
Parameters:
  owner - document owner.
Parameters:
  name - node name.
Parameters:
  value - node value.



AttrImpl
public AttrImpl(Attr attr)(Code)
Constructs a AttrImpl from the given node.
Parameters:
  attr - , as a AttrImpl.




Method Detail
appendChild
public Node appendChild(Node newChild)(Code)



beginToString
protected void beginToString(StringBuffer sb, Indent indent)(Code)



checkNode
protected void checkNode(Node node) throws DOMException(Code)



cloneNode
public Node cloneNode(boolean deep)(Code)



compareDocumentPosition
public short compareDocumentPosition(Node other) throws DOMException(Code)



endToString
protected void endToString(StringBuffer sb, Indent indent)(Code)



getAttributes
public NamedNodeMap getAttributes()(Code)



getBaseURI
public String getBaseURI()(Code)



getChildNodes
public NodeList getChildNodes()(Code)



getFeature
public Object getFeature(String feature, String version)(Code)



getFirstChild
public Node getFirstChild()(Code)



getLastChild
public Node getLastChild()(Code)



getLength
public int getLength()(Code)



getLocalName
public String getLocalName()(Code)



getName
public String getName()(Code)
Returns the attribute name associated with this node. the attribute name, as a String.



getNamespaceURI
public String getNamespaceURI() throws DOMException(Code)



getNextSibling
public Node getNextSibling()(Code)



getNodeName
public String getNodeName()(Code)
Returns the name associated with this node. the name, as a String.



getNodeType
public short getNodeType()(Code)
Returns the node type. the ATTRIBUTE_NODE node type.



getNodeValue
public String getNodeValue()(Code)
Returns the value associated with this node. the node value, as a String.



getOwnerDocument
public Document getOwnerDocument()(Code)



getOwnerElement
public Element getOwnerElement()(Code)
Returns the owner of this attribute. the attribute owner node.



getParentNode
public Node getParentNode()(Code)



getPrefix
public String getPrefix()(Code)



getPreviousSibling
public Node getPreviousSibling()(Code)



getSchemaTypeInfo
public TypeInfo getSchemaTypeInfo()(Code)



getSpecified
public boolean getSpecified()(Code)
If this attribute was explicitly given a value in the original document, this is true; otherwise, it is false. Note that the implementation is in charge of this attribute, not the user. If the user changes the value of the attribute (even if it ends up having the same value as the default value) then the specified flag is automatically flipped to true. To re-specify the attribute as the default value from the DTD, the user must delete the attribute. The implementation will then make a new attribute available with specified set to false and the default value (if one exists).
In summary: If the attribute has an assigned value in the document then specified is true, and the value is the assigned value.If the attribute has no assigned value in the document and has a default value in the DTD, then specified is false, and the value is the default value in the DTD.If the attribute has no assigned value in the document and has a value of #IMPLIED in the DTD, then the attribute does not appear in the structure model of the document.If the ownerElement attribute is null (i.e. because it was just created or was set to null by the various removal and cloning operations) specified is true. always true.



getTextContent
public String getTextContent() throws DOMException(Code)



getUserData
public Object getUserData(String key)(Code)



getValue
public String getValue()(Code)
Returns the value associated with this attributes. the node attributes, as a String.



hasAttributes
public boolean hasAttributes()(Code)



hasChildNodes
public boolean hasChildNodes()(Code)



initNodeImplChildren
protected void initNodeImplChildren(Node node)(Code)



insertBefore
public Node insertBefore(Node newChild, Node refChild)(Code)



isDefaultNamespace
public boolean isDefaultNamespace(String namespaceURI)(Code)



isEqualNode
public boolean isEqualNode(Node arg)(Code)



isId
public boolean isId()(Code)



isSameNode
public boolean isSameNode(Node other)(Code)



isSupported
public boolean isSupported(String feature, String version)(Code)



item
public Node item(int index)(Code)



lookupNamespaceURI
public String lookupNamespaceURI(String prefix)(Code)



lookupPrefix
public String lookupPrefix(String namespaceURI)(Code)



newCommentInstance
protected Node newCommentInstance(Node node)(Code)



newDefaultInstance
protected Node newDefaultInstance(Node node)(Code)



newElementInstance
protected Node newElementInstance(Node node)(Code)



newTextInstance
protected Node newTextInstance(Node node)(Code)



normalize
public void normalize()(Code)



removeChild
public Node removeChild(Node oldChild)(Code)



replaceChild
public Node replaceChild(Node newChild, Node oldChild)(Code)



setNodeValue
public void setNodeValue(String value)(Code)
Sets the value of this node to the given one.
Parameters:
  value - is value of the node



setPrefix
public void setPrefix(String prefix)(Code)



setTextContent
public void setTextContent(String textContent) throws DOMException(Code)



setUserData
public Object setUserData(String key, Object data, UserDataHandler handler)(Code)



setValue
public void setValue(String value)(Code)
Sets the value of this attribute to the given one.
Parameters:
  value - the new attribute value, as a String.



toString
public String toString()(Code)



toString
public String toString(String tab)(Code)



Fields inherited from org.enhydra.xml.NodeImpl
protected NodeImpl firstChild(Code)(Java Doc)
protected NodeImpl lastChild(Code)(Java Doc)
protected NodeImpl nextSibling(Code)(Java Doc)
protected String nodeName(Code)(Java Doc)
protected String nodeValue(Code)(Java Doc)
protected int numChildren(Code)(Java Doc)
protected Document ownerDocument(Code)(Java Doc)
protected NodeImpl parent(Code)(Java Doc)
protected NodeImpl previousSibling(Code)(Java Doc)
protected short type(Code)(Java Doc)

Methods inherited from org.enhydra.xml.NodeImpl
public Node appendChild(Node newChild)(Code)(Java Doc)
protected void beginToString(StringBuffer sb, Indent indent)(Code)(Java Doc)
protected void checkNode(Node node) throws DOMException(Code)(Java Doc)
public Node cloneNode(boolean deep)(Code)(Java Doc)
public short compareDocumentPosition(Node other) throws DOMException(Code)(Java Doc)
protected void endToString(StringBuffer sb, Indent indent)(Code)(Java Doc)
public NamedNodeMap getAttributes()(Code)(Java Doc)
public String getBaseURI()(Code)(Java Doc)
public NodeList getChildNodes()(Code)(Java Doc)
public Object getFeature(String feature, String version)(Code)(Java Doc)
public Node getFirstChild()(Code)(Java Doc)
public Node getLastChild()(Code)(Java Doc)
public int getLength()(Code)(Java Doc)
public String getLocalName()(Code)(Java Doc)
public String getNamespaceURI() throws DOMException(Code)(Java Doc)
public Node getNextSibling()(Code)(Java Doc)
public String getNodeName()(Code)(Java Doc)
public short getNodeType()(Code)(Java Doc)
public String getNodeValue()(Code)(Java Doc)
public Document getOwnerDocument()(Code)(Java Doc)
public Node getParentNode()(Code)(Java Doc)
public String getPrefix()(Code)(Java Doc)
public Node getPreviousSibling()(Code)(Java Doc)
public String getTextContent() throws DOMException(Code)(Java Doc)
public Object getUserData(String key)(Code)(Java Doc)
public boolean hasAttributes()(Code)(Java Doc)
public boolean hasChildNodes()(Code)(Java Doc)
protected void initNodeImplChildren(Node node)(Code)(Java Doc)
public Node insertBefore(Node newChild, Node refChild)(Code)(Java Doc)
public boolean isDefaultNamespace(String namespaceURI)(Code)(Java Doc)
public boolean isEqualNode(Node arg)(Code)(Java Doc)
public boolean isSameNode(Node other)(Code)(Java Doc)
public boolean isSupported(String feature, String version)(Code)(Java Doc)
public Node item(int index)(Code)(Java Doc)
public String lookupNamespaceURI(String prefix)(Code)(Java Doc)
public String lookupPrefix(String namespaceURI)(Code)(Java Doc)
protected Node newCommentInstance(Node node)(Code)(Java Doc)
protected Node newDefaultInstance(Node node)(Code)(Java Doc)
protected Node newElementInstance(Node node)(Code)(Java Doc)
protected Node newTextInstance(Node node)(Code)(Java Doc)
public void normalize()(Code)(Java Doc)
public Node removeChild(Node oldChild)(Code)(Java Doc)
public Node replaceChild(Node newChild, Node oldChild)(Code)(Java Doc)
public void setNodeValue(String nodeValue)(Code)(Java Doc)
public void setPrefix(String prefix)(Code)(Java Doc)
public void setTextContent(String textContent) throws DOMException(Code)(Java Doc)
public Object setUserData(String key, Object data, UserDataHandler handler)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public String toString(String tab)(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.