|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.workflow.forum.DiscussionForumTemplateHandlerDelegate
Supported API: false
Extendable: false
Field Summary | |
private static String |
_rb
|
private static String |
CLASSNAME
|
static String |
DOC_TYPE
|
static String |
DTD_LOCATION
|
static long |
EXTERNALIZATION_VERSION_UID
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
private static boolean |
VERBOSE
|
static String |
XML_VERSION
|
Constructor Summary | |
DiscussionForumTemplateHandlerDelegate()
|
Method Summary | |
private void |
createSubstructure(NodeList list,
Discussion parent,
Document doc)
method used to recursively instantiate topics or postings defined in a DOM tree of an XML structure |
private String |
decode(String encoded)
|
private NodeList |
getChildNodes(Node node,
short[] types)
Return a NodeList that contains the children of
the specified node that are of the specified
types . |
private String |
getDefaultName()
|
private String |
getTextNodeValue(Node node,
short[] types)
Returns value of the node . |
private boolean |
isOfType(Node node,
short[] types)
Return true if the type of the specified node is
included in the specified list of node types . |
boolean |
isValidTemplate(CollaborationTemplate template)
Supported API: false |
CollaborationContainer |
populateContainer(CollaborationContainer container,
CollaborationTemplate template)
Supported API: false |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(DiscussionForumTemplateHandlerDelegate thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
private String |
substStr(String inStr,
String key,
String repl)
|
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
private static final String _rb
public static final String XML_VERSION
public static final String DTD_LOCATION
public static final String DOC_TYPE
private static boolean VERBOSE
Constructor Detail |
public DiscussionForumTemplateHandlerDelegate()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
protected boolean readVersion(DiscussionForumTemplateHandlerDelegate thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public boolean isValidTemplate(CollaborationTemplate template) throws WTException
isValidTemplate
in interface CollabTemplateHandlerDelegate
template
-
WTException
public CollaborationContainer populateContainer(CollaborationContainer container, CollaborationTemplate template) throws WTException
populateContainer
in interface CollabTemplateHandlerDelegate
container
- template
-
WTException
private void createSubstructure(NodeList list, Discussion parent, Document doc) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
private String getDefaultName()
private NodeList getChildNodes(Node node, short[] types)
NodeList
that contains the children of
the specified node
that are of the specified
types
.
node
- the node whose children should be returnedtypes
- a list of node type constants defined by the Node classprivate boolean isOfType(Node node, short[] types)
node
is
included in the specified list of node types
.
node
- the node whose type should be compared against
the specified list of typestypes
- a list of node type constants defined by the Node classprivate String getTextNodeValue(Node node, short[] types)
node
. Only value of types specified are returned.
node
- the node whose value should be returnedtypes
- a list of node type constants defined by the Node classprivate String decode(String encoded)
private String substStr(String inStr, String key, String repl)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |