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
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 |
StringConcept
public StringConcept()
StringConcept
public StringConcept(String value)
StringConcept
public StringConcept(StringConcept value)
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."