com.simonstl.moe.explicit
Class Whitespace

java.lang.Object
  |
  +--com.simonstl.moe.CoreComponent
        |
        +--com.simonstl.moe.explicit.Characters
              |
              +--com.simonstl.moe.explicit.Whitespace
All Implemented Interfaces:
AnnotableI, java.lang.Cloneable, CoreComponentI, NamingI

public class Whitespace
extends Characters

The Whitespace class provides a foundation for MOE objects to store SAX-style "ignorable whitespace".

version 0.01 is the initial release and contains plenty of bogus placeholder functionality.

Version:
0.01 26 August 2001
Author:
Simon St.Laurent

Fields inherited from class com.simonstl.moe.explicit.Characters
textContent
 
Fields inherited from class com.simonstl.moe.CoreComponent
annotations, complete, componentType, content, context, name, parent, unorderedContent
 
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
 
Constructor Summary
Whitespace()
           
 
Method Summary
 java.lang.Object clone()
          Clone implementation uses CoreComponent, adds text if necessary.
 int getBasicType()
          Whitespace is "ignorable whitespace", hence, IG_WHITESPACE.
static void main(java.lang.String[] args)
          Need to figure out what a whitespace tester looks like.
 
Methods inherited from class com.simonstl.moe.explicit.Characters
addContent, clearContent, getContent, getTextContent, hashCode, listen, print, setContent, setContent, toString, toString
 
Methods inherited from class com.simonstl.moe.CoreComponent
add, addAll, addUnorderedContent, annotate, clearAll, clearName, clearUnorderedContent, getAllAnnotations, getAnnotations, getIsComplete, getLocalName, getName, getNsURI, getParent, getPrefix, getQName, getTypes, getUnorderedContent, hasAnnotation, hasAnnotationOfType, hasAnnotations, removeAllAnnotations, removeAnnotation, setContent, setIsComplete, setLocalName, setName, setNsURI, setParent, setPrefix, setQName, setUnorderedContent, textComponent
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Whitespace

public Whitespace()
Method Detail

getBasicType

public int getBasicType()
Whitespace is "ignorable whitespace", hence, IG_WHITESPACE.
Overrides:
getBasicType in class Characters

clone

public java.lang.Object clone()
Clone implementation uses CoreComponent, adds text if necessary.
Overrides:
clone in class Characters

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Need to figure out what a whitespace tester looks like.