Java Doc for TreeElement.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.TreeChild
            org.netbeans.tax.TreeParentNode
               org.netbeans.tax.TreeElement

TreeElement
public class TreeElement extends TreeParentNode implements Document.Child,DocumentFragment.Child,Element.Child,GeneralEntityReference.Child(Code)
It represents startTag, endTag and emptyTag markup and holds element content.
author:
   Libor Kramolis
version:
   0.1

Inner Class :protected class ChildListContentManager extends TreeParentNode.ChildListContentManager
Inner Class :protected class AttributesContentManager extends TreeNamedObjectMap.ContentManager

Field Summary
final public static  StringPROP_ATTRIBUTES
    
final public static  StringPROP_TAG_NAME
    

Constructor Summary
public  TreeElement(String tagName, boolean empty)
     Creates new TreeElement.
public  TreeElement(String qName)
     Creates new TreeElement.
protected  TreeElement(TreeElement element, boolean deep)
     Creates new TreeElement -- copy constructor.

Method Summary
final public  TreeAttributeaddAttribute(String name, String value)
    
final public  voidaddAttribute(TreeAttribute newAttr)
    
final protected  voidcheckTagName(TreeName tagName)
    
public  Objectclone(boolean deep)
    
final public  booleancontainsCharacterData()
    
protected  TreeNamedObjectMap.ContentManagercreateAttributesContentManager()
    
protected  TreeObjectList.ContentManagercreateChildListContentManager()
    
public  booleanequals(Object object, boolean deep)
    
final public  TreeAttributegetAttribute(String name)
    
final public  TreeNamedObjectMapgetAttributes()
    
final public  intgetAttributesNumber()
    
final public  StringgetLocalName()
    
final public  TreeNamespacegetNamespace()
    
final protected  TreeNamespaceContextgetNamespaceContext()
    
final public  StringgetNamespacePrefix()
    
final public  StringgetNamespaceURI()
    
final public  StringgetQName()
    
final public  TreeNamegetTreeName()
    
final public  booleanhasAttribute(String name)
    
final public  booleanhasAttributes()
    
public  booleanisEmpty()
    
public  voidmerge(TreeObject treeObject)
    
final public  voidnormalize()
    
final public  TreeAttributeremoveAttribute(String name)
    
final public  TreeAttributeremoveAttribute(TreeAttribute oldAttr)
    
final public  voidremoveAttributes()
    
final public  voidsetQName(String newTagName)
    
protected  voidsetReadOnly(boolean newReadOnly)
    
final public  voidsetTreeName(TreeName newTagName)
    

Field Detail
PROP_ATTRIBUTES
final public static String PROP_ATTRIBUTES(Code)



PROP_TAG_NAME
final public static String PROP_TAG_NAME(Code)




Constructor Detail
TreeElement
public TreeElement(String tagName, boolean empty) throws InvalidArgumentException(Code)
Creates new TreeElement.
throws:
  InvalidArgumentException -



TreeElement
public TreeElement(String qName) throws InvalidArgumentException(Code)
Creates new TreeElement.
throws:
  InvalidArgumentException -



TreeElement
protected TreeElement(TreeElement element, boolean deep)(Code)
Creates new TreeElement -- copy constructor.




Method Detail
addAttribute
final public TreeAttribute addAttribute(String name, String value) throws ReadOnlyException, InvalidArgumentException(Code)

throws:
  InvalidArgumentException -
throws:
  ReadOnlyException -



addAttribute
final public void addAttribute(TreeAttribute newAttr) throws ReadOnlyException, InvalidArgumentException(Code)

throws:
  InvalidArgumentException -
throws:
  ReadOnlyException -



checkTagName
final protected void checkTagName(TreeName tagName) throws InvalidArgumentException(Code)



clone
public Object clone(boolean deep)(Code)



containsCharacterData
final public boolean containsCharacterData()(Code)



createAttributesContentManager
protected TreeNamedObjectMap.ContentManager createAttributesContentManager()(Code)



createChildListContentManager
protected TreeObjectList.ContentManager createChildListContentManager()(Code)



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



getAttribute
final public TreeAttribute getAttribute(String name)(Code)



getAttributes
final public TreeNamedObjectMap getAttributes()(Code)



getAttributesNumber
final public int getAttributesNumber()(Code)



getLocalName
final public String getLocalName()(Code)



getNamespace
final public TreeNamespace getNamespace()(Code)
element namespce or TreeNamespace.NO_NAMESPACE



getNamespaceContext
final protected TreeNamespaceContext getNamespaceContext()(Code)



getNamespacePrefix
final public String getNamespacePrefix()(Code)



getNamespaceURI
final public String getNamespaceURI()(Code)



getQName
final public String getQName()(Code)



getTreeName
final public TreeName getTreeName()(Code)



hasAttribute
final public boolean hasAttribute(String name)(Code)



hasAttributes
final public boolean hasAttributes()(Code)



isEmpty
public boolean isEmpty()(Code)
Treat the empty flag as "sticky" is means that is someone adds some conetent and then remove it this flag will survive true it this element represents empty one



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



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

throws:
  ReadOnlyException -



removeAttribute
final public TreeAttribute removeAttribute(String name) throws ReadOnlyException(Code)

throws:
  ReadOnlyException -



removeAttribute
final public TreeAttribute removeAttribute(TreeAttribute oldAttr) throws ReadOnlyException(Code)

throws:
  ReadOnlyException -



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

throws:
  ReadOnlyException -



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

throws:
  ReadOnlyException -
throws:
  InvalidArgumentException -



setReadOnly
protected void setReadOnly(boolean newReadOnly)(Code)



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

throws:
  ReadOnlyException -
throws:
  InvalidArgumentException -



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

Methods inherited from org.netbeans.tax.TreeParentNode
final public void appendChild(TreeChild newChild) throws ReadOnlyException(Code)(Java Doc)
abstract public Object clone(boolean deep)(Code)(Java Doc)
final public Object clone()(Code)(Java Doc)
abstract protected TreeObjectList.ContentManager createChildListContentManager()(Code)(Java Doc)
public boolean equals(Object object, boolean deep)(Code)(Java Doc)
final public TreeObjectList getChildNodes()(Code)(Java Doc)
final public Collection getChildNodes(Class childClass)(Code)(Java Doc)
public Collection getChildNodes(Class childClass, boolean recursive)(Code)(Java Doc)
final public int getChildrenNumber()(Code)(Java Doc)
final public TreeChild getFirstChild()(Code)(Java Doc)
final public TreeChild getLastChild()(Code)(Java Doc)
final public boolean hasChildNodes()(Code)(Java Doc)
final public boolean hasChildNodes(Class childClass)(Code)(Java Doc)
public boolean hasChildNodes(Class childClass, boolean recursive)(Code)(Java Doc)
final public int indexOf(TreeChild node)(Code)(Java Doc)
final public void insertBefore(TreeChild newChild, TreeChild refChild) throws ReadOnlyException(Code)(Java Doc)
final public void insertChildAt(TreeChild child, int index) throws ReadOnlyException(Code)(Java Doc)
public boolean isAssignableChild(TreeChild child)(Code)(Java Doc)
final public TreeChild item(int index)(Code)(Java Doc)
public void merge(TreeObject treeObject) throws CannotMergeException(Code)(Java Doc)
final public void removeChild(TreeChild oldChild) throws ReadOnlyException(Code)(Java Doc)
final public void replaceChild(TreeChild oldChild, TreeChild newChild) throws ReadOnlyException(Code)(Java Doc)
protected void setReadOnly(boolean newReadOnly)(Code)(Java Doc)

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

Methods inherited from org.netbeans.tax.TreeChild
final public TreeChild getNextSibling()(Code)(Java Doc)
final public TreeDocumentRoot getOwnerDocument()(Code)(Java Doc)
final public TreeParentNode getParentNode()(Code)(Java Doc)
final public TreeChild getPreviousSibling()(Code)(Java Doc)
final public int index()(Code)(Java Doc)
final public boolean isDescendantOf(TreeParentNode testParentNode)(Code)(Java Doc)
final public boolean isInContext()(Code)(Java Doc)
final public void removeFromContext() throws ReadOnlyException(Code)(Java Doc)
final protected void setParentNode(TreeParentNode newParentNode)(Code)(Java Doc)

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.