Package com.sun.xml.fastinfoset.types
Class LexicalSpaceConvertor
java.lang.Object
com.sun.xml.fastinfoset.types.LexicalSpaceConvertor
Convertor from lexical space to value space.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Object
convertToValueSpace
(Set<XSDataType> types, char[] ch, int start, int length, LexicalSpaceConvertor.LexicalPreference preference) static Object
convertToValueSpace
(Set<XSDataType> types, String s, LexicalSpaceConvertor.LexicalPreference preference) private static char[]
validateCharactersWithAlphabet
(String alphabet, char[] ch, int start, int length)
-
Constructor Details
-
LexicalSpaceConvertor
private LexicalSpaceConvertor()
-
-
Method Details
-
convertToValueSpace
public static Object convertToValueSpace(Set<XSDataType> types, String s, LexicalSpaceConvertor.LexicalPreference preference) -
convertToValueSpace
public static Object convertToValueSpace(Set<XSDataType> types, char[] ch, int start, int length, LexicalSpaceConvertor.LexicalPreference preference) -
validateCharactersWithAlphabet
private static char[] validateCharactersWithAlphabet(String alphabet, char[] ch, int start, int length)
-