|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.doc.DocumentStructureNavigatorFactory
This class provides static methods for creating document structure navigators.
It provides methods for several basic types of document structure navigation.
Once a navigator is created, it can be set up with a visitor and the
traverse method can be called. The methods in this class hide the details
involved with setting up a particular structure navigation.
Supported API: true
Extendable: false
Navigator
,
ConfigSpecNodeExpander
,
Serialized FormField Summary | |
static int |
BREADTH_FIRST_NAVIGATOR
Used to specify a breadth first navigation. |
private static String |
CLASSNAME
|
static int |
DEPTH_FIRST_NAVIGATOR
Used to specify a depth first navigation. |
static long |
EXTERNALIZATION_VERSION_UID
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
Constructor Summary | |
DocumentStructureNavigatorFactory()
|
Method Summary | |
static Navigator |
newDocumentNavigator(ConfigSpec a_configSpec,
int a_navigatorType)
This method creates a Navigator for traversing the "uses" links of a Document structure. |
static Navigator |
newDocumentNavigator(WTDocumentConfigSpec a_configSpec,
int a_navigatorType)
This method creates a Navigator for traversing the "uses" links of a Document structure. |
static Navigator |
newNavigator(ConfigSpec a_configSpec,
int a_navigatorType)
This method creates a Navigator for traversing the "uses" links of a Document structure via the generic IteratedUsageLink class. |
private static Navigator |
newNavigator(int a_navigatorType)
|
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(DocumentStructureNavigatorFactory 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
public static final int DEPTH_FIRST_NAVIGATOR
public static final int BREADTH_FIRST_NAVIGATOR
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public DocumentStructureNavigatorFactory()
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(DocumentStructureNavigatorFactory 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 static Navigator newDocumentNavigator(WTDocumentConfigSpec a_configSpec, int a_navigatorType) throws WTPropertyVetoException
a_configSpec
- a_navigatorType
-
WTPropertyVetoException
public static Navigator newNavigator(ConfigSpec a_configSpec, int a_navigatorType) throws WTPropertyVetoException
a_configSpec
- a_navigatorType
-
WTPropertyVetoException
public static Navigator newDocumentNavigator(ConfigSpec a_configSpec, int a_navigatorType) throws WTPropertyVetoException
a_configSpec
- a_navigatorType
-
WTPropertyVetoException
private static Navigator newNavigator(int a_navigatorType)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |