org.bibop.xml.xforge
Class DeclareNumberElement

java.lang.Object
  |
  +--org.bibop.xml.xforge.AbstractElement
        |
        +--org.bibop.xml.xforge.DeclareElement
              |
              +--org.bibop.xml.xforge.DeclareNumberElement
All Implemented Interfaces:
org.xml.sax.ContentHandler, Element, org.xml.sax.ext.LexicalHandler, PrefixesMonitor, XMLConsumer, XMLProducer

public class DeclareNumberElement
extends DeclareElement

Number Declaration

Version:
1.0
Author:
Alberto Garoffolo

Field Summary
protected static short BooleanType
           
protected static short ByteType
           
protected static short DoubleType
           
protected static short IntType
           
protected  short variabletype
           
 
Fields inherited from class org.bibop.xml.xforge.DeclareElement
varname, XFORGE_ATTR_SERIALIZER, XFORGE_ATTR_VARNAME
 
Fields inherited from class org.bibop.xml.xforge.AbstractElement
contentHandler, lexicalHandler, parentPrefixesMonitor, po, saxEvents, xmlCompiler
 
Constructor Summary
DeclareNumberElement(org.xml.sax.Attributes attrs, ProcessingOptions aPO)
           
 
Method Summary
protected  java.lang.Object getVariableInstance()
           
protected  short string2variabletype(java.lang.String vartype)
           
 
Methods inherited from class org.bibop.xml.xforge.DeclareElement
setGenericClassValue, setXForgeClassValue, toSax
 
Methods inherited from class org.bibop.xml.xforge.AbstractElement
characters, comment, end, endCDATA, endDocument, endDTD, endElement, endEntity, endPrefixMapping, flushSAXCache, getActivePrefixes, ignorableWhitespace, output, output, processingInstruction, setConsumer, setContentHandler, setDocumentLocator, setLexicalHandler, setParent, setParentPrefixesMonitor, skippedEntity, start, startCDATA, startDocument, startDTD, startElement, startEntity, startPrefixMapping
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

variabletype

protected short variabletype

DoubleType

protected static final short DoubleType
See Also:
Constant Field Values

IntType

protected static final short IntType
See Also:
Constant Field Values

ByteType

protected static final short ByteType
See Also:
Constant Field Values

BooleanType

protected static final short BooleanType
See Also:
Constant Field Values
Constructor Detail

DeclareNumberElement

public DeclareNumberElement(org.xml.sax.Attributes attrs,
                            ProcessingOptions aPO)
                     throws IllegalElementException
Method Detail

string2variabletype

protected short string2variabletype(java.lang.String vartype)
                             throws IllegalElementException
IllegalElementException

getVariableInstance

protected java.lang.Object getVariableInstance()
                                        throws XForgeException
Specified by:
getVariableInstance in class DeclareElement
XForgeException


Copyright 2003 Bibop Research International. All Rights Reserved.