com.bea.schema.type
Class PrimitiveString
java.lang.Object
|
+--com.bea.schema.SOMObject
|
+--com.bea.schema.type.SOMType
|
+--com.bea.schema.type.SOMElementalType
|
+--com.bea.schema.type.PrimitiveString
- Direct Known Subclasses:
- DerivedCDATA, DerivedNormalizedString
- public class PrimitiveString
- extends SOMElementalType
The string datatype represents character
strings in XML. The value space of string is the set of
finite-length sequences of characters (as defined in
[XML 1.0 Recommendation (Second Edition)]) that match
the Char production from [XML 1.0 Recommendation (Second
Edition)]. A character is an atomic unit of communication;
it is not further specified except to note that every
character has a corresponding Universal Code Set code point
([ISO 10646], [Unicode] and [Unicode3]), which is an integer.
string has the following constraining facets:
- length
- minLength
- maxLength
- pattern
- enumeration
- whiteSpace
- Author:
- Copyright © 2000, 2001 BEA Systems, Inc. All Rights Reserved.
- See Also:
- W3C XML Schema String, Serialized Form
Fields inherited from class com.bea.schema.type.SOMType |
ANYURI,
BASE64BINARY,
BINARY,
BOOLEAN,
BYTE,
CDATA,
CENTURY,
DATE,
DATETIME,
DECIMAL,
DOUBLE,
DURATION,
ENTITIES,
ENTITY,
FLOAT,
GDAY,
GMONTH,
GMONTHDAY,
GYEAR,
GYEARMONTH,
HEXBINARY,
ID,
IDREF,
IDREFS,
INT,
INTEGER,
LANGUAGE,
LONG,
MONTH,
NAME,
NCNAME,
NEGATIVEINTEGER,
NMTOKEN,
NMTOKENS,
NONNEGATIVEINTEGER,
NONPOSITIVEINTEGER,
NORMALIZEDSTRING,
NOTATION,
NUMBER,
POSITIVEINTEGER,
QNAME,
RECURRINGDATE,
RECURRINGDAY,
RECURRINGDURATION,
SHORT,
STRING,
TIME,
TIMEDURATION,
TIMEINSTANT,
TIMEPERIOD,
TOKEN,
UNSIGNEDBYTE,
UNSIGNEDINT,
UNSIGNEDLONG,
UNSIGNEDSHORT,
URIREFERENCE,
YEAR |
Methods inherited from class com.bea.schema.SOMObject |
addChild,
attributesToXML,
doIndent,
getID_UQ,
getParent,
getParentSchema,
isCircularReference,
setIndent,
setParent,
toString,
toXML,
toXML,
toXML,
trace,
trace |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
PrimitiveString
public PrimitiveString()
getID
public java.lang.String getID()
- Overrides:
- getID in class SOMObject
getAllowedFacets
public java.util.Vector getAllowedFacets()
- Overrides:
- getAllowedFacets in class SOMType
createDefault
public java.lang.String createDefault(java.util.Map restrictions)
- Overrides:
- createDefault in class SOMElementalType
isValid
public boolean isValid(java.lang.String value,
java.util.Map restrictions)
- Overrides:
- isValid in class SOMElementalType
WebLogic Integration (WLI)