Java Doc for SiteTreeNodeImpl.java in  » Content-Management-System » apache-lenya-2.0 » org » apache » lenya » cms » site » tree » 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 » Content Management System » apache lenya 2.0 » org.apache.lenya.cms.site.tree 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.lenya.cms.site.tree.SiteTreeNodeImpl

SiteTreeNodeImpl
public class SiteTreeNodeImpl extends AbstractLogEnabled implements SiteTreeNode(Code)
Concrete implementation of the SiteTreeNode interface.
See Also:   org.apache.lenya.cms.site.tree.SiteTreeNode
version:
   $Id: SiteTreeNodeImpl.java 155316 2005-02-25 10:53:29Z andreas $


Field Summary
final public static  StringHREF_ATTRIBUTE_NAME
    
final public static  StringID_ATTRIBUTE_NAME
    
final public static  StringLABEL_NAME
    
final public static  StringLANGUAGE_ATTRIBUTE_NAME
    
final public static  StringLINK_ATTRIBUTE_NAME
    
final public static  StringNODE_NAME
    
final public static  StringSUFFIX_ATTRIBUTE_NAME
    
final public static  StringUUID_ATTRIBUTE_NAME
    
final public static  StringVISIBLEINNAV_ATTRIBUTE_NAME
    

Constructor Summary
protected  SiteTreeNodeImpl(DocumentFactory factory, DefaultSiteTree tree, Element node, Logger logger)
     Creates a new SiteTreeNodeImpl object.

Method Summary
public  voidaccept(SiteTreeNodeVisitor visitor)
    
protected  voidacceptReverseSubtree(SiteTreeNodeVisitor visitor)
    
public  voidacceptSubtree(SiteTreeNodeVisitor visitor)
    
public  voidaddLabel(String language, String label)
    
public  voiddelete()
    
protected  voiddeleteIfEmpty()
    
public  booleanequals(Object obj)
    
public  SiteNode[]getChildren()
    
public  SiteTreeNode[]getChildren(String language)
    
public  StringgetHref()
    
protected  StringgetKey()
    
public  String[]getLanguages()
    
public  LinkgetLink(String language)
    
protected  SiteTreeLinkgetLinkInternal(String language)
    
protected  SiteTreeLink[]getLinks()
    
public  StringgetName()
    
protected  NamespaceHelpergetNamespaceHelper()
     Returns the namespace helper of the sitetree XML document.
public  StringgetNextSiblingDocumentId()
    
public  SiteTreeNode[]getNextSiblings()
    
public  StringgetNodeAttribute(String attributeName)
    
public  SiteNodegetParent()
    
public  SiteTreeNodegetParent(String language)
    
public  StringgetPath()
    
public  SiteTreeNode[]getPrecedingSiblings()
    
public  SiteStructuregetStructure()
    
public  StringgetSuffix()
    
protected  DefaultSiteTreegetTree()
    
public  StringgetUuid()
    
public  booleanhasLink()
    
public  booleanhasLink(String language)
    
public  inthashCode()
    
public  booleanisTopLevel()
    
public  booleanisVisible()
    
public  ListpostOrder()
    
public  ListpreOrder()
    
public  SiteTreeNode[]removeChildren()
    
public  voidremoveLabel(String language)
    
protected  voidsave()
    
public  voidsetNodeAttribute(String attributeName, String attributeValue)
    
public  voidsetUUID(String uuid)
    
public synchronized  voidsetVisible(boolean visibleInNav)
    
public  StringtoString()
    
public  booleanvisibleInNav()
    

Field Detail
HREF_ATTRIBUTE_NAME
final public static String HREF_ATTRIBUTE_NAME(Code)
HREF_ATTRIBUTE_NAME The href attribute



ID_ATTRIBUTE_NAME
final public static String ID_ATTRIBUTE_NAME(Code)
ID_ATTRIBUTE_NAME The id attribute



LABEL_NAME
final public static String LABEL_NAME(Code)
LABEL_NAME The label name



LANGUAGE_ATTRIBUTE_NAME
final public static String LANGUAGE_ATTRIBUTE_NAME(Code)
LANGUAGE_ATTRIBUTE_NAME The language attribute



LINK_ATTRIBUTE_NAME
final public static String LINK_ATTRIBUTE_NAME(Code)
LINK_ATTRIBUTE_NAME The link attribute



NODE_NAME
final public static String NODE_NAME(Code)
NODE_NAME The node name



SUFFIX_ATTRIBUTE_NAME
final public static String SUFFIX_ATTRIBUTE_NAME(Code)
SUFFIX_ATTRIBUTE_NAME The suffix attribute



UUID_ATTRIBUTE_NAME
final public static String UUID_ATTRIBUTE_NAME(Code)
UUID_ATTRIBUTE_NAME The uuid attribute



VISIBLEINNAV_ATTRIBUTE_NAME
final public static String VISIBLEINNAV_ATTRIBUTE_NAME(Code)
ISIBLEINNAV_ATTRIBUTE_NAMEThe visibleinnav attribute




Constructor Detail
SiteTreeNodeImpl
protected SiteTreeNodeImpl(DocumentFactory factory, DefaultSiteTree tree, Element node, Logger logger)(Code)
Creates a new SiteTreeNodeImpl object.
Parameters:
  factory - The document factory.
Parameters:
  tree - The tree.
Parameters:
  node - The node.
Parameters:
  logger - The logger.
Parameters:
  _node - the node which is to be wrapped by this SiteTreeNode




Method Detail
accept
public void accept(SiteTreeNodeVisitor visitor) throws DocumentException(Code)

See Also:   org.apache.lenya.cms.site.tree.SiteTreeNode.accept(org.apache.lenya.cms.site.tree.SiteTreeNodeVisitor)



acceptReverseSubtree
protected void acceptReverseSubtree(SiteTreeNodeVisitor visitor) throws DocumentException(Code)



acceptSubtree
public void acceptSubtree(SiteTreeNodeVisitor visitor) throws DocumentException(Code)

See Also:   org.apache.lenya.cms.site.tree.SiteTreeNode.acceptSubtree(org.apache.lenya.cms.site.tree.SiteTreeNodeVisitor)



addLabel
public void addLabel(String language, String label) throws SiteException(Code)



delete
public void delete()(Code)



deleteIfEmpty
protected void deleteIfEmpty() throws SiteException(Code)



equals
public boolean equals(Object obj)(Code)



getChildren
public SiteNode[] getChildren()(Code)

See Also:   org.apache.lenya.cms.site.tree.SiteTreeNode.getChildren



getChildren
public SiteTreeNode[] getChildren(String language)(Code)

See Also:   org.apache.lenya.cms.site.tree.SiteTreeNode.getChildren(java.lang.String)



getHref
public String getHref()(Code)

See Also:   org.apache.lenya.cms.site.tree.SiteTreeNode.getHref



getKey
protected String getKey()(Code)



getLanguages
public String[] getLanguages()(Code)



getLink
public Link getLink(String language) throws SiteException(Code)



getLinkInternal
protected SiteTreeLink getLinkInternal(String language)(Code)



getLinks
protected SiteTreeLink[] getLinks()(Code)



getName
public String getName()(Code)



getNamespaceHelper
protected NamespaceHelper getNamespaceHelper()(Code)
Returns the namespace helper of the sitetree XML document. A namespace helper.



getNextSiblingDocumentId
public String getNextSiblingDocumentId()(Code)

See Also:   org.apache.lenya.cms.site.tree.SiteTreeNode.getNextSiblingDocumentId



getNextSiblings
public SiteTreeNode[] getNextSiblings()(Code)

See Also:   org.apache.lenya.cms.site.tree.SiteTreeNode.getNextSiblings



getNodeAttribute
public String getNodeAttribute(String attributeName)(Code)



getParent
public SiteNode getParent() throws SiteException(Code)

See Also:   org.apache.lenya.cms.site.tree.SiteTreeNode.getParent



getParent
public SiteTreeNode getParent(String language)(Code)

See Also:   org.apache.lenya.cms.site.tree.SiteTreeNode.getParent(java.lang.String)



getPath
public String getPath()(Code)



getPrecedingSiblings
public SiteTreeNode[] getPrecedingSiblings()(Code)

See Also:   org.apache.lenya.cms.site.tree.SiteTreeNode.getPrecedingSiblings



getStructure
public SiteStructure getStructure()(Code)



getSuffix
public String getSuffix()(Code)

See Also:   org.apache.lenya.cms.site.tree.SiteTreeNode.getSuffix



getTree
protected DefaultSiteTree getTree()(Code)



getUuid
public String getUuid()(Code)



hasLink
public boolean hasLink()(Code)

See Also:   org.apache.lenya.cms.site.tree.SiteTreeNode.hasLink



hasLink
public boolean hasLink(String language)(Code)



hashCode
public int hashCode()(Code)



isTopLevel
public boolean isTopLevel()(Code)



isVisible
public boolean isVisible()(Code)



postOrder
public List postOrder()(Code)

See Also:   org.apache.lenya.cms.site.tree.SiteTreeNode.postOrder



preOrder
public List preOrder()(Code)

See Also:   org.apache.lenya.cms.site.tree.SiteTreeNode.preOrder



removeChildren
public SiteTreeNode[] removeChildren()(Code)

See Also:   org.apache.lenya.cms.site.tree.SiteTreeNode.removeChildren



removeLabel
public void removeLabel(String language)(Code)



save
protected void save()(Code)



setNodeAttribute
public void setNodeAttribute(String attributeName, String attributeValue)(Code)

See Also:   org.apache.lenya.cms.site.tree.SiteTreeNode.setNodeAttribute(StringString)



setUUID
public void setUUID(String uuid)(Code)



setVisible
public synchronized void setVisible(boolean visibleInNav)(Code)



toString
public String toString()(Code)



visibleInNav
public boolean visibleInNav()(Code)

See Also:   org.apache.lenya.cms.site.tree.SiteTreeNode.visibleInNav



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.