wt.rule.init
Class OldInitRuleContentHandler

java.lang.Object
  extended bywt.rule.init.OldInitRuleContentHandler
All Implemented Interfaces:
ContentHandler

public class OldInitRuleContentHandler
extends Object
implements ContentHandler

This ContentHandler supports parsing "old" INIT Rule specifications.


Nested Class Summary
static class OldInitRuleContentHandler.InvalidRootElementException
          Deprecated. Exception used to indicate that the XML does not conform to the "old" DTD.
static class OldInitRuleContentHandler.NewRootElementException
          Deprecated. Exception used to indicate that the XML conforms to the "new" DTD rather than to the "old" DTD.
private static class OldInitRuleContentHandler.ValueStack
          Deprecated.  
 
Field Summary
private  String _currentValue
          Deprecated.  
private  String _rootElement
          Deprecated.  
private  OldInitRuleContentHandler.ValueStack _valueStack
          Deprecated.  
static String CORE_PKG
          Deprecated.  
static String DEPARTMENT_ID
          Deprecated.  
static String DESCRIPTION_ID
          Deprecated.  
static String DOC_CLASS
          Deprecated.  
static String DOC_DEPT_CLASS
          Deprecated.  
static String DOC_TYPE_CLASS
          Deprecated.  
static String DOC_TYPE_ID
          Deprecated.  
static String ENT_PKG
          Deprecated.  
static String ENUM_ALGO
          Deprecated.  
static String FDN_PKG
          Deprecated.  
static String FOLDER_ALGO
          Deprecated.  
static String FOLDER_ID
          Deprecated.  
static String FOLDER_PKG
          Deprecated.  
static String LC_PKG
          Deprecated.  
static String LC_STATE_CLASS
          Deprecated.  
static String LCM_CLASS
          Deprecated.  
static String LIFECYCLE_ALGO
          Deprecated.  
static String LIFECYCLE_ID
          Deprecated.  
static String LIFECYCLE_STATE_ID
          Deprecated.  
static String NAME_ID
          Deprecated.  
static String NUMBER_ALGO
          Deprecated.  
static String NUMBER_ID
          Deprecated.  
static String PART_CLASS
          Deprecated.  
static String PART_SOURCE_CLASS
          Deprecated.  
static String PART_TYPE_CLASS
          Deprecated.  
static String PART_TYPE_ID
          Deprecated.  
private static String RESOURCE
          Deprecated.  
static String REVCTRL_PKG
          Deprecated.  
static String RULE_ALGO_PKG
          Deprecated.  
static String SOURCE_ID
          Deprecated.  
private  AttributeValues spec
          Deprecated.  
static String STRING_ALGO
          Deprecated.  
static String TITLE_ID
          Deprecated.  
static String VC_PKG
          Deprecated.  
static String VIEW_ALGO
          Deprecated.  
static String VIEW_ID
          Deprecated.  
static String VIEWS_PKG
          Deprecated.  
static String WNC_PKG
          Deprecated.  
static String XML_ATTR_CLASS
          Deprecated.  
static String XML_ATTR_DEPARTMENT
          Deprecated.  
static String XML_ATTR_DESCRIPTION
          Deprecated.  
static String XML_ATTR_DOCTYPE
          Deprecated.  
static String XML_ATTR_FOLDER
          Deprecated.  
static String XML_ATTR_LIFECYCLENAME
          Deprecated.  
static String XML_ATTR_LIFECYCLESTATE
          Deprecated.  
static String XML_ATTR_METHOD
          Deprecated.  
static String XML_ATTR_NAME
          Deprecated.  
static String XML_ATTR_NUMBER
          Deprecated.  
static String XML_ATTR_OBJECT
          Deprecated.  
static String XML_ATTR_PARTTYPE
          Deprecated.  
static String XML_ATTR_PROJECT_ID
          Deprecated.  
static String XML_ATTR_SELECT
          Deprecated.  
static String XML_ATTR_SOURCE
          Deprecated.  
static String XML_ATTR_TITLE
          Deprecated.  
static String XML_ATTR_VIEW
          Deprecated.  
static String XML_CONTEXT
          Deprecated.  
static String XML_CONTEXT_PROJECT
          Deprecated.  
static String XML_CONTEXT_TARGET
          Deprecated.  
static String XML_CONTEXT_TEAM
          Deprecated.  
static String XML_INVOKE
          Deprecated.  
static String XML_LIFECYCLEINFO
          Deprecated.  
static String XML_LIFECYCLEMANAGED
          Deprecated.  
static String XML_WTDOCUMENT
          Deprecated.  
static String XML_WTPART
          Deprecated.  
 
Constructor Summary
OldInitRuleContentHandler()
          Deprecated.  
 
Method Summary
private  void addToCurrentValue(String s)
          Deprecated. Add the specified string to the value of the current element.
 void characters(char[] ch, int start, int length)
          Deprecated.  
 void endDocument()
          Deprecated.  
 void endElement(String namespaceURI, String localName, String qName)
          Deprecated.  
 void endPrefixMapping(String prefix)
          Deprecated.  
private  String getCurrentValue()
          Deprecated. Get the value of the current element.
 AttributeValues getSpec()
          Deprecated. Gets the value of the attribute: spec; The attribute values specification that was built by this content handler.
 void ignorableWhitespace(char[] ch, int start, int length)
          Deprecated.  
static void main(String[] args)
          Deprecated.  
private static void parse(File file, OldInitRuleContentHandler handler)
          Deprecated.  
 void processingInstruction(String target, String data)
          Deprecated.  
 void setDocumentLocator(Locator locator)
          Deprecated.  
 void skippedEntity(String name)
          Deprecated.  
 void startDocument()
          Deprecated.  
 void startElement(String namespaceURI, String localName, String qName, Attributes atts)
          Deprecated.  
 void startPrefixMapping(String prefix, String uri)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
Deprecated. 
See Also:
Constant Field Values

XML_CONTEXT

public static final String XML_CONTEXT
Deprecated. 
See Also:
Constant Field Values

XML_ATTR_OBJECT

public static final String XML_ATTR_OBJECT
Deprecated. 
See Also:
Constant Field Values

XML_ATTR_SELECT

public static final String XML_ATTR_SELECT
Deprecated. 
See Also:
Constant Field Values

XML_CONTEXT_TARGET

public static final String XML_CONTEXT_TARGET
Deprecated. 
See Also:
Constant Field Values

XML_CONTEXT_PROJECT

public static final String XML_CONTEXT_PROJECT
Deprecated. 
See Also:
Constant Field Values

XML_CONTEXT_TEAM

public static final String XML_CONTEXT_TEAM
Deprecated. 
See Also:
Constant Field Values

XML_INVOKE

public static final String XML_INVOKE
Deprecated. 
See Also:
Constant Field Values

XML_ATTR_CLASS

public static final String XML_ATTR_CLASS
Deprecated. 
See Also:
Constant Field Values

XML_ATTR_METHOD

public static final String XML_ATTR_METHOD
Deprecated. 
See Also:
Constant Field Values

XML_LIFECYCLEMANAGED

public static final String XML_LIFECYCLEMANAGED
Deprecated. 
See Also:
Constant Field Values

XML_WTDOCUMENT

public static final String XML_WTDOCUMENT
Deprecated. 
See Also:
Constant Field Values

XML_WTPART

public static final String XML_WTPART
Deprecated. 
See Also:
Constant Field Values

XML_ATTR_NAME

public static final String XML_ATTR_NAME
Deprecated. 
See Also:
Constant Field Values

XML_ATTR_NUMBER

public static final String XML_ATTR_NUMBER
Deprecated. 
See Also:
Constant Field Values

XML_ATTR_FOLDER

public static final String XML_ATTR_FOLDER
Deprecated. 
See Also:
Constant Field Values

XML_LIFECYCLEINFO

public static final String XML_LIFECYCLEINFO
Deprecated. 
See Also:
Constant Field Values

XML_ATTR_LIFECYCLENAME

public static final String XML_ATTR_LIFECYCLENAME
Deprecated. 
See Also:
Constant Field Values

XML_ATTR_LIFECYCLESTATE

public static final String XML_ATTR_LIFECYCLESTATE
Deprecated. 
See Also:
Constant Field Values

XML_ATTR_PROJECT_ID

public static final String XML_ATTR_PROJECT_ID
Deprecated. 
See Also:
Constant Field Values

XML_ATTR_DESCRIPTION

public static final String XML_ATTR_DESCRIPTION
Deprecated. 
See Also:
Constant Field Values

XML_ATTR_DEPARTMENT

public static final String XML_ATTR_DEPARTMENT
Deprecated. 
See Also:
Constant Field Values

XML_ATTR_TITLE

public static final String XML_ATTR_TITLE
Deprecated. 
See Also:
Constant Field Values

XML_ATTR_DOCTYPE

public static final String XML_ATTR_DOCTYPE
Deprecated. 
See Also:
Constant Field Values

XML_ATTR_PARTTYPE

public static final String XML_ATTR_PARTTYPE
Deprecated. 
See Also:
Constant Field Values

XML_ATTR_SOURCE

public static final String XML_ATTR_SOURCE
Deprecated. 
See Also:
Constant Field Values

XML_ATTR_VIEW

public static final String XML_ATTR_VIEW
Deprecated. 
See Also:
Constant Field Values

RULE_ALGO_PKG

public static final String RULE_ALGO_PKG
Deprecated. 
See Also:
Constant Field Values

CORE_PKG

public static final String CORE_PKG
Deprecated. 
See Also:
Constant Field Values

WNC_PKG

public static final String WNC_PKG
Deprecated. 
See Also:
Constant Field Values

FDN_PKG

public static final String FDN_PKG
Deprecated. 
See Also:
Constant Field Values

ENT_PKG

public static final String ENT_PKG
Deprecated. 
See Also:
Constant Field Values

LC_PKG

public static final String LC_PKG
Deprecated. 
See Also:
Constant Field Values

FOLDER_PKG

public static final String FOLDER_PKG
Deprecated. 
See Also:
Constant Field Values

REVCTRL_PKG

public static final String REVCTRL_PKG
Deprecated. 
See Also:
Constant Field Values

VC_PKG

public static final String VC_PKG
Deprecated. 
See Also:
Constant Field Values

VIEWS_PKG

public static final String VIEWS_PKG
Deprecated. 
See Also:
Constant Field Values

STRING_ALGO

public static final String STRING_ALGO
Deprecated. 
See Also:
Constant Field Values

ENUM_ALGO

public static final String ENUM_ALGO
Deprecated. 
See Also:
Constant Field Values

LIFECYCLE_ALGO

public static final String LIFECYCLE_ALGO
Deprecated. 
See Also:
Constant Field Values

FOLDER_ALGO

public static final String FOLDER_ALGO
Deprecated. 
See Also:
Constant Field Values

NUMBER_ALGO

public static final String NUMBER_ALGO
Deprecated. 
See Also:
Constant Field Values

VIEW_ALGO

public static final String VIEW_ALGO
Deprecated. 
See Also:
Constant Field Values

DOC_CLASS

public static final String DOC_CLASS
Deprecated. 

DOC_TYPE_CLASS

public static final String DOC_TYPE_CLASS
Deprecated. 

DOC_DEPT_CLASS

public static final String DOC_DEPT_CLASS
Deprecated. 

PART_CLASS

public static final String PART_CLASS
Deprecated. 

PART_TYPE_CLASS

public static final String PART_TYPE_CLASS
Deprecated. 

PART_SOURCE_CLASS

public static final String PART_SOURCE_CLASS
Deprecated. 

LCM_CLASS

public static final String LCM_CLASS
Deprecated. 

LC_STATE_CLASS

public static final String LC_STATE_CLASS
Deprecated. 

LIFECYCLE_ID

public static final String LIFECYCLE_ID
Deprecated. 
See Also:
Constant Field Values

LIFECYCLE_STATE_ID

public static final String LIFECYCLE_STATE_ID
Deprecated. 
See Also:
Constant Field Values

FOLDER_ID

public static final String FOLDER_ID
Deprecated. 
See Also:
Constant Field Values

NUMBER_ID

public static final String NUMBER_ID
Deprecated. 
See Also:
Constant Field Values

NAME_ID

public static final String NAME_ID
Deprecated. 
See Also:
Constant Field Values

DESCRIPTION_ID

public static final String DESCRIPTION_ID
Deprecated. 
See Also:
Constant Field Values

DEPARTMENT_ID

public static final String DEPARTMENT_ID
Deprecated. 
See Also:
Constant Field Values

TITLE_ID

public static final String TITLE_ID
Deprecated. 
See Also:
Constant Field Values

DOC_TYPE_ID

public static final String DOC_TYPE_ID
Deprecated. 
See Also:
Constant Field Values

VIEW_ID

public static final String VIEW_ID
Deprecated. 
See Also:
Constant Field Values

PART_TYPE_ID

public static final String PART_TYPE_ID
Deprecated. 
See Also:
Constant Field Values

SOURCE_ID

public static final String SOURCE_ID
Deprecated. 
See Also:
Constant Field Values

spec

private AttributeValues spec
Deprecated. 

_valueStack

private final OldInitRuleContentHandler.ValueStack _valueStack
Deprecated. 

_rootElement

private String _rootElement
Deprecated. 

_currentValue

private String _currentValue
Deprecated. 
Constructor Detail

OldInitRuleContentHandler

public OldInitRuleContentHandler()
Deprecated. 
Method Detail

getSpec

public AttributeValues getSpec()
Deprecated. 
Gets the value of the attribute: spec; The attribute values specification that was built by this content handler.

Supported API: false

Returns:
AttributeValues

getCurrentValue

private String getCurrentValue()
Deprecated. 
Get the value of the current element.


addToCurrentValue

private void addToCurrentValue(String s)
Deprecated. 
Add the specified string to the value of the current element. If no value currently exists, use the supplied string as the current value.


characters

public void characters(char[] ch,
                       int start,
                       int length)
Deprecated. 
Specified by:
characters in interface ContentHandler

endDocument

public void endDocument()
Deprecated. 
Specified by:
endDocument in interface ContentHandler

endElement

public void endElement(String namespaceURI,
                       String localName,
                       String qName)
Deprecated. 
Specified by:
endElement in interface ContentHandler

endPrefixMapping

public void endPrefixMapping(String prefix)
Deprecated. 
Specified by:
endPrefixMapping in interface ContentHandler

ignorableWhitespace

public void ignorableWhitespace(char[] ch,
                                int start,
                                int length)
Deprecated. 
Specified by:
ignorableWhitespace in interface ContentHandler

processingInstruction

public void processingInstruction(String target,
                                  String data)
Deprecated. 
Specified by:
processingInstruction in interface ContentHandler

setDocumentLocator

public void setDocumentLocator(Locator locator)
Deprecated. 
Specified by:
setDocumentLocator in interface ContentHandler

skippedEntity

public void skippedEntity(String name)
Deprecated. 
Specified by:
skippedEntity in interface ContentHandler

startDocument

public void startDocument()
Deprecated. 
Specified by:
startDocument in interface ContentHandler

startElement

public void startElement(String namespaceURI,
                         String localName,
                         String qName,
                         Attributes atts)
Deprecated. 
Specified by:
startElement in interface ContentHandler

startPrefixMapping

public void startPrefixMapping(String prefix,
                               String uri)
Deprecated. 
Specified by:
startPrefixMapping in interface ContentHandler

main

public static void main(String[] args)
                 throws Exception
Deprecated. 
Throws:
Exception

parse

private static void parse(File file,
                          OldInitRuleContentHandler handler)
                   throws Exception
Deprecated. 
Throws:
Exception