|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectecologylab.generic.Debug
ecologylab.xml.ElementState
ecologylab.xml.types.element.ArrayListState<T>
ecologylab.semantics.model.TextChunkBase<TextToken>
ecologylab.semantics.model.TextChunk
public class TextChunk
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ecologylab.xml.ElementState |
|---|
ecologylab.xml.ElementState.DeclarationStyle, ecologylab.xml.ElementState.xml_attribute, ecologylab.xml.ElementState.xml_bind_from, ecologylab.xml.ElementState.xml_bind_to, ecologylab.xml.ElementState.xml_class, ecologylab.xml.ElementState.xml_classes, ecologylab.xml.ElementState.xml_collection, ecologylab.xml.ElementState.xml_format, ecologylab.xml.ElementState.xml_leaf, ecologylab.xml.ElementState.xml_map, ecologylab.xml.ElementState.xml_nested, ecologylab.xml.ElementState.xml_nowrap, ecologylab.xml.ElementState.xml_other_tags, ecologylab.xml.ElementState.xml_scope, ecologylab.xml.ElementState.xml_tag, ecologylab.xml.ElementState.xml_text |
| Field Summary |
|---|
| Fields inherited from class ecologylab.semantics.model.TextChunkBase |
|---|
CENTER, CHARS_PER_TOKEN, DEFAULT_POINT_SIZE, LEFT, RIGHT |
| Fields inherited from class ecologylab.xml.ElementState |
|---|
CDATA, NORMAL, UTF16, UTF16_LE, UTF8 |
| Fields inherited from interface ecologylab.xml.types.scalar.ScalarTypeInstanceConstants |
|---|
STRING_SCALAR_TYPE, URL_SCALAR_TYPE |
| Fields inherited from interface ecologylab.xml.ClassTypes |
|---|
BAD_FIELD, COLLECTION_ELEMENT, COLLECTION_SCALAR, IGNORED_ATTRIBUTE, IGNORED_ELEMENT, LEAF_NODE_VALUE, MAP_ELEMENT, MAP_SCALAR, NAME_SPACE_ATTRIBUTE, NAME_SPACE_LEAF_NODE, NAME_SPACE_MASK, NAME_SPACE_NESTED_ELEMENT, NAMESPACE_IGNORED_ELEMENT, NAMESPACE_TRIAL_ELEMENT, OTHER_NESTED_ELEMENT, REGULAR_ATTRIBUTE, REGULAR_NESTED_ELEMENT, ROOT, TEXT_NODE_VALUE, UNSET_TYPE, XMLNS_ATTRIBUTE, XMLNS_IGNORED |
| Fields inherited from interface ecologylab.xml.XMLTranslationExceptionTypes |
|---|
FILE_NOT_FOUND, IO_EXCEPTION, NULL_PURL, UNKNOWN |
| Constructor Summary | |
|---|---|
TextChunk(boolean doUnderline)
|
|
TextChunk(boolean doUnderlineArg,
java.lang.CharSequence untokenized)
|
|
TextChunk(boolean doUnderlineArg,
java.lang.CharSequence untokenized,
ecologylab.xml.types.scalar.ScalarType scalarType)
|
|
TextChunk(boolean doUnderline,
ecologylab.net.ParsedURL commonHref)
|
|
TextChunk(boolean doUnderline,
ecologylab.xml.types.scalar.ScalarType scalarType)
|
|
TextChunk(TextChunk copyChunk)
|
|
| Method Summary | |
|---|---|
TextChunk |
newTextChunk(boolean doUnderlineArg,
java.lang.CharSequence untokenized,
ecologylab.xml.types.scalar.ScalarType scalarType)
Factory method to call the correct constructor. |
TextToken |
newToken(java.lang.String string,
java.lang.String delims,
ecologylab.net.ParsedURL href)
Create a new constituent TextToken of the correct subtype. |
TextToken |
newToken(java.lang.String string,
java.lang.String delims,
ecologylab.net.ParsedURL href,
int style,
int fontSize,
int faceIndex)
Create a new constituent TextToken of the correct subtype. |
TextToken |
newToken(TextToken prevToken)
Create a new constituent TextToken of the correct subtype. |
| Methods inherited from class ecologylab.semantics.model.TextChunkBase |
|---|
add, add, add, addTextToken, appendString, appendTextChunk, commonHref, emitHtml, emitHtml, empty, endLink, initDoubleUnderline, isGarbage, lastElement, lc, length, namedStyle, recycle, removeElementAt, scalarType, setNamedStyle, setStyleName, string, string, stringBuilder, styleName, textToken, toHTML, token, toString, toStringBuilder, toStringBuilder |
| Methods inherited from class ecologylab.xml.types.element.ArrayListState |
|---|
add, addAll, addAll, clear, clone, contains, containsAll, get, getArrayList, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, set, size, subList, toArray, toArray, trimToSize |
| Methods inherited from class ecologylab.xml.ElementState |
|---|
buildDOM, buildDOM, buildDOM, buildDOM, buildDOM, buildDOMFromXMLCharSequence, buildDOMFromXMLString, checkAnnotation, createParentDirs, getChildFieldAccessors, getElementStateById, getFieldDescriptors, getNestedNameSpace, getTextNodeString, hasScalarTextField, lookupNestedNameSpace, parent, propagateInheritedValues, setDeclarationStyle, setParent, setUseDOMForTranslateTo, translateFromXML, translateFromXML, translateFromXML, translateFromXML, translateFromXML, translateFromXMLCharSequence, translateFromXMLDOM, translateFromXMLDOM, translateFromXMLDOM, translateFromXMLDOM, translateFromXMLDOM, translateFromXMLDOM, translateFromXMLDOMCharSequence, translateFromXMLDOMCharSequence, translateFromXMLRootNode, translateFromXMLSAX, translateFromXMLSAX, translateFromXMLSAX, translateFromXMLSAX, translateFromXMLSAX, translateToDOM, translateToXML, translateToXML, translateToXML, translateToXML, writePrettyXML, writePrettyXML, writePrettyXML |
| Methods inherited from class ecologylab.generic.Debug |
|---|
classSimpleName, closeLoggingFile, debug, debug, debug, debug, debugA, debugA, debugA, debugI, debugI, debugI, error, error, getClassName, getClassName, getInteractive, getPackageName, getPackageName, getPackageName, initialize, level, level, level, logToFile, print, print, println, println, println, println, println, println, printlnA, printlnA, printlnA, printlnI, printlnI, printlnI, printlnI, setLoggingFile, show, show, superString, toggleInteractive, toString, warning, warning, weird, weird |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public TextChunk(boolean doUnderline,
ecologylab.net.ParsedURL commonHref)
doUnderline - commonHref - public TextChunk(boolean doUnderline)
doUnderline -
public TextChunk(boolean doUnderline,
ecologylab.xml.types.scalar.ScalarType scalarType)
doUnderline - scalarType -
public TextChunk(boolean doUnderlineArg,
java.lang.CharSequence untokenized)
doUnderlineArg - untokenized -
public TextChunk(boolean doUnderlineArg,
java.lang.CharSequence untokenized,
ecologylab.xml.types.scalar.ScalarType scalarType)
doUnderlineArg - untokenized - scalarType - public TextChunk(TextChunk copyChunk)
copyChunk - | Method Detail |
|---|
public TextChunk newTextChunk(boolean doUnderlineArg,
java.lang.CharSequence untokenized,
ecologylab.xml.types.scalar.ScalarType scalarType)
newTextChunk in class TextChunkBase<TextToken>doUnderlineArg - untokenized - scalarType -
public TextToken newToken(java.lang.String string,
java.lang.String delims,
ecologylab.net.ParsedURL href)
TextChunkBase
newToken in class TextChunkBase<TextToken>public TextToken newToken(TextToken prevToken)
TextChunkBase
newToken in class TextChunkBase<TextToken>
public TextToken newToken(java.lang.String string,
java.lang.String delims,
ecologylab.net.ParsedURL href,
int style,
int fontSize,
int faceIndex)
TextChunkBase
newToken in class TextChunkBase<TextToken>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||