org.media.mn8.concepts
Class StringConcept

java.lang.Object
  |
  +--org.media.mn8.Concept
        |
        +--org.media.mn8.JavaConcept
              |
              +--org.media.mn8.concepts.StringConcept

public class StringConcept
extends JavaConcept

Version:
$Revision: 1.26 $ $Date: 2002/10/07 20:57:07 $
Author:
Remus Pereni

Field Summary
 
Fields inherited from class org.media.mn8.Concept
_conceptLabel, _isHidden, _resourceURI, _showEmpty
 
Constructor Summary
StringConcept()
           
StringConcept(String value)
           
StringConcept(StringConcept value)
           
 
Method Summary
 IntegerConcept _hashCode()
           
 CharacterConcept charAt(IntegerConcept at)
           
 Object clone()
           
 IntegerConcept compareTo(StringConcept value)
           
 LogicalConcept contains(ExpressionConcept expression)
           
 LogicalConcept contains(StringConcept expression)
           
 LogicalConcept endsWith(StringConcept value)
           
 boolean equals(Object obj)
           
 LogicalConcept equals(StringConcept str)
           
 LogicalConcept equalsIgnoreCase(StringConcept value)
           
 ConceptDefinition getConceptDefinition()
           
 SeriesConcept getConceptsAtPath(StringConcept path)
           
 IntegerConcept getLength()
           
 SeriesConcept getLines()
           
 SeriesConcept getTokens(StringConcept delimiters)
           
 SeriesConcept getTokensWithDelimiters(StringConcept delimiters)
           
 String getValue()
           
 int hashCode()
           
 LogicalConcept hasPath(String path)
          Returns true if the concept has the specified path or not.
 LogicalConcept hasPath(StringConcept path)
           
 IntegerConcept indexOf(StringConcept value)
           
 IntegerConcept indexOf(StringConcept value, IntegerConcept startFrom)
           
 IntegerConcept lastIndexOf(StringConcept value)
           
 IntegerConcept lastIndexOf(StringConcept value, IntegerConcept startFrom)
           
 void loadContent(Concept from)
           
 void main(SeriesConcept param)
           
 LogicalConcept matches(ExpressionConcept expression)
           
 LogicalConcept opEquals(StringConcept value)
           
 LogicalConcept opGT(StringConcept value)
           
 LogicalConcept opLT(StringConcept value)
           
 StringConcept opPlus(CharacterConcept value)
           
 StringConcept opPlus(Concept value)
           
 StringConcept opPlus(IntegerConcept value)
           
 StringConcept opPlus(LogicalConcept value)
           
 StringConcept opPlus(NilConcept value)
           
 StringConcept opPlus(RealConcept value)
           
 StringConcept opPlus(StringConcept value)
           
 StringConcept replace(CharacterConcept oldChar, CharacterConcept newChar)
           
 SeriesConcept select(ExpressionConcept expression)
           
 void setValue(String value)
           
 LogicalConcept startsWith(StringConcept value)
           
 LogicalConcept startsWith(StringConcept value, IntegerConcept offset)
           
 StringConcept substring(IntegerConcept from)
           
 StringConcept substring(IntegerConcept from, IntegerConcept to)
           
 StringConcept toLowerCase()
           
 String toString()
           
 StringConcept toStringConcept()
           
 StringConcept toTXT()
           
 StringConcept toUpperCase()
           
 StringConcept toXML()
           
 StringConcept trim()
           
 StringConcept wrap()
           
 StringConcept wrap(IntegerConcept colon)
           
 StringConcept wrap(IntegerConcept colon, StringConcept align)
           
 
Methods inherited from class org.media.mn8.JavaConcept
create, equals, opEQ
 
Methods inherited from class org.media.mn8.Concept
areThereMoreElemenents, cloneConcept, extendsConcept, getAllInheritedConcepts, getAttributeValue, getConceptAttribute, getConceptAttribute, getConceptAttributeField, getConceptAttributeField, getConceptAttributeFields, getConceptAttributes, getConceptConstructors, getConceptElement, getConceptElement, getConceptElementField, getConceptElementFields, getConceptElements, getConceptInstance, getConceptLabel, getConceptMethod, getConceptMethods, getConceptNamed, getConceptOperators, getConceptsAtPath, getConceptType, getErrorHandler, getInheritedConcepts, getMeAllElements, getResourceURI, hasConceptAttribute, hasConceptAttribute, hasConceptElement, hasConceptElement, hasConceptMethod, isHidden, printFields, printFields, searchDeeperForPath, searchSubElements, setConceptLabel, setErrorHandler, setHidden, setResourceURI, setShowEmpty, showEmpty, subAttributeGetConcept, subAttributeHasPath, subElementGetConcepts, subElementHasPath
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringConcept

public StringConcept()

StringConcept

public StringConcept(String value)

StringConcept

public StringConcept(StringConcept value)
Method Detail

toStringConcept

public StringConcept toStringConcept()

opPlus

public StringConcept opPlus(IntegerConcept value)

opPlus

public StringConcept opPlus(RealConcept value)

opPlus

public StringConcept opPlus(Concept value)

opPlus

public StringConcept opPlus(LogicalConcept value)

opEquals

public LogicalConcept opEquals(StringConcept value)

opPlus

public StringConcept opPlus(StringConcept value)

opPlus

public StringConcept opPlus(CharacterConcept value)

opPlus

public StringConcept opPlus(NilConcept value)

opLT

public LogicalConcept opLT(StringConcept value)

opGT

public LogicalConcept opGT(StringConcept value)

getValue

public String getValue()

setValue

public void setValue(String value)

main

public void main(SeriesConcept param)

getConceptDefinition

public ConceptDefinition getConceptDefinition()
Overrides:
getConceptDefinition in class JavaConcept

select

public SeriesConcept select(ExpressionConcept expression)

matches

public LogicalConcept matches(ExpressionConcept expression)

contains

public LogicalConcept contains(ExpressionConcept expression)

contains

public LogicalConcept contains(StringConcept expression)

_hashCode

public IntegerConcept _hashCode()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class JavaConcept

hasPath

public LogicalConcept hasPath(StringConcept path)
Overrides:
hasPath in class Concept

hasPath

public LogicalConcept hasPath(String path)
Description copied from class: Concept
Returns true if the concept has the specified path or not. By overriding getConceptElements or even this method elements and attributes can dynamically be added to concepts, in fact this is the reason why it is also duplicate here.

The path can be given using standard mn8 navigational patterns (/)? (elementName)? (/elementName)* (@ attributeName)?.

Overrides:
hasPath in class Concept
Parameters:
path - the path to be looked for.
Returns:
true if it exists false otherway.

getConceptsAtPath

public SeriesConcept getConceptsAtPath(StringConcept path)
Overrides:
getConceptsAtPath in class Concept

toString

public String toString()
Overrides:
toString in class Object

toTXT

public StringConcept toTXT()
Overrides:
toTXT in class JavaConcept

toXML

public StringConcept toXML()
Overrides:
toXML in class JavaConcept

clone

public Object clone()
Overrides:
clone in class JavaConcept

charAt

public CharacterConcept charAt(IntegerConcept at)

equals

public LogicalConcept equals(StringConcept str)

equalsIgnoreCase

public LogicalConcept equalsIgnoreCase(StringConcept value)

compareTo

public IntegerConcept compareTo(StringConcept value)

startsWith

public LogicalConcept startsWith(StringConcept value)

startsWith

public LogicalConcept startsWith(StringConcept value,
                                 IntegerConcept offset)

endsWith

public LogicalConcept endsWith(StringConcept value)

indexOf

public IntegerConcept indexOf(StringConcept value)

indexOf

public IntegerConcept indexOf(StringConcept value,
                              IntegerConcept startFrom)

lastIndexOf

public IntegerConcept lastIndexOf(StringConcept value)

lastIndexOf

public IntegerConcept lastIndexOf(StringConcept value,
                                  IntegerConcept startFrom)

substring

public StringConcept substring(IntegerConcept from)

substring

public StringConcept substring(IntegerConcept from,
                               IntegerConcept to)

replace

public StringConcept replace(CharacterConcept oldChar,
                             CharacterConcept newChar)

trim

public StringConcept trim()

toLowerCase

public StringConcept toLowerCase()

toUpperCase

public StringConcept toUpperCase()

getLines

public SeriesConcept getLines()

getTokens

public SeriesConcept getTokens(StringConcept delimiters)

getTokensWithDelimiters

public SeriesConcept getTokensWithDelimiters(StringConcept delimiters)

wrap

public StringConcept wrap()

wrap

public StringConcept wrap(IntegerConcept colon)

wrap

public StringConcept wrap(IntegerConcept colon,
                          StringConcept align)

getLength

public IntegerConcept getLength()

loadContent

public void loadContent(Concept from)
Overrides:
loadContent in class Concept


"Copyright © 2000-2002 Internet Multicasting Services, media.org & noLimits Technologies. All Rights Reserved."