|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.visitor.VisitorAdapter
wt.part.MultilevelWhereUsedVisitor
This visitor is used to write XML data for the Multilevel Where Usedreport
using a DocumentHandler
.
Supported API: true
Extendable: true
Field Summary | |
private static String |
AMOUNT
|
private static String |
BASELINE_NAME
|
private static String |
CDATA
|
private static String |
CLASSNAME
|
private static String |
CONFIG_SPEC
|
private static String |
CONFIGURATION_ITEM_NAME
|
private static String |
DISPLAY_NAME
|
private static String |
EFFECTIVITY_DATE
|
private static String |
EFFECTIVITY_TYPE
|
private static String |
ERROR
|
private static String |
INCORPORATION_DATE
|
private static String |
IS_PLANNING_DATE
|
private static String |
ITERATION
|
private DocumentHandler |
myDocumentHandler
|
private Locale |
myLocale
|
private static String |
NAME
|
private static int |
noPreviousLevel
|
private static String |
NUMBER
|
private static String |
OID
|
private static String |
PART
|
private static String |
PART_MASTER
|
private int |
previousLevel
|
private static String |
QUANTITY
|
private DecimalFormat |
quantityFormat
|
private static String |
RESOURCE
|
private static String |
SERIAL_NUMBER
|
private static String |
STATE
|
private static String |
TYPE
|
private static String |
UNIT
|
private static boolean |
VERBOSE
|
private static String |
VERSION
|
private static String |
VIEW
|
private static String |
WORKING_INCLUDED
|
Constructor Summary | |
MultilevelWhereUsedVisitor(DocumentHandler aDocumentHandler,
Locale aLocale)
Supported API: false |
Method Summary | |
void |
endProductInstance()
|
void |
outputConfigSpec(SerialNumberedConfiguredInstanceConfigSpec spec)
|
void |
outputConfigSpec(WTPartConfigSpec spec)
Supported API: true |
void |
outputPart(WTPartMaster partMaster)
Supported API: true |
void |
outputProductInstance(WTProductInstance2 productInstance)
|
void |
outputQuantity()
|
void |
outputQuantity(WTPartUsageLink partUsageLink)
Supported API: true |
void |
postNavigateWrite()
Supported API: false |
void |
preNavigateWrite()
Supported API: false |
void |
startPart(WTPart part)
Supported API: false |
void |
startProductInstance(WTProductInstance2 productInstance)
|
boolean |
visit(Persistable fromNode,
Link link,
Persistable toNode,
int level,
boolean previouslyVisited)
Visit a node. |
Methods inherited from class wt.visitor.VisitorAdapter |
visitLevel, visitLevel |
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
private DocumentHandler myDocumentHandler
private Locale myLocale
private static final String AMOUNT
private static final String BASELINE_NAME
private static final String CONFIG_SPEC
private static final String CONFIGURATION_ITEM_NAME
private static final String CDATA
private static final String DISPLAY_NAME
private static final String EFFECTIVITY_DATE
private static final String EFFECTIVITY_TYPE
private static final String ERROR
private static final String INCORPORATION_DATE
private static final String IS_PLANNING_DATE
private static final String ITERATION
private static final String NAME
private static final String NUMBER
private static final String OID
private static final String PART
private static final String PART_MASTER
private static final String QUANTITY
private static final String SERIAL_NUMBER
private static final String STATE
private static final String TYPE
private static final String UNIT
private static final boolean VERBOSE
private static final String VERSION
private static final String VIEW
private static final String WORKING_INCLUDED
private static final int noPreviousLevel
private int previousLevel
private DecimalFormat quantityFormat
Constructor Detail |
public MultilevelWhereUsedVisitor(DocumentHandler aDocumentHandler, Locale aLocale)
aDocumentHandler
- aLocale
- Method Detail |
public void outputConfigSpec(WTPartConfigSpec spec) throws WTException
spec
-
WTException
public void outputPart(WTPartMaster partMaster) throws WTException
partMaster
-
WTException
public void outputQuantity(WTPartUsageLink partUsageLink) throws WTException
partUsageLink
-
WTException
public void postNavigateWrite() throws WTException
WTException
public void preNavigateWrite() throws WTException
WTException
public void startPart(WTPart part) throws WTException
part
-
WTException
public boolean visit(Persistable fromNode, Link link, Persistable toNode, int level, boolean previouslyVisited) throws WTException
visit
in interface Visitor
visit
in class VisitorAdapter
fromNode
- link
- toNode
- level
- previouslyVisited
-
WTException
public void outputQuantity() throws WTException
WTException
public void outputProductInstance(WTProductInstance2 productInstance) throws WTException
WTException
public void startProductInstance(WTProductInstance2 productInstance) throws WTException
WTException
public void endProductInstance() throws WTException
WTException
public void outputConfigSpec(SerialNumberedConfiguredInstanceConfigSpec spec) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |