| 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,
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 DPProperty | add(DPProperty dpp) | DPProperty | add(DPProperty dpp, boolean copy, boolean deep, boolean dummy) | public void | addAll(Set props) | public void | appendChildProperty(StringBuffer b, int indent) | public void | checkType() | Set | clearElements(Set names, Set locked) | public static Element | createElement(DPContext dpc, DPRoot r, Document d, String n, Map m) | public static Element | createElement(DPContext dpc, DPRoot r, Document d, String n, List l) | protected static Element | createElement(DPContext dpc, DPRoot r, Document d, String tagName, String n, List l) | DPProperty | createProperty(String name, Object o) | public DPProperty | get(String key) | public Map | getCollectionValue() | public int | getDefaultMergeType() | Element | getElementFromThis(String key) | DPProperty | getFromMergers(String key) | public DPProperty | getFromThis(String key) Gets a DP property from the base document, if it exists. | protected Element | getMergedElement() | public Set | getNames() | Set | getNamesFromMergers() | public Set | getNamesFromThis() | public String | getTag() | public short | getType() | public Object | getValue() | Object | getValue(Set names) | public Set | getValues() | Set | mergeNamesFromThis(Set names, Set locked) | public DPProperty | remove(String key) Deletes a property. | protected DPProperty | remove(String key, boolean updateTable) | public void | removeAll() | void | removeChildElements() | void | removeElement(DPProperty dpp) | public void | setCollectionValue(Map m) | public void | setCollectionValue(List l) | public void | setDefaults() | static void | setDefaultsElement(Element e) | public void | setMergeDefaults() | static void | setMergeDefaultsElement(Element e) | public Object | setValue(Object o) | static int | staticGetDefaultMergeType() | public void | toXML(StringBuffer b, int indent) |
propertiesTable | protected Map propertiesTable(Code) | | |
checkType | public void checkType()(Code) | | |
getCollectionValue | public Map getCollectionValue()(Code) | | |
getDefaultMergeType | public int getDefaultMergeType()(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.
|
getNamesFromMergers | Set getNamesFromMergers()(Code) | | |
getNamesFromThis | public Set getNamesFromThis()(Code) | | |
getType | public short getType()(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
|
removeAll | public void removeAll()(Code) | | |
removeChildElements | void removeChildElements()(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) | | |
staticGetDefaultMergeType | static int staticGetDefaultMergeType()(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.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)
|
|
|