stuart.xmlApp.dtd
Class DTDMixedContentElement

java.lang.Object
  |
  +--stuart.xmlApp.dtd.DTDContent
        |
        +--stuart.xmlApp.dtd.DTDElement
              |
              +--stuart.xmlApp.dtd.DTDElementOnlyElement
                    |
                    +--stuart.xmlApp.dtd.DTDMixedContentElement

public class DTDMixedContentElement
extends DTDElementOnlyElement

An Mixed Content DTD Element.

E.g. <!ELEMENT customer (#PCDATA | billingAddress|phoneNumber)>

An Mixed Content element must have at least one child to be considered valid.


Field Summary
 
Fields inherited from class stuart.xmlApp.dtd.DTDElementOnlyElement
NO_CHILDREN_ERROR
 
Fields inherited from class stuart.xmlApp.dtd.DTDElement
CONTENT_ANY, CONTENT_ELEMENT_ONLY, CONTENT_EMPTY, CONTENT_MIXED, CONTENT_PCDATA, DUP_ATT_NAME, INT_CONTENT_ANY, INT_CONTENT_PCDATA
 
Fields inherited from class stuart.xmlApp.dtd.DTDContent
ELEMENT, ENTITY, NOTATION
 
Constructor Summary
DTDMixedContentElement(java.lang.String n)
          Constructor for a mixed content model element
 
Method Summary
static void main(java.lang.String[] args)
          Debugging method.
 
Methods inherited from class stuart.xmlApp.dtd.DTDElementOnlyElement
addChildElement, addDTDChildElement, getChildAsChildElementAt, getChildCount, getChildElementAt, getChildElements, getChildIndexValue, getOrdered, getSequence, getTag, getVisibleChildCount, hasChildren, removeChildElementAt, replaceChildAtIndex, setChildMultiplicityAtIndex, setOrdered, toString
 
Methods inherited from class stuart.xmlApp.dtd.DTDElement
addAttribute, changeSimpleContentModel, getAttributeAt, getAttributeCount, getAttributeTag, getContentModel, getName, getNextSequenceOrder, getTagSet, hasAttributes, removeAttributeAt, setName
 
Methods inherited from class stuart.xmlApp.dtd.DTDContent
setContentType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DTDMixedContentElement

public DTDMixedContentElement(java.lang.String n)
Constructor for a mixed content model element

Parameters:
n - Name of the element
Method Detail

main

public static void main(java.lang.String[] args)
Description copied from class: DTDElement
Debugging method. Changed regularly, and not guaranteed to work.