Java Doc for AttrImpl.java in  » IDE-Netbeans » xml » org » netbeans » tax » 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 » IDE Netbeans » xml » org.netbeans.tax.dom 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.netbeans.tax.dom.NodeImpl
      org.netbeans.tax.dom.AttrImpl

AttrImpl
class AttrImpl extends NodeImpl implements Attr(Code)

author:
   Petr Kuzel



Constructor Summary
public  AttrImpl(TreeAttribute peer)
    

Method Summary
public  StringgetName()
     Returns the name of this attribute.
public  StringgetNodeName()
     The name of this node, depending on its type; see the table above.
public  shortgetNodeType()
     A code representing the type of the underlying object, as defined above.
public  StringgetNodeValue()
     The value of this node, depending on its type; see the table above.
public  ElementgetOwnerElement()
     The Element node this attribute is attached to or null if this attribute is not in use.
public  NodegetParentNode()
     The parent of this node.
public  booleangetSpecified()
     If this attribute was explicitly given a value in the original document, this is true; otherwise, it is false.
public  StringgetValue()
     On retrieval, the value of the attribute is returned as a string. Character and general entity references are replaced with their values.
public  voidsetValue(String value)
     On retrieval, the value of the attribute is returned as a string. Character and general entity references are replaced with their values.


Constructor Detail
AttrImpl
public AttrImpl(TreeAttribute peer)(Code)
Creates a new instance of AttrImpl




Method Detail
getName
public String getName()(Code)
Returns the name of this attribute.



getNodeName
public String getNodeName()(Code)
The name of this node, depending on its type; see the table above.



getNodeType
public short getNodeType()(Code)
A code representing the type of the underlying object, as defined above.



getNodeValue
public String getNodeValue() throws DOMException(Code)
The value of this node, depending on its type; see the table above. When it is defined to be null, setting it has no effect.
exception:
  DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.
exception:
  DOMException - DOMSTRING_SIZE_ERR: Raised when it would return more characters thanfit in a DOMString variable on the implementationplatform.



getOwnerElement
public Element getOwnerElement()(Code)
The Element node this attribute is attached to or null if this attribute is not in use.
since:
   DOM Level 2



getParentNode
public Node getParentNode()(Code)
The parent of this node. All nodes, except Attr, Document, DocumentFragment, Entity, and Notation may have a parent. However, if a node has just been created and not yet added to the tree, or if it has been removed from the tree, this is null.



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.



getValue
public String getValue()(Code)
On retrieval, the value of the attribute is returned as a string. Character and general entity references are replaced with their values. See also the method getAttribute on the Element interface.
On setting, this creates a Text node with the unparsed contents of the string. I.e. any characters that an XML processor would recognize as markup are instead treated as literal text. See also the method setAttribute on the Element interface.
exception:
  DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.



setValue
public void setValue(String value) throws DOMException(Code)
On retrieval, the value of the attribute is returned as a string. Character and general entity references are replaced with their values. See also the method getAttribute on the Element interface.
On setting, this creates a Text node with the unparsed contents of the string. I.e. any characters that an XML processor would recognize as markup are instead treated as literal text. See also the method setAttribute on the Element interface.
exception:
  DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.



Methods inherited from org.netbeans.tax.dom.NodeImpl
public Node appendChild(Node newChild) throws DOMException(Code)(Java Doc)
public Node cloneNode(boolean deep)(Code)(Java Doc)
public short compareDocumentPosition(Node a)(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 a, String b)(Code)(Java Doc)
public Node getFirstChild()(Code)(Java Doc)
public Node getLastChild()(Code)(Java Doc)
public String getLocalName()(Code)(Java Doc)
public String getNamespaceURI()(Code)(Java Doc)
public Node getNextSibling()(Code)(Java Doc)
abstract public String getNodeName()(Code)(Java Doc)
abstract public short getNodeType()(Code)(Java Doc)
abstract public String getNodeValue() throws DOMException(Code)(Java Doc)
public Document getOwnerDocument()(Code)(Java Doc)
abstract public Node getParentNode()(Code)(Java Doc)
public String getPrefix()(Code)(Java Doc)
public Node getPreviousSibling()(Code)(Java Doc)
public TypeInfo getSchemaTypeInfo()(Code)(Java Doc)
public String getTextContent()(Code)(Java Doc)
public Object getUserData(String a)(Code)(Java Doc)
public String getWholeText()(Code)(Java Doc)
public boolean hasAttributes()(Code)(Java Doc)
public boolean hasChildNodes()(Code)(Java Doc)
public Node insertBefore(Node newChild, Node refChild) throws DOMException(Code)(Java Doc)
public boolean isDefaultNamespace(String a)(Code)(Java Doc)
public boolean isElementContentWhitespace()(Code)(Java Doc)
public boolean isEqualNode(Node a)(Code)(Java Doc)
public boolean isId()(Code)(Java Doc)
public boolean isSameNode(Node a)(Code)(Java Doc)
public boolean isSupported(String feature, String version)(Code)(Java Doc)
public String lookupNamespaceURI(String a)(Code)(Java Doc)
public String lookupPrefix(String a)(Code)(Java Doc)
public void normalize()(Code)(Java Doc)
public Node removeChild(Node oldChild) throws DOMException(Code)(Java Doc)
public Node replaceChild(Node newChild, Node oldChild) throws DOMException(Code)(Java Doc)
public Text replaceWholeText(String a)(Code)(Java Doc)
public void setIdAttribute(String a, boolean b)(Code)(Java Doc)
public void setIdAttributeNS(String a, String b, boolean c)(Code)(Java Doc)
public void setIdAttributeNode(Attr a, boolean b)(Code)(Java Doc)
public void setNodeValue(String nodeValue) throws DOMException(Code)(Java Doc)
public void setPrefix(String prefix) throws DOMException(Code)(Java Doc)
public void setTextContent(String a)(Code)(Java Doc)
public Object setUserData(String a, Object b, UserDataHandler c)(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.