|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.ow.server.util.OwXMLUtilPlaceholderFilter
com.wewebu.ow.server.util.OwXMLUtilOptionAndPlaceholderFilter
public class OwXMLUtilOptionAndPlaceholderFilter
Utility class for XML access and debugging.
Overrides OwXMLUtilPlaceholderFilter with option IDs.
Option ID's allow the selection of nodes through option ID attributes.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
OwStandardOptionXMLUtil
Field Summary |
---|
Fields inherited from class com.wewebu.ow.server.util.OwXMLUtilPlaceholderFilter |
---|
m_wrappednode |
Constructor Summary | |
---|---|
OwXMLUtilOptionAndPlaceholderFilter(Node node_p,
OwAttributeBag placeholderattributeBag_p,
OwAttributeBag optionsIDs_p)
construct a template XML util node with option and placeholder configuration filter |
|
OwXMLUtilOptionAndPlaceholderFilter(OwXMLUtil node_p,
OwAttributeBag placeholderattributeBag_p,
OwAttributeBag optionsIDs_p)
construct a template XML util node with option and placeholder configuration filter |
Method Summary | |
---|---|
List |
getSafeNodeList(String strNodeName_p)
retrieve a node list in a subnode |
List |
getSafeStringList(String strNodeName_p)
retrieve a string list in a subnode |
Set |
getSafeStringSet(String strNodeName_p)
retrieve a string list in a subnode |
protected String |
getSelectedNodeName(String name_p)
get the node name that was selected through the selectiveConfigurationIDs_p |
Node |
getSubNode(String name_p)
get the subnode with the given tagname |
Methods inherited from class com.wewebu.ow.server.util.OwXMLUtilPlaceholderFilter |
---|
getAttributeValue, getNode, getNodeValue, getNodeValue, getPlaceholderValue, getSafeBooleanAttributeValue, getSafeBooleanValue, getSafeCDATAList, getSafeCDATAList, getSafeIntegerAttributeValue, getSafeIntegerValue, getSafeNodeList, getSafeStringAttributeValue, getSafeStringList, getSafeTextValue, getSafeTextValue, getSafeUtilList, getSafeUtilList, getSubUtil, getURLFromNode, writeHtmlDump |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OwXMLUtilOptionAndPlaceholderFilter(OwXMLUtil node_p, OwAttributeBag placeholderattributeBag_p, OwAttributeBag optionsIDs_p) throws Exception
node_p
- an OwXMLUtil
placeholderattributeBag_p
- OwAttributeBag with placeholdersoptionsIDs_p
- OwAttributeBag of ID's for selective configuration maps node names to selective IDs e.g.: viewerservlet : viewerservlet.MyID
Exception
public OwXMLUtilOptionAndPlaceholderFilter(Node node_p, OwAttributeBag placeholderattributeBag_p, OwAttributeBag optionsIDs_p) throws Exception
node_p
- a Node
placeholderattributeBag_p
- OwAttributeBag with placeholdersoptionsIDs_p
- OwAttributeBag of ID's for selective configuration maps node names to selective IDs e.g.: viewerservlet : viewerservlet.MyID
Exception
Method Detail |
---|
public Node getSubNode(String name_p) throws Exception
OwXMLUtil
getSubNode
in interface OwXMLUtil
getSubNode
in class OwXMLUtilPlaceholderFilter
name_p
- tag name of requested node
Exception
protected String getSelectedNodeName(String name_p)
name_p
-
String
public List getSafeNodeList(String strNodeName_p)
OwXMLUtil
getSafeNodeList
in interface OwXMLUtil
getSafeNodeList
in class OwXMLUtilPlaceholderFilter
strNodeName_p
- String name of the subnode with the node list
public List getSafeStringList(String strNodeName_p)
OwXMLUtil
getSafeStringList
in interface OwXMLUtil
getSafeStringList
in class OwXMLUtilPlaceholderFilter
strNodeName_p
- String name of the subnode with the string list
public Set getSafeStringSet(String strNodeName_p)
OwXMLUtil
getSafeStringSet
in interface OwXMLUtil
getSafeStringSet
in class OwXMLUtilPlaceholderFilter
strNodeName_p
- String name of the subnode with the string list
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |