|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.portal.prt.service.soap.types.Token
Description : Class that represents a string that does not contain line feeds, tabs, leading or trailing spaces, or multiple spaces. For further information, please see: http://www.w3.org/TR/2001/WD-xquery-operators-20010827/ Project : soap FileName : Token.java Copyright : SAP Copyright (c) Company : SAP GBU IP
| Constructor Summary | |
Token()
Creates a new Token object. |
|
Token(String content)
Creates a new Token object. |
|
Token(String content,
boolean bool)
Creates a new Token object. |
|
| Method Summary | |
String |
getContent()
|
String |
getContentTokenized()
|
static void |
main(String[] args)
|
void |
setContent(String string)
|
void |
setContentTokenized(String string)
|
String |
tokenize(String s)
tokenizes the string s: eliminates the leading and trailing spaces and replaces the internal sequence of two or more white space by a single one |
static boolean |
validateTokenRepresentation(String s)
validates the lexical representation of s : illegal characters are "line feed", "tab", leading or trailing spaces, internal sequence of two or more spaces. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Token()
public Token(String content)
content - the string data to be normalized
public Token(String content,
boolean bool)
content - the string data to be normalizedbool - a validation parameter: if bool is true, checks the lexical representation of content (illegal characters as Line feed,Tab, leading or trailing spaces, internal sequences of two or more spaces are not allowed)
if bool is false and if the lexical representation has mistakes, illegal characters will be skipped| Method Detail |
public static boolean validateTokenRepresentation(String s)
throws IllegalArgumentException
s -
IllegalArgumentException - if an illegal character is detectedpublic String tokenize(String s)
s -
public static void main(String[] args)
public String getContent()
public String getContentTokenized()
public void setContent(String string)
string - public void setContentTokenized(String string)
string -
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||