org.bibop.xml.xforge
Class SetVariableElement

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

public class SetVariableElement
extends AbstractElement

Dynamically evaluate a parameter and pass it to its parent.

Version:
1.0
Author:
Alberto Garoffolo

Field Summary
private static java.lang.String DEFAULT_SERIALIZER
           
private  java.lang.String parameterName
           
private  java.lang.StringBuffer parameterValue
           
private  int serializertype
           
private static java.lang.String TEXT_SERIALIZER
           
static java.lang.String XFORGE_ATTR_SERIALIZER
           
static java.lang.String XFORGE_ATTR_VARNAME
           
private static java.lang.String XML_SERIALIZER
           
 
Fields inherited from class org.bibop.xml.xforge.AbstractElement
contentHandler, lexicalHandler, parentPrefixesMonitor, po, saxEvents, xmlCompiler
 
Constructor Summary
SetVariableElement(org.xml.sax.Attributes attrs, ProcessingOptions aPO)
           
 
Method Summary
protected  java.lang.Object setGenericClassValue(java.lang.Object obj)
           
protected  XForgeClass setXForgeClassValue(XForgeClass xfc)
           
 void toSax()
          Must be implemented by the extending classes
 
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

parameterName

private java.lang.String parameterName

parameterValue

private java.lang.StringBuffer parameterValue

XFORGE_ATTR_VARNAME

public static final java.lang.String XFORGE_ATTR_VARNAME
See Also:
Constant Field Values

XFORGE_ATTR_SERIALIZER

public static final java.lang.String XFORGE_ATTR_SERIALIZER
See Also:
Constant Field Values

XML_SERIALIZER

private static final java.lang.String XML_SERIALIZER
See Also:
Constant Field Values

TEXT_SERIALIZER

private static final java.lang.String TEXT_SERIALIZER
See Also:
Constant Field Values

DEFAULT_SERIALIZER

private static final java.lang.String DEFAULT_SERIALIZER
See Also:
Constant Field Values

serializertype

private int serializertype
Constructor Detail

SetVariableElement

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

toSax

public void toSax()
           throws org.xml.sax.SAXException
Description copied from class: AbstractElement
Must be implemented by the extending classes

Specified by:
toSax in interface XMLProducer
Specified by:
toSax in class AbstractElement
Throws:
org.xml.sax.SAXException

setXForgeClassValue

protected XForgeClass setXForgeClassValue(XForgeClass xfc)
                                   throws org.xml.sax.SAXException
org.xml.sax.SAXException

setGenericClassValue

protected java.lang.Object setGenericClassValue(java.lang.Object obj)
                                         throws org.xml.sax.SAXException
org.xml.sax.SAXException


Copyright 2003 Bibop Research International. All Rights Reserved.