|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.sapportals.portal.prt.service.soap.types.NormalizedString
Title : SAP Entreprise Portal EP6.0
Description: Type String normalized which to allow to encode the xml data (tags) under string form
whit the XML characters enconded
For further information, please see; http://www.w3.org/TR/2001/WD-xquery-operators-20010827/
Project : soap
FileName : NormalizedString.java
Copyright : SAP Copyright (c) 2003
Company : SAP GBU IP
| Constructor Summary | |
NormalizedString()
Creates a new NormalizedString object. |
|
NormalizedString(java.lang.String content)
Creates a new NormalizedString object. |
|
NormalizedString(java.lang.String content,
boolean bool)
Creates a new NormalizedString object. |
|
| Method Summary | |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getContentNoNormalized()
return the string wihtout normalization |
java.lang.String |
getContentNormalized()
return the string wiht the normalization |
void |
setContentNoNormalized(java.lang.String content)
set the content no normalized and if the content normalized equals at null it is initialized |
void |
setContentNormalized(java.lang.String content)
set the content normalized and if the content no normalized equals at null it is initialized |
java.lang.String |
toString()
|
static boolean |
validateNormalizedStringRepresentation(java.lang.String s)
validates the lexical representation of s : illegal characters are "carriage return", "Line feed" nor "tab", see http://www.w3.org/2001/05/xmlschema-errata#Errata2 |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public NormalizedString()
public NormalizedString(java.lang.String content)
content - the string data no normalized
public NormalizedString(java.lang.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 Carriage return, Line feed or Tab are not allowed)
if bool is false and if the lexical representation has mistakes, illegal characters will be skippedjava.lang.IllegalArgumentException - if illegal character is detected| Method Detail |
public java.lang.String getContentNoNormalized()
public java.lang.String getContentNormalized()
public void setContentNoNormalized(java.lang.String content)
content - the value to affectpublic void setContentNormalized(java.lang.String content)
content - the value to affectpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
public static boolean validateNormalizedStringRepresentation(java.lang.String s)
throws java.lang.IllegalArgumentException
s - java.lang.IllegalArgumentException - if illegal character is detected
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||