org.xmlcml.cml
Class AbstractStringValImpl

java.lang.Object
  |
  +--org.apache.xerces.dom.NodeImpl
        |
        +--org.apache.xerces.dom.ChildNode
              |
              +--org.apache.xerces.dom.ChildAndParentNode
                    |
                    +--org.apache.xerces.dom.ElementImpl
                          |
                          +--uk.co.demon.ursus.dom.AbstractElementImpl
                                |
                                +--uk.co.demon.ursus.dom.PMRElementImpl
                                      |
                                      +--org.xmlcml.cml.CMLBaseImpl
                                            |
                                            +--org.xmlcml.cml.AbstractStringValImpl
Direct Known Subclasses:
StringValImpl

public abstract class AbstractStringValImpl
extends CMLBaseImpl

See Also:
Serialized Form

Field Summary
protected  java.lang.String builtin
           
protected  int dataType
           
protected  java.lang.String stringValue
           
 
Fields inherited from class org.xmlcml.cml.CMLBaseImpl
conventionName, conventionTable, dictRef, id, title, validity
 
Fields inherited from class uk.co.demon.ursus.dom.PMRElementImpl
CLASSNAME, processFlag
 
Fields inherited from class uk.co.demon.ursus.dom.AbstractElementImpl
CLASSNAME
 
Fields inherited from class org.apache.xerces.dom.ElementImpl
attributes, name
 
Fields inherited from class org.apache.xerces.dom.ChildAndParentNode
changes, firstChild, nodeListIndex, nodeListLength, nodeListNode, ownerDocument
 
Fields inherited from class org.apache.xerces.dom.ChildNode
nextSibling, previousSibling
 
Fields inherited from class org.apache.xerces.dom.NodeImpl
ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, IGNORABLEWS, MUTATION_AGGREGATE, MUTATION_ALL, MUTATION_LOCAL, MUTATION_NONE, MUTATIONEVENTS, OWNED, ownerNode, READONLY, SETVALUE, SPECIFIED, SYNCCHILDREN, SYNCDATA
 
Constructor Summary
AbstractStringValImpl()
           
AbstractStringValImpl(org.w3c.dom.Element element)
           
AbstractStringValImpl(java.lang.String tagName, org.w3c.dom.Document document)
          new Object in document context
AbstractStringValImpl(java.lang.String tagName, org.w3c.dom.Document document, java.lang.String stringValue, java.lang.String builtin, java.lang.String title, java.lang.String id, java.lang.String dictRef, java.lang.String conventionName)
           
 
Method Summary
 java.lang.String getBuiltin()
           
 int getDataType()
          String, Float, Integer all have dataType flag if required
 java.lang.String getStringValue()
          get the String content.
 void processDOM()
          subclassed if necessary
 void processString()
           
 void setBuiltin(java.lang.String builtin)
           
protected  void setDataType(int dataType)
           
 void setStringValue(java.lang.String stringValue)
           
 
Methods inherited from class org.xmlcml.cml.CMLBaseImpl
addValidity, convertToSubclass, debug, getConventionName, getDictRef, getId, getSubClassedElement, getTitle, getValidity, help, isValid, main, setConventionName, setDictRef, setId, setTitle, showElementNames, test1, updateDOM, updateDOMHasConvention, updateDOMHasConvention, updateDOMHasCount, updateDOMHasDictRef, updateDOMHasDictRef, updateDOMHasId, updateDOMHasId, updateDOMHasTitle, updateDOMHasTitle, updateDOMHasUnits
 
Methods inherited from class uk.co.demon.ursus.dom.PMRElementImpl
appendTo, initialise, processDescendants, setProcessFlag
 
Methods inherited from class uk.co.demon.ursus.dom.AbstractElementImpl
setTagName
 
Methods inherited from class org.apache.xerces.dom.ElementImpl
cloneNode, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getElementsByTagName, getElementsByTagNameNS, getNodeName, getNodeType, getTagName, hasAttribute, hasAttributeNS, normalize, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setReadOnly, setupDefaultAttributes, synchronizeData
 
Methods inherited from class org.apache.xerces.dom.ChildAndParentNode
changed, changes, getChildNodes, getFirstChild, getLastChild, getLength, getOwnerDocument, hasChildNodes, insertBefore, item, removeChild, replaceChild, synchronizeChildren, synchronizeChildren
 
Methods inherited from class org.apache.xerces.dom.ChildNode
getNextSibling, getParentNode, getPreviousSibling
 
Methods inherited from class org.apache.xerces.dom.NodeImpl
addEventListener, appendChild, dispatchEvent, finalize, getLocalName, getNamespaceURI, getNodeValue, getPrefix, getReadOnly, getUserData, removeEventListener, setNodeValue, setPrefix, setUserData, supports, toString
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

stringValue

protected java.lang.String stringValue

builtin

protected java.lang.String builtin

dataType

protected int dataType
Constructor Detail

AbstractStringValImpl

public AbstractStringValImpl()

AbstractStringValImpl

public AbstractStringValImpl(org.w3c.dom.Element element)

AbstractStringValImpl

public AbstractStringValImpl(java.lang.String tagName,
                             org.w3c.dom.Document document)
new Object in document context

AbstractStringValImpl

public AbstractStringValImpl(java.lang.String tagName,
                             org.w3c.dom.Document document,
                             java.lang.String stringValue,
                             java.lang.String builtin,
                             java.lang.String title,
                             java.lang.String id,
                             java.lang.String dictRef,
                             java.lang.String conventionName)
Method Detail

getDataType

public int getDataType()
String, Float, Integer all have dataType flag if required

setDataType

protected void setDataType(int dataType)

setStringValue

public void setStringValue(java.lang.String stringValue)

getStringValue

public java.lang.String getStringValue()
get the String content. (defaults to "")

setBuiltin

public void setBuiltin(java.lang.String builtin)

getBuiltin

public java.lang.String getBuiltin()

processDOM

public void processDOM()
                throws CMLException
Description copied from class: CMLBaseImpl
subclassed if necessary
Overrides:
processDOM in class CMLBaseImpl
Tags copied from class: PMRElementImpl
Throws:
java.lang.Exception - these can be of many kinds and may include class-specific ones

processString

public void processString()