| java.lang.Object com.sun.portal.desktop.dp.xml.XMLDPObject com.sun.portal.desktop.dp.xml.XMLDPPropertyHolder com.sun.portal.desktop.dp.xml.XMLDPNode com.sun.portal.desktop.dp.xml.XMLDPRoot
Method Summary | |
DPChannel | addChannelHierarchy(DPNode n) | public DPChannel | addChannelHierarchy(DPChannel dpc) | public DPProvider | addProvider(DPProvider dpp) | DPProvider | addProvider(DPProvider dpp, boolean copy, boolean deep, boolean dummy) | void | addProviderElement(Element parentNodeElement, Element providerElement) | protected Set | clearProviderNames(Set names, Set locked) | public DPRoot | copy(boolean deep) | static Element | createElement(DPContext dpc) | static Element | createElement(DPContext dpc, String dpXML) This method can be called only if the encoding in the xml header is "UTF-8"
This method is not called during dpadmin. | static Element | createElement(DPContext dpc, InputStream xmlByteStream) This method is called in both cases, (read/write) and (write via dpadmin).
Hence it passes on the byte stream to the parser as is. | static Element | createElement(DPContext dpc, Document d) | protected Element | getMergedElement() | public DPObject | getObject(Element e) | public Map | getObjects() | public int | getPriority() | public DPProvider | getProvider(String name) | Element | getProviderElement(String name) | DPProvider | getProviderFromMergers(String key) | public DPProvider | getProviderFromThis(String name) | public Set | getProviderNames() | Set | getProviderNamesFromMergers() | public Set | getProviderNamesFromThis() | Element | getProvidersElement(Element e) | public DPRoot | getRoot() | Element | getRootElement() | public String | getTag() | public short | getType() | public String | getVersion() | public static StringBuffer | getXMLHeader() | public boolean | isDirty() | Set | mergeProviderNamesFromThis(Set names, Set locked) | public boolean | providerExists(String name) | public void | putObject(DPObject dpo) | public void | removeObject(DPObject dpo) | public void | removeObject(Element e) | public DPProvider | removeProvider(String key) | void | removeProviderElement(DPProvider dpp) | public void | setDirty(boolean state) | public void | setPriority(int priority) | public void | setVersion(String version) | public String | toMergedXML() | public String | toString() | public String | toString(boolean prune) | public void | toXML(StringBuffer b, int indent) |
ccount | static long ccount(Code) | | |
providersTable | protected Map providersTable(Code) | | |
XMLDPRoot | public XMLDPRoot(DPContext dpc, String doc)(Code) | | This constructor can be used only if the encoding in the xml
header is "UTF-8".
Parameters: dpc - The DPContext Parameters: doc - String containing xml data. |
addProviderElement | void addProviderElement(Element parentNodeElement, Element providerElement)(Code) | | |
clearProviderNames | protected Set clearProviderNames(Set names, Set locked)(Code) | | |
createElement | static Element createElement(DPContext dpc, String dpXML)(Code) | | This method can be called only if the encoding in the xml header is "UTF-8"
This method is not called during dpadmin. Thus it is ok to hardcode
the getBytes to read utf-8 because the dp has been stored in that format.
Parameters: dpc - The DPContext Parameters: dpXML - String containing xml data. |
createElement | static Element createElement(DPContext dpc, InputStream xmlByteStream)(Code) | | This method is called in both cases, (read/write) and (write via dpadmin).
Hence it passes on the byte stream to the parser as is. It is
upto the parser to read the header and figure out the encoding.
|
getPriority | public int getPriority()(Code) | | |
getProviderNames | public Set getProviderNames()(Code) | | |
getProviderNamesFromMergers | Set getProviderNamesFromMergers()(Code) | | |
getProviderNamesFromThis | public Set getProviderNamesFromThis()(Code) | | |
getType | public short getType()(Code) | | |
isDirty | public boolean isDirty()(Code) | | |
mergeProviderNamesFromThis | Set mergeProviderNamesFromThis(Set names, Set locked)(Code) | | |
providerExists | public boolean providerExists(String name)(Code) | | |
setDirty | public void setDirty(boolean state)(Code) | | |
setPriority | public void setPriority(int priority)(Code) | | |
Methods inherited from com.sun.portal.desktop.dp.xml.XMLDPNode | public DPChannel addChannel(DPChannel dpc)(Code)(Java Doc) public DPChannel addChannel(DPChannel dpc, boolean copy, boolean deep, boolean dummy)(Code)(Java Doc) static void addChannelElement(Element parentNodeElement, Element channelElement)(Code)(Java Doc) DPChannel addChannelHierarchy(DPNode pn, String name, DPNode n)(Code)(Java Doc) public DPProvider addProvider(DPProvider dpp)(Code)(Java Doc) public void appendChannels(StringBuffer b, int indent)(Code)(Java Doc) public boolean channelExists(String name)(Code)(Java Doc) Set clearChannelNames(Set names, Set locked)(Code)(Java Doc) public DPChannel copyChannel(String src, String dst)(Code)(Java Doc) public DPChannel createChannel(String name, String providerName)(Code)(Java Doc) public DPContainerChannel createContainerChannel(String name, String providerName)(Code)(Java Doc) public DPChannel getChannel(String name)(Code)(Java Doc) Element getChannelElement(String name)(Code)(Java Doc) DPChannel getChannelFromMergers(String key)(Code)(Java Doc) public DPChannel getChannelFromThis(String name)(Code)(Java Doc) public Set getChannelNames()(Code)(Java Doc) Set getChannelNamesFromMergers()(Code)(Java Doc) public Set getChannelNamesFromThis()(Code)(Java Doc) Element getChannelsElement(Element e)(Code)(Java Doc) public DPNode getParentNode()(Code)(Java Doc) Element getParentNodeElement()(Code)(Java Doc) public DPNode getParentNodeFromThis()(Code)(Java Doc) public DPPropertyHolder getParentPropertyHolder()(Code)(Java Doc) public Set getProviderNames()(Code)(Java Doc) protected Set mergeChannelNamesFromThis(Set names, Set locked)(Code)(Java Doc) public boolean providerExists(String name)(Code)(Java Doc) public DPChannel removeChannel(String key)(Code)(Java Doc) void removeChannelElement(DPChannel dpc)(Code)(Java Doc) public DPProvider removeProvider(String name)(Code)(Java Doc)
|
Fields inherited from com.sun.portal.desktop.dp.xml.XMLDPPropertyHolder | protected Element propertiesElement(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)
|
|
|