com.simonstl.moe
Interface MutableComponentI

All Superinterfaces:
AnnotableI, java.lang.Cloneable, CoreComponentI, NamingI
All Known Implementing Classes:
Mutable

public interface MutableComponentI
extends CoreComponentI

The MutableComponentI interface defines one extra feature which can be used to create objects which change role depending on program whim. These objects can be used in the MOE Framework.

version 0.01 is the initial release.

Version:
0.01 13 September 2001
Author:
Simon St.Laurent

Fields inherited from interface com.simonstl.moe.CoreComponentI
ATTRIBUTE, CDATA, CHARS, COMMENT, CONTAINER, DOCTYPE, DOCUMENT, ELEMENT, END_ATTRIBUTE, END_CDATA, END_COMMENT, END_CONTAINER, END_DOCTYPE, END_DOCUMENT, END_ELEMENT, END_NAMESPACE, END_PI, END_PROPERTY, GEN_ENTITY_END, GEN_ENTITY_REF, GEN_ENTITY_START, IG_WHITESPACE, NAMESPACE_DECL, PI, PROPERTY, UNPARSED, VALUE, XML_DECL
 
Method Summary
 void setBasicType(int Type)
          Set the basic type of this object, per the constants defined in the CoreComponentI interface.
 
Methods inherited from interface com.simonstl.moe.CoreComponentI
addContent, addUnorderedContent, clearAll, clearContent, clearName, clearUnorderedContent, clone, getBasicType, getContent, getIsComplete, getLocalName, getName, getNsURI, getParent, getPrefix, getQName, getTextContent, getUnorderedContent, hashCode, listen, print, setContent, setContent, setIsComplete, setLocalName, setName, setNsURI, setParent, setPrefix, setQName, setUnorderedContent, toString, toString
 
Methods inherited from interface com.simonstl.moe.AnnotableI
addAll, annotate, getAllAnnotations, getAnnotations, getTypes, hasAnnotation, hasAnnotationOfType, hasAnnotations, removeAllAnnotations, removeAnnotation
 

Method Detail

setBasicType

public void setBasicType(int Type)
Set the basic type of this object, per the constants defined in the CoreComponentI interface.
public static final int DOCUMENT=0;
public static final int END_DOCUMENT=1;
public static final int ELEMENT=2;
public static final int END_ELEMENT=3;
public static final int ATTRIBUTE=4;
public static final int END_ATTRIBUTE=5;
public static final int COMMENT=6;
public static final int END_COMMENT=7;
public static final int PI=8;
public static final int END_PI=9;
public static final int DOCTYPE=10;
public static final int END_DOCTYPE=11;
public static final int CDATA=12;
public static final int END_CDATA=13;


public static final int XML_DECL=18;
public static final int NAMESPACE_DECL=20;
public static final int END_NAMESPACE=21;

public static final int GENERIC=64;
public static final int END_GENERIC=65;

public static final int GEN_ENTITY_START=130;
public static final int GEN_ENTITY_END=131;

public static final int GEN_ENTITY_REF=250;
public static final int IG_WHITESPACE=252;
public static final int CHARS=254;

public static final int UNPARSED=258;
This permits the creation of classes which change type depending on context.