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


java.lang.Object
   org.netbeans.tax.TreeObject
      org.netbeans.tax.TreeNode
         org.netbeans.tax.TreeAttribute

TreeAttribute
public class TreeAttribute extends TreeNode implements Element.Attribute,TreeNamedObjectMap.NamedObject(Code)
TreeAtribute represents attribute name value pair. Value of attribute can be: Text or EntityReference.
author:
   Libor Kramolis
version:
   0.1

Inner Class :protected class ValueListContentManager extends TreeObjectList.ContentManager

Field Summary
final public static  StringPROP_NAME
    
final public static  StringPROP_OWNER_ELEMENT
    
final public static  StringPROP_SPECIFIED
    
final public static  StringPROP_VALUE
    

Constructor Summary
public  TreeAttribute(String qName, String value, boolean specified)
     Creates new TreeAttribute.
Parameters:
  qName - XML qualified name e.g.
public  TreeAttribute(String qName, String value)
     Creates new specified TreeAttribute.
Parameters:
  qName - XML qualified name e.g.
protected  TreeAttribute(TreeAttribute attribute)
     Creates new TreeAttribute -- copy constructor.

Method Summary
final protected  voidcheckName(TreeName name)
    
final protected  voidcheckValue(String value)
    
public  Objectclone()
    
protected  TreeObjectList.ContentManagercreateValueListContentManager()
    
public  booleanequals(Object object, boolean deep)
    
final public  StringgetLocalName()
    
final public  TreeNamespacegetNamespace()
    
final public  StringgetNamespacePrefix()
    
final public  StringgetNamespaceURI()
    
final public  StringgetNonNormalizedValue()
    
final public  TreeDocumentRootgetOwnerDocument()
    
final public  TreeElementgetOwnerElement()
    
final public  StringgetQName()
    
final public  TreeNamegetTreeName()
    
final public  StringgetValue()
    
final public  TreeObjectListgetValueList()
    
final public  booleanisInContext()
    
public  booleanisSpecified()
    
public  ObjectmapKey()
    
public  voidmerge(TreeObject treeObject)
    
final public  voidremoveFromContext()
    
public  voidsetKeyListener(TreeNamedObjectMap.KeyListener keyListener)
     Attach NamedObject to NamedObject Map.
final protected  voidsetOwnerElement(TreeElement newOwnerElement)
    
final public  voidsetQName(String name)
    
protected  voidsetReadOnly(boolean newReadOnly)
    
final public  voidsetTreeName(TreeName newName)
    
final public  voidsetValue(String newValue)
     Simplified attribute value setter.

Field Detail
PROP_NAME
final public static String PROP_NAME(Code)



PROP_OWNER_ELEMENT
final public static String PROP_OWNER_ELEMENT(Code)



PROP_SPECIFIED
final public static String PROP_SPECIFIED(Code)



PROP_VALUE
final public static String PROP_VALUE(Code)




Constructor Detail
TreeAttribute
public TreeAttribute(String qName, String value, boolean specified) throws InvalidArgumentException(Code)
Creates new TreeAttribute.
Parameters:
  qName - XML qualified name e.g. "myns:root" or "root".
Parameters:
  value - unnormalized attribute value (general refs allowed ???)
Parameters:
  specified - true means that the attribute must be represented literaly in document
throws:
  InvalidArgumentException - if qName or value contains unacceptable values



TreeAttribute
public TreeAttribute(String qName, String value) throws InvalidArgumentException(Code)
Creates new specified TreeAttribute.
Parameters:
  qName - XML qualified name e.g. "myns:root" or "root".
Parameters:
  value - unnormalized attribute value (no general refs allowed)
throws:
  InvalidArgumentException - if qName or value contains unacceptable values



TreeAttribute
protected TreeAttribute(TreeAttribute attribute)(Code)
Creates new TreeAttribute -- copy constructor.




Method Detail
checkName
final protected void checkName(TreeName name) throws InvalidArgumentException(Code)



checkValue
final protected void checkValue(String value) throws InvalidArgumentException(Code)
Check value being set by setValue



clone
public Object clone()(Code)



createValueListContentManager
protected TreeObjectList.ContentManager createValueListContentManager()(Code)



equals
public boolean equals(Object object, boolean deep)(Code)



getLocalName
final public String getLocalName()(Code)



getNamespace
final public TreeNamespace getNamespace()(Code)
attribute namespace or TreeNamespace.NO_NAMESPACE.



getNamespacePrefix
final public String getNamespacePrefix()(Code)



getNamespaceURI
final public String getNamespaceURI()(Code)



getNonNormalizedValue
final public String getNonNormalizedValue()(Code)
unresolved attribute value



getOwnerDocument
final public TreeDocumentRoot getOwnerDocument()(Code)



getOwnerElement
final public TreeElement getOwnerElement()(Code)



getQName
final public String getQName()(Code)



getTreeName
final public TreeName getTreeName()(Code)



getValue
final public String getValue()(Code)
resolved attribute text value



getValueList
final public TreeObjectList getValueList()(Code)
structured representation of attribute value.



isInContext
final public boolean isInContext()(Code)



isSpecified
public boolean isSpecified()(Code)



mapKey
public Object mapKey()(Code)



merge
public void merge(TreeObject treeObject) throws CannotMergeException(Code)



removeFromContext
final public void removeFromContext() throws ReadOnlyException(Code)



setKeyListener
public void setKeyListener(TreeNamedObjectMap.KeyListener keyListener)(Code)
Attach NamedObject to NamedObject Map.



setOwnerElement
final protected void setOwnerElement(TreeElement newOwnerElement)(Code)



setQName
final public void setQName(String name) throws ReadOnlyException, InvalidArgumentException(Code)

throws:
  ReadOnlyException -
throws:
  InvalidArgumentException - if given name is not acceptable by constains



setReadOnly
protected void setReadOnly(boolean newReadOnly)(Code)



setTreeName
final public void setTreeName(TreeName newName) throws ReadOnlyException, InvalidArgumentException(Code)

throws:
  ReadOnlyException -
throws:
  InvalidArgumentException - if passed argument does not pass checks



setValue
final public void setValue(String newValue) throws ReadOnlyException, InvalidArgumentException(Code)
Simplified attribute value setter.
throws:
  ReadOnlyException -
throws:
  InvalidArgumentException -



Fields inherited from org.netbeans.tax.TreeNode
final public static String PROP_NODE(Code)(Java Doc)

Methods inherited from org.netbeans.tax.TreeNode
final public TreeEventManager getEventManager()(Code)(Java Doc)
abstract public TreeDocumentRoot getOwnerDocument()(Code)(Java Doc)

Fields inherited from org.netbeans.tax.TreeObject
final public static String PROP_READ_ONLY(Code)(Java Doc)

Methods inherited from org.netbeans.tax.TreeObject
final public void addPropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc)
final public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc)
final public void addReadonlyChangeListener(PropertyChangeListener listener)(Code)(Java Doc)
final protected void bubblePropertyChange(TreeEvent origEvt)(Code)(Java Doc)
final protected void checkMergeObject(TreeObject treeObject) throws CannotMergeException(Code)(Java Doc)
final protected void checkReadOnly() throws ReadOnlyException(Code)(Java Doc)
abstract public Object clone()(Code)(Java Doc)
public boolean equals(Object object)(Code)(Java Doc)
public boolean equals(Object object, boolean deep)(Code)(Java Doc)
final protected void firePropertyChange(TreeEvent evt)(Code)(Java Doc)
final protected void firePropertyChange(String propertyName, Object oldValue, Object newValue)(Code)(Java Doc)
final protected TreeEventChangeSupport getEventChangeSupport()(Code)(Java Doc)
abstract public TreeEventManager getEventManager()(Code)(Java Doc)
final public boolean hasPropertyChangeListeners(String propertyName)(Code)(Java Doc)
abstract public boolean isInContext()(Code)(Java Doc)
final protected boolean isInstance(Object object)(Code)(Java Doc)
final public boolean isReadOnly()(Code)(Java Doc)
final public String listListeners()(Code)(Java Doc)
public void merge(TreeObject treeObject) throws CannotMergeException(Code)(Java Doc)
abstract public void removeFromContext() throws ReadOnlyException(Code)(Java Doc)
final public void removePropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc)
final public void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc)
final public void removeReadonlyChangeListener(PropertyChangeListener listener)(Code)(Java Doc)
protected void setReadOnly(boolean newReadOnly)(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.