|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.workflow.notebook.NotebookTemplateHandlerDelegate
Supported API: false
Extendable: false
Field Summary | |
static String |
BOOKMARK
|
private static String |
CLASSNAME
|
static String |
DOC_TYPE
|
static String |
DTD_LOCATION
|
static long |
EXTERNALIZATION_VERSION_UID
|
static String |
FOLDER
|
static String |
NAME
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
static String |
SKELETONOBJECT
|
static String |
TYPE
|
static String |
URL
|
private static boolean |
VERBOSE
|
static String |
WINDCHILLBOOKMARK
|
static String |
WINDCHILLOBJECT
|
static String |
XML_VERSION
|
Constructor Summary | |
NotebookTemplateHandlerDelegate()
|
Method Summary | |
private NodeList |
getChildNodes(Node node,
short[] types)
Return a NodeList that contains the children of
the specified node that are of the specified
types . |
String |
getOidString(String url)
|
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 |
private void |
populateSubContainer(NodeList list,
CollaborationContainer parent,
Document doc)
|
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(NotebookTemplateHandlerDelegate thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
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
public static final String FOLDER
public static final String NAME
public static final String BOOKMARK
public static final String WINDCHILLBOOKMARK
public static final String URL
public static final String TYPE
public static final String WINDCHILLOBJECT
public static final String SKELETONOBJECT
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 NotebookTemplateHandlerDelegate()
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(NotebookTemplateHandlerDelegate 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 populateSubContainer(NodeList list, CollaborationContainer parent, Document doc) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
public String getOidString(String url)
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 class
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |