Java Doc for XMLDPCollection.java in  » Portal » Open-Portal » com » sun » portal » desktop » dp » 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 » Portal » Open Portal » com.sun.portal.desktop.dp.xml 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.portal.desktop.dp.xml.XMLDPObject
      com.sun.portal.desktop.dp.xml.XMLDPProperty
         com.sun.portal.desktop.dp.xml.XMLDPCollection

All known Subclasses:   com.sun.portal.desktop.dp.xml.XMLDPProperties,  com.sun.portal.desktop.dp.xml.XMLDPReferenceList,  com.sun.portal.desktop.dp.xml.XMLDPLocale,
XMLDPCollection
public class XMLDPCollection extends XMLDPProperty implements DPCollection,DPTypes,XMLDPTags(Code)


Field Summary
protected  MappropertiesTable
    

Constructor Summary
 XMLDPCollection(DPContext dpc, DPRoot r, Document d, String name, Map val)
     Construct a DP collection and initialize.
 XMLDPCollection(DPContext dpc, DPRoot r, Document d, String name, List val)
     Construct a DP collection and initialize.
 XMLDPCollection(DPContext dpc, DPRoot r, Document d, String name)
     Construct an empty DP collection.
 XMLDPCollection(DPContext dpc, DPRoot r, Element e)
    

Method Summary
public  DPPropertyadd(DPProperty dpp)
    
 DPPropertyadd(DPProperty dpp, boolean copy, boolean deep, boolean dummy)
    
public  voidaddAll(Set props)
    
public  voidappendChildProperty(StringBuffer b, int indent)
    
public  voidcheckType()
    
 SetclearElements(Set names, Set locked)
    
public static  ElementcreateElement(DPContext dpc, DPRoot r, Document d, String n, Map m)
    
public static  ElementcreateElement(DPContext dpc, DPRoot r, Document d, String n, List l)
    
protected static  ElementcreateElement(DPContext dpc, DPRoot r, Document d, String tagName, String n, List l)
    
 DPPropertycreateProperty(String name, Object o)
    
public  DPPropertyget(String key)
    
public  MapgetCollectionValue()
    
public  intgetDefaultMergeType()
    
 ElementgetElementFromThis(String key)
    
 DPPropertygetFromMergers(String key)
    
public  DPPropertygetFromThis(String key)
     Gets a DP property from the base document, if it exists.
protected  ElementgetMergedElement()
    
public  SetgetNames()
    
 SetgetNamesFromMergers()
    
public  SetgetNamesFromThis()
    
public  StringgetTag()
    
public  shortgetType()
    
public  ObjectgetValue()
    
 ObjectgetValue(Set names)
    
public  SetgetValues()
    
 SetmergeNamesFromThis(Set names, Set locked)
    
public  DPPropertyremove(String key)
     Deletes a property.
protected  DPPropertyremove(String key, boolean updateTable)
    
public  voidremoveAll()
    
 voidremoveChildElements()
    
 voidremoveElement(DPProperty dpp)
    
public  voidsetCollectionValue(Map m)
    
public  voidsetCollectionValue(List l)
    
public  voidsetDefaults()
    
static  voidsetDefaultsElement(Element e)
    
public  voidsetMergeDefaults()
    
static  voidsetMergeDefaultsElement(Element e)
    
public  ObjectsetValue(Object o)
    
static  intstaticGetDefaultMergeType()
    
public  voidtoXML(StringBuffer b, int indent)
    

Field Detail
propertiesTable
protected Map propertiesTable(Code)




Constructor Detail
XMLDPCollection
XMLDPCollection(DPContext dpc, DPRoot r, Document d, String name, Map val)(Code)
Construct a DP collection and initialize.



XMLDPCollection
XMLDPCollection(DPContext dpc, DPRoot r, Document d, String name, List val)(Code)
Construct a DP collection and initialize.



XMLDPCollection
XMLDPCollection(DPContext dpc, DPRoot r, Document d, String name)(Code)
Construct an empty DP collection.



XMLDPCollection
XMLDPCollection(DPContext dpc, DPRoot r, Element e)(Code)




Method Detail
add
public DPProperty add(DPProperty dpp)(Code)



add
DPProperty add(DPProperty dpp, boolean copy, boolean deep, boolean dummy)(Code)



addAll
public void addAll(Set props)(Code)



appendChildProperty
public void appendChildProperty(StringBuffer b, int indent)(Code)



checkType
public void checkType()(Code)



clearElements
Set clearElements(Set names, Set locked)(Code)



createElement
public static Element createElement(DPContext dpc, DPRoot r, Document d, String n, Map m)(Code)



createElement
public static Element createElement(DPContext dpc, DPRoot r, Document d, String n, List l)(Code)



createElement
protected static Element createElement(DPContext dpc, DPRoot r, Document d, String tagName, String n, List l)(Code)



createProperty
DPProperty createProperty(String name, Object o)(Code)



get
public DPProperty get(String key)(Code)



getCollectionValue
public Map getCollectionValue()(Code)



getDefaultMergeType
public int getDefaultMergeType()(Code)



getElementFromThis
Element getElementFromThis(String key)(Code)



getFromMergers
DPProperty getFromMergers(String key)(Code)



getFromThis
public DPProperty getFromThis(String key)(Code)
Gets a DP property from the base document, if it exists. This method will only fetch the object if it exists in this. Mergers will not be considered. The returned DP object may or may not be merged.



getMergedElement
protected Element getMergedElement()(Code)



getNames
public Set getNames()(Code)



getNamesFromMergers
Set getNamesFromMergers()(Code)



getNamesFromThis
public Set getNamesFromThis()(Code)



getTag
public String getTag()(Code)



getType
public short getType()(Code)



getValue
public Object getValue()(Code)



getValue
Object getValue(Set names)(Code)



getValues
public Set getValues()(Code)



mergeNamesFromThis
Set mergeNamesFromThis(Set names, Set locked)(Code)



remove
public DPProperty remove(String key)(Code)
Deletes a property. note: you CANNOT delete a property from a channel if that property was inherited from the provider definition or from the container definiton. see bug #4695542



remove
protected DPProperty remove(String key, boolean updateTable)(Code)



removeAll
public void removeAll()(Code)



removeChildElements
void removeChildElements()(Code)



removeElement
void removeElement(DPProperty dpp)(Code)



setCollectionValue
public void setCollectionValue(Map m)(Code)



setCollectionValue
public void setCollectionValue(List l)(Code)



setDefaults
public void setDefaults()(Code)



setDefaultsElement
static void setDefaultsElement(Element e)(Code)



setMergeDefaults
public void setMergeDefaults()(Code)



setMergeDefaultsElement
static void setMergeDefaultsElement(Element e)(Code)



setValue
public Object setValue(Object o)(Code)



staticGetDefaultMergeType
static int staticGetDefaultMergeType()(Code)



toXML
public void toXML(StringBuffer b, int indent)(Code)



Fields inherited from com.sun.portal.desktop.dp.xml.XMLDPProperty
static long ccount(Code)(Java Doc)

Methods inherited from com.sun.portal.desktop.dp.xml.XMLDPProperty
public void appendPropagateAttr(StringBuffer b)(Code)(Java Doc)
public DPProperty copy(DPRoot dpr, boolean deep)(Code)(Java Doc)
Element copyElement(DPRoot dpr, boolean deep)(Code)(Java Doc)
public DPProperty createDummy(DPRoot dpr)(Code)(Java Doc)
public Object getKey()(Code)(Java Doc)
public DPProperties getProperties()(Code)(Java Doc)
Element getPropertiesElement()(Code)(Java Doc)
static Element getPropertiesElement(Element e)(Code)(Java Doc)
protected DPProperties getPropertiesFromThis()(Code)(Java Doc)
public boolean isNamed()(Code)(Java Doc)
public boolean isPropagate()(Code)(Java Doc)
public static boolean isPropagateElement(Element e)(Code)(Java Doc)
public boolean isThisPropagate()(Code)(Java Doc)
public void setPropagate(boolean state)(Code)(Java Doc)
static void setPropagateElement(Element e, boolean state)(Code)(Java Doc)

Fields inherited from com.sun.portal.desktop.dp.xml.XMLDPObject
final static int INDENT_SPACES(Code)(Java Doc)
static String[] MERGETYPE_VALUES(Code)(Java Doc)
static long ccount(Code)(Java Doc)
static Map mergeTypeTable(Code)(Java Doc)

Methods inherited from com.sun.portal.desktop.dp.xml.XMLDPObject
public void addMerger(DPObject dpo)(Code)(Java Doc)
public void addMergers(List m)(Code)(Java Doc)
public void appendAdvancedAttr(StringBuffer b)(Code)(Java Doc)
static void appendBuffer(String a, StringBuffer b, int indent)(Code)(Java Doc)
public void appendEndTag(StringBuffer b)(Code)(Java Doc)
public void appendLockAttr(StringBuffer b)(Code)(Java Doc)
public void appendMergeAttr(StringBuffer b)(Code)(Java Doc)
public void appendStartTag(StringBuffer b)(Code)(Java Doc)
public void checkType()(Code)(Java Doc)
void checkType(String actual)(Code)(Java Doc)
public int compareTo(Object o)(Code)(Java Doc)
Element createElement(String xml)(Code)(Java Doc)
static Element createElement(DPContext dpc, Document d, String tagName)(Code)(Java Doc)
static Element createElement(DPContext dpc, Document d, String tagName, String name)(Code)(Java Doc)
static Map createElementTable(Element e)(Code)(Java Doc)
public boolean equals(Object o)(Code)(Java Doc)
static String getCachedLocaleName(String l, String c, String v)(Code)(Java Doc)
static Element getChildElement(Element e, String tagName)(Code)(Java Doc)
static Element getChildElement(Element e, String tagName, String name)(Code)(Java Doc)
static List getChildElements(Element e, String tagName)(Code)(Java Doc)
static String getConditionalPropertiesName(String type, String value)(Code)(Java Doc)
public DPContext getContext()(Code)(Java Doc)
public boolean getDefaultAdvancedValue()(Code)(Java Doc)
public boolean getDefaultLockValue()(Code)(Java Doc)
public boolean getDefaultPropagateValue()(Code)(Java Doc)
public DocumentBuilder getDocBuilder()(Code)(Java Doc)
static DocumentBuilder getDocBuilder(DPContext dpc)(Code)(Java Doc)
public Document getDocument()(Code)(Java Doc)
public Element getElement()(Code)(Java Doc)
public DPObject getLastMerger()(Code)(Java Doc)
static String getLocaleName(String l, String c, String v)(Code)(Java Doc)
public short getMergeType()(Code)(Java Doc)
abstract protected Element getMergedElement()(Code)(Java Doc)
public List getMergers()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public DPObject getObject(Element e)(Code)(Java Doc)
public Element getParentElement()(Code)(Java Doc)
public int getPriority()(Code)(Java Doc)
public DPRoot getRoot()(Code)(Java Doc)
Element getRootElement()(Code)(Java Doc)
static Element getRootElement(Element e)(Code)(Java Doc)
abstract public String getTag()(Code)(Java Doc)
protected static Text getTextNode(Element e)(Code)(Java Doc)
public short getThisMergeType()(Code)(Java Doc)
abstract public short getType()(Code)(Java Doc)
static short getType(Element e)(Code)(Java Doc)
public String getVersion()(Code)(Java Doc)
public void indentBuffer(StringBuffer b, int indent)(Code)(Java Doc)
public boolean isAdvanced()(Code)(Java Doc)
public static boolean isAdvancedElement(Element e)(Code)(Java Doc)
static boolean isAtomicElement(Element e)(Code)(Java Doc)
static boolean isConditionalPropertiesName(String name)(Code)(Java Doc)
public boolean isDirty()(Code)(Java Doc)
public boolean isDummy()(Code)(Java Doc)
static boolean isLocaleName(String name)(Code)(Java Doc)
public boolean isLocked()(Code)(Java Doc)
public static boolean isLockedElement(Element e)(Code)(Java Doc)
public boolean isMergeAdvanced()(Code)(Java Doc)
public boolean isMergeLocked()(Code)(Java Doc)
public boolean isMergeRemove()(Code)(Java Doc)
public boolean isMergeReplace()(Code)(Java Doc)
public boolean isMerged()(Code)(Java Doc)
public boolean isRemove()(Code)(Java Doc)
public static boolean isRemoveElement(Element e)(Code)(Java Doc)
public boolean isReplace()(Code)(Java Doc)
public static boolean isReplaceElement(Element e)(Code)(Java Doc)
public boolean isThisAdvanced(Element e)(Code)(Java Doc)
public boolean isThisLocked(Element e)(Code)(Java Doc)
public boolean isThisRemove(Element e)(Code)(Java Doc)
public boolean isThisReplace(Element e)(Code)(Java Doc)
public static int max(int a, int b, int c)(Code)(Java Doc)
static List parseConditionalPropertiesName(String name)(Code)(Java Doc)
static List parseLocaleName(String name)(Code)(Java Doc)
static void putCachedLocaleName(String l, String c, String v, String name)(Code)(Java Doc)
public void putObject(DPObject dpo)(Code)(Java Doc)
public void removeObject(DPObject dpo)(Code)(Java Doc)
public void removeObject(Element e)(Code)(Java Doc)
public void setAdvanced(boolean adv)(Code)(Java Doc)
public void setDirty(boolean state)(Code)(Java Doc)
public void setDummy(boolean state)(Code)(Java Doc)
public void setElement(Element e)(Code)(Java Doc)
public void setLock(boolean lock)(Code)(Java Doc)
public void setMergeType(short type)(Code)(Java Doc)
static void setMergeTypeElement(Element e, int type)(Code)(Java Doc)
static void setName(Element e, String name)(Code)(Java Doc)
public void setPriority(int priority)(Code)(Java Doc)
public void setVersion(String version)(Code)(Java Doc)
public static boolean staticGetDefaultAdvancedValue()(Code)(Java Doc)
public static boolean staticGetDefaultLockValue()(Code)(Java Doc)
public static boolean staticGetDefaultPropagateValue()(Code)(Java Doc)
static boolean toBoolean(String name)(Code)(Java Doc)
public String toDebugString()(Code)(Java Doc)
public String toMergedXML()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public String toString(boolean prune)(Code)(Java Doc)
static void toStringBuffer(Node n, StringBuffer b, boolean prune, int indent)(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.