Java Doc for DAVNode.java in  » Web-Server » Jigsaw » org » w3c » www » webdav » 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 » Web Server » Jigsaw » org.w3c.www.webdav.xml 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.w3c.www.webdav.xml.DAVNode

All known Subclasses:   org.w3c.www.webdav.xml.DAVPropStat,  org.w3c.www.webdav.xml.DAVLockEntry,  org.w3c.www.webdav.xml.DAVLink,  org.w3c.www.webdav.xml.DAVPropFind,  org.w3c.www.webdav.xml.DAVMultiStatus,  org.w3c.www.webdav.xml.DAVResponse,  org.w3c.www.webdav.xml.DAVPropertyBehavior,  org.w3c.www.webdav.xml.DAVPropAction,  org.w3c.www.webdav.xml.DAVLockScope,  org.w3c.www.webdav.xml.DAVPropertyUpdate,  org.w3c.www.webdav.xml.DAVLockType,  org.w3c.www.webdav.xml.DAVProperties,
DAVNode
public class DAVNode (Code)

version:
   $Revision: 1.14 $
author:
   Benoît Mahé (bmahe@w3.org)


Field Summary
final public static  StringACTIVELOCK_NODE
    
final public static  StringALLPROP_NODE
    
final public static  StringCOLLECTION_NODE
    
final public static  StringCREATIONDATE_NODE
    
final public static  StringDEPTH_NODE
    
final public static  StringDISPLAYNAME_NODE
    
final public static  StringDST_NODE
    
final public static  StringEXCLUSIVE_NODE
    
final public static  StringGETCONTENTLANGUAGE_NODE
    
final public static  StringGETCONTENTLENGTH_NODE
    
final public static  StringGETCONTENTTYPE_NODE
    
final public static  StringGETETAG_NODE
    
final public static  StringGETLASTMODIFIED_NODE
    
final public static  StringHREF_NODE
    
final public static  StringISCOLLECTION_NODE
    
final public static  StringISFOLDER_NODE
    
final public static  StringISHIDDEN_NODE
    
final public static  StringISSHARED_NODE
    
final public static  StringKEEPALIVE_NODE
    
final public static  StringLINK_NODE
    
final public static  StringLOCKDISCOVERY_NODE
    
final public static  StringLOCKENTRY_NODE
    
final public static  StringLOCKINFO_NODE
    
final public static  StringLOCKSCOPE_NODE
    
final public static  StringLOCKTOKEN_NODE
    
final public static  StringLOCKTYPE_NODE
    
final public static  StringMULTISTATUS_NODE
    
final public static  StringOMIT_NODE
    
final public static  StringOWNER_NODE
    
final public static  StringPROPERTYBEHAVIOR_NODE
    
final public static  StringPROPERTYUPDATE_NODE
    
final public static  StringPROPFIND_NODE
    
final public static  StringPROPNAME_NODE
    
final public static  StringPROPSTAT_NODE
    
final public static  StringPROP_NODE
    
final public static  StringREMOVE_NODE
    
final public static  StringRESOURCETYPE_NODE
    
final public static  StringRESPONSEDESC_NODE
    
final public static  StringRESPONSE_NODE
    
final public static  StringSET_NODE
    
final public static  StringSHARED_NODE
    
final public static  StringSOURCE_NODE
    
final public static  StringSRC_NODE
    
final public static  StringSTATUS_NODE
    
final public static  StringSUPPORTEDLOCK_NODE
    
final public static  StringTIMEOUT_NODE
    
final public static  StringWRITE_NODE
    
protected  Elementelement
    
 Stringnodenames
    

Constructor Summary
 DAVNode(Element element)
    

Method Summary
public static  ElementaddDAVNode(Node parent, String name, String textvalue)
     Create a new node and add it to the parent children list.
public  ElementaddDAVNode(String name, String textvalue)
     Create a new node.
public  voidaddDAVNode(DAVNode node)
    
public  voidaddDAVNodes(DAVNode nodes)
    
public  voidaddNode(Node node)
    
public static  voidaddNodeNS(Node parent, Node child)
    
public  voidaddNodeNS(Node node)
     Add the given node to our children list.
public  booleanequals(DAVNode node)
    
public static  voidexportChildren(Document newdoc, Node newparent, Node node, boolean deep)
    
public  Element[]getChildrenElements()
     Get all the element that are chidren of the current node.
public static  VectorgetDAVElementsByTagName(Node node, String tagname)
    
public  VectorgetDAVElementsByTagName(String tagname)
     Just for child, not the all tree.
public static  NodegetDAVNode(Node node, String tagname)
    
public  NodegetDAVNode(String tagname)
    
public  String[]getDAVNodeNames()
    
public static  String[]getMultipleTextChildValue(Node node, String tagname)
     Get the text value of all our "DAV:" children matching the given tagname with a text value available.
public  String[]getMultipleTextChildValue(String tagname)
     Get the text value of all our "DAV:" children matching the given tagname with a text value available.
public  NodegetNode()
    
public static  NodegetNodeNS(Node parent, String tagname, String ns)
     Get the first node of the parent matchind the given tagname and namespace.
public  NodegetNodeNS(String tagname, String ns)
    
public  StringgetTextChildValue(Node node)
    
public  StringgetTextChildValue(String tagname)
    
public  StringgetTextChildValueNS(String tagname, String ns)
    
public  StringgetTextValue()
     Get the value of the fist child TEXT node.
public static  NodeimportNode(Document newdoc, Element parent, Node node, boolean deep)
    

Field Detail
ACTIVELOCK_NODE
final public static String ACTIVELOCK_NODE(Code)



ALLPROP_NODE
final public static String ALLPROP_NODE(Code)



COLLECTION_NODE
final public static String COLLECTION_NODE(Code)



CREATIONDATE_NODE
final public static String CREATIONDATE_NODE(Code)



DEPTH_NODE
final public static String DEPTH_NODE(Code)



DISPLAYNAME_NODE
final public static String DISPLAYNAME_NODE(Code)



DST_NODE
final public static String DST_NODE(Code)



EXCLUSIVE_NODE
final public static String EXCLUSIVE_NODE(Code)



GETCONTENTLANGUAGE_NODE
final public static String GETCONTENTLANGUAGE_NODE(Code)



GETCONTENTLENGTH_NODE
final public static String GETCONTENTLENGTH_NODE(Code)



GETCONTENTTYPE_NODE
final public static String GETCONTENTTYPE_NODE(Code)



GETETAG_NODE
final public static String GETETAG_NODE(Code)



GETLASTMODIFIED_NODE
final public static String GETLASTMODIFIED_NODE(Code)



HREF_NODE
final public static String HREF_NODE(Code)



ISCOLLECTION_NODE
final public static String ISCOLLECTION_NODE(Code)



ISFOLDER_NODE
final public static String ISFOLDER_NODE(Code)



ISHIDDEN_NODE
final public static String ISHIDDEN_NODE(Code)



ISSHARED_NODE
final public static String ISSHARED_NODE(Code)



KEEPALIVE_NODE
final public static String KEEPALIVE_NODE(Code)



LINK_NODE
final public static String LINK_NODE(Code)



LOCKDISCOVERY_NODE
final public static String LOCKDISCOVERY_NODE(Code)



LOCKENTRY_NODE
final public static String LOCKENTRY_NODE(Code)



LOCKINFO_NODE
final public static String LOCKINFO_NODE(Code)



LOCKSCOPE_NODE
final public static String LOCKSCOPE_NODE(Code)



LOCKTOKEN_NODE
final public static String LOCKTOKEN_NODE(Code)



LOCKTYPE_NODE
final public static String LOCKTYPE_NODE(Code)



MULTISTATUS_NODE
final public static String MULTISTATUS_NODE(Code)



OMIT_NODE
final public static String OMIT_NODE(Code)



OWNER_NODE
final public static String OWNER_NODE(Code)



PROPERTYBEHAVIOR_NODE
final public static String PROPERTYBEHAVIOR_NODE(Code)



PROPERTYUPDATE_NODE
final public static String PROPERTYUPDATE_NODE(Code)



PROPFIND_NODE
final public static String PROPFIND_NODE(Code)



PROPNAME_NODE
final public static String PROPNAME_NODE(Code)



PROPSTAT_NODE
final public static String PROPSTAT_NODE(Code)



PROP_NODE
final public static String PROP_NODE(Code)



REMOVE_NODE
final public static String REMOVE_NODE(Code)



RESOURCETYPE_NODE
final public static String RESOURCETYPE_NODE(Code)



RESPONSEDESC_NODE
final public static String RESPONSEDESC_NODE(Code)



RESPONSE_NODE
final public static String RESPONSE_NODE(Code)



SET_NODE
final public static String SET_NODE(Code)



SHARED_NODE
final public static String SHARED_NODE(Code)



SOURCE_NODE
final public static String SOURCE_NODE(Code)



SRC_NODE
final public static String SRC_NODE(Code)



STATUS_NODE
final public static String STATUS_NODE(Code)



SUPPORTEDLOCK_NODE
final public static String SUPPORTEDLOCK_NODE(Code)



TIMEOUT_NODE
final public static String TIMEOUT_NODE(Code)



WRITE_NODE
final public static String WRITE_NODE(Code)



element
protected Element element(Code)



nodenames
String nodenames(Code)




Constructor Detail
DAVNode
DAVNode(Element element)(Code)
Constructor




Method Detail
addDAVNode
public static Element addDAVNode(Node parent, String name, String textvalue) throws DOMException(Code)
Create a new node and add it to the parent children list.
Parameters:
  parent - the parent node
Parameters:
  name - the tagname of the new node
Parameters:
  textvalue - the nodevalue of the TextNode (child of the new node) the newly added Element



addDAVNode
public Element addDAVNode(String name, String textvalue) throws DOMException(Code)
Create a new node.
Parameters:
  name - the tagname of the new node
Parameters:
  textvalue - the nodevalue of the TextNode (child of the new node) the newly added Element



addDAVNode
public void addDAVNode(DAVNode node)(Code)
Add the given node the our children list
Parameters:
  node - the new child



addDAVNodes
public void addDAVNodes(DAVNode nodes)(Code)
Add the given nodes the our children list
Parameters:
  nodes - the new children



addNode
public void addNode(Node node)(Code)
Add this node to our children
Parameters:
  node - the new node



addNodeNS
public static void addNodeNS(Node parent, Node child)(Code)
Add the given node to the children list of the parent node and Add the Namespace definition if needed (work arround of xmlserializer bug)
Parameters:
  parent - the parent node
Parameters:
  child - the new child



addNodeNS
public void addNodeNS(Node node)(Code)
Add the given node to our children list. Add the Namespace definition if needed (work arround of xmlserializer bug)
Parameters:
  parent - the parent node
Parameters:
  child - the new child



equals
public boolean equals(DAVNode node)(Code)



exportChildren
public static void exportChildren(Document newdoc, Node newparent, Node node, boolean deep) throws DOMException(Code)



getChildrenElements
public Element[] getChildrenElements()(Code)
Get all the element that are chidren of the current node. a array of Element



getDAVElementsByTagName
public static Vector getDAVElementsByTagName(Node node, String tagname)(Code)
Get the list of children element that match the given tagname (and the DAV namespace)
Parameters:
  node - the parent node
Parameters:
  tagname - the tagname to match a Vector instance



getDAVElementsByTagName
public Vector getDAVElementsByTagName(String tagname)(Code)
Just for child, not the all tree.
Parameters:
  tagname - the tagname a Vector of Node.



getDAVNode
public static Node getDAVNode(Node node, String tagname)(Code)
Get the first child element that match the given tagname (and the DAV namespace)
Parameters:
  node - the parent node
Parameters:
  tagname - the tagname to match a Vector instance



getDAVNode
public Node getDAVNode(String tagname)(Code)
Get the first node matching the given name
Parameters:
  tagname - the node name a Node instance or null



getDAVNodeNames
public String[] getDAVNodeNames()(Code)
Get the tagnames of all our DAV children a String array



getMultipleTextChildValue
public static String[] getMultipleTextChildValue(Node node, String tagname)(Code)
Get the text value of all our "DAV:" children matching the given tagname with a text value available.
Parameters:
  node - the parent node
Parameters:
  tagname - the tagname to search a String array



getMultipleTextChildValue
public String[] getMultipleTextChildValue(String tagname)(Code)
Get the text value of all our "DAV:" children matching the given tagname with a text value available.
Parameters:
  tagname - the tagname to search a String array



getNode
public Node getNode()(Code)
Get our Node a Node instance



getNodeNS
public static Node getNodeNS(Node parent, String tagname, String ns)(Code)
Get the first node of the parent matchind the given tagname and namespace.
Parameters:
  parent - the parent node
Parameters:
  tagname - the tagname to find
Parameters:
  ns - the namespace a Node instance of null



getNodeNS
public Node getNodeNS(String tagname, String ns)(Code)
Get the first node matching the given name and the given namespace
Parameters:
  tagname - the node name
Parameters:
  ns - the namespace a Node instance or null



getTextChildValue
public String getTextChildValue(Node node)(Code)
Get the value of the first child text node (if any)
Parameters:
  node - the parent node (can be null) a String instance or null



getTextChildValue
public String getTextChildValue(String tagname)(Code)
Get the value of the first "DAV:" child text node (if any)
Parameters:
  tagname - the parent node name a String instance or null



getTextChildValueNS
public String getTextChildValueNS(String tagname, String ns)(Code)
Get the value of the first child text node (if any)
Parameters:
  tagname - the parent node name
Parameters:
  ns - the namespace to match a String instance or null



getTextValue
public String getTextValue()(Code)
Get the value of the fist child TEXT node. a String



importNode
public static Node importNode(Document newdoc, Element parent, Node node, boolean deep)(Code)



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.