OpenMMS
V1.5.1 Std

org.rcsb.openmms.apps.xmc
Class ItemNode

java.lang.Object
  |
  +--org.rcsb.openmms.apps.xmc.Node
        |
        +--org.rcsb.openmms.apps.xmc.ItemNode

public class ItemNode
extends Node

Class to represent Item Elements

Version:
1.3
Author:
Douglas S. Greer

Field Summary
protected  CategoryNode containingCategory
           
protected  DictionaryItem dictItem
           
protected  java.lang.String elementName
           
 
Fields inherited from class org.rcsb.openmms.apps.xmc.Node
TYPE_CATEGORY, TYPE_ENTRY, TYPE_ITEM, TYPE_O
 
Constructor Summary
ItemNode(java.lang.String cifname, CategoryNode cn, DictionaryItem di)
           
 
Method Summary
 void accept(Visitor v)
           
 void addValue(java.lang.String val)
           
 java.lang.String cifNameToElementName(java.lang.String cname)
           
 void clearValues()
           
 CategoryNode getCategory()
           
 DictionaryItem getDictionaryItem()
           
 java.lang.String getElementName()
           
 java.util.ArrayList getValues()
           
 void setCategory(CategoryNode n)
           
 void setDictionaryItem(DictionaryItem di)
           
 
Methods inherited from class org.rcsb.openmms.apps.xmc.Node
add, convertToXYZ, getBlankLines, getChild, getComment, getName, getType, numberOfChildren, setBlankLines, setComment, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

elementName

protected java.lang.String elementName

containingCategory

protected CategoryNode containingCategory

dictItem

protected DictionaryItem dictItem
Constructor Detail

ItemNode

public ItemNode(java.lang.String cifname,
                CategoryNode cn,
                DictionaryItem di)
Method Detail

setCategory

public void setCategory(CategoryNode n)

getCategory

public CategoryNode getCategory()

setDictionaryItem

public void setDictionaryItem(DictionaryItem di)

getDictionaryItem

public DictionaryItem getDictionaryItem()

getElementName

public java.lang.String getElementName()

addValue

public void addValue(java.lang.String val)

clearValues

public void clearValues()

getValues

public java.util.ArrayList getValues()

accept

public void accept(Visitor v)
            throws java.io.IOException,
                   XmlGenException
Specified by:
accept in class Node
java.io.IOException
XmlGenException

cifNameToElementName

public java.lang.String cifNameToElementName(java.lang.String cname)

OpenMMS
V1.5.1 Std

OpenMMS, Copyright 2001, All rights reserved