wt.rule.init
Class InitRuleContentHandler

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

public class InitRuleContentHandler
extends Object
implements ContentHandler



Supported API: false

Extendable: false


Nested Class Summary
private static class InitRuleContentHandler.ValueStack
           
 
Field Summary
private  String _currentValue
           
private  InitRuleContentHandler.ValueStack _valueStack
           
private static String CLASSNAME
           
private static String RESOURCE
           
private  AttributeValues spec
           
 
Constructor Summary
InitRuleContentHandler()
           
 
Method Summary
private  void addToCurrentValue(String s)
          Add the specified string to the value of the current element.
 void characters(char[] ch, int start, int length)
           
 void endDocument()
           
 void endElement(String namespaceURI, String localName, String qName)
           
 void endPrefixMapping(String prefix)
           
private  String getCurrentValue()
          Get the value of the current element.
 AttributeValues getSpec()
          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)
           
static void main(String[] args)
           
 void processingInstruction(String target, String data)
           
 void setDocumentLocator(Locator locator)
           
 void skippedEntity(String name)
           
 void startDocument()
           
 void startElement(String namespaceURI, String localName, String qName, Attributes atts)
           
 void startPrefixMapping(String prefix, String uri)
           
 
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
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

_currentValue

private String _currentValue

spec

private AttributeValues spec

_valueStack

private final InitRuleContentHandler.ValueStack _valueStack
Constructor Detail

InitRuleContentHandler

public InitRuleContentHandler()
Method Detail

getSpec

public AttributeValues getSpec()
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()
Get the value of the current element.


addToCurrentValue

private void addToCurrentValue(String s)
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)
Specified by:
characters in interface ContentHandler

endDocument

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

endElement

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

endPrefixMapping

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

ignorableWhitespace

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

processingInstruction

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

setDocumentLocator

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

skippedEntity

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

startDocument

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

startElement

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

startPrefixMapping

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

main

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