Java Doc for AttrImpl.java in  » J2EE » Enhydra-Application-Framework » 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 » J2EE » Enhydra Application Framework » 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  shortcompareDocumentPosition(Node arg0)
    
public  StringgetBaseURI()
    
public  ObjectgetFeature(String arg0, String arg1)
    
public  StringgetName()
     Returns the attribute name associated with this node.
public  StringgetNamespaceURI()
    
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  ElementgetOwnerElement()
     Returns the owner of this attribute.
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 arg0)
    
public  StringgetValue()
     Returns the value associated with this attributes.
public  booleanisDefaultNamespace(String arg0)
    
public  booleanisEqualNode(Node arg0)
    
public  booleanisId()
    
public  booleanisSameNode(Node arg0)
    
public  StringlookupNamespaceURI(String arg0)
    
public  StringlookupPrefix(String arg0)
    
public  voidsetNodeValue(String value)
     Sets the value of this node to the given one.
public  voidsetTextContent(String arg0)
    
public  ObjectsetUserData(String arg0, Object arg1, UserDataHandler arg2)
    
public  voidsetValue(String value)
     Sets the value of this attribute to the given one.

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. node, as a AttrImpl.




Method Detail
compareDocumentPosition
public short compareDocumentPosition(Node arg0) throws DOMException(Code)



getBaseURI
public String getBaseURI()(Code)



getFeature
public Object getFeature(String arg0, String arg1)(Code)



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



getNamespaceURI
public String getNamespaceURI()(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.



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



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. Retuns always true.



getTextContent
public String getTextContent() throws DOMException(Code)



getUserData
public Object getUserData(String arg0)(Code)



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



isDefaultNamespace
public boolean isDefaultNamespace(String arg0)(Code)



isEqualNode
public boolean isEqualNode(Node arg0)(Code)



isId
public boolean isId()(Code)



isSameNode
public boolean isSameNode(Node arg0)(Code)



lookupNamespaceURI
public String lookupNamespaceURI(String arg0)(Code)



lookupPrefix
public String lookupPrefix(String arg0)(Code)



setNodeValue
public void setNodeValue(String value)(Code)
Sets the value of this node to the given one. the node value, as a String.



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



setUserData
public Object setUserData(String arg0, Object arg1, UserDataHandler arg2)(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.



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)
public Node cloneNode(boolean deep)(Code)(Java Doc)
public short compareDocumentPosition(Node arg0) 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 arg0, String arg1)(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()(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 arg0)(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 arg0)(Code)(Java Doc)
public boolean isEqualNode(Node arg0)(Code)(Java Doc)
public boolean isSameNode(Node arg0)(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 arg0)(Code)(Java Doc)
public String lookupPrefix(String arg0)(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 arg0) throws DOMException(Code)(Java Doc)
public Object setUserData(String arg0, Object arg1, UserDataHandler arg2)(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.