public static String replace(String str) { return theReplace.process(str); } public static String collapse(String str) {
public static String replace(String str) { return theReplace.process(str); } public static String collapse(String str) {
public static String collapse(String str) { return theCollapse.process(str); }
public static String replace(String str) { return theReplace.process(str); } public static String collapse(String str) {
public static String collapse(String str) { return theCollapse.process(str); }
final public void checkValid(String content, ValidationContext context) throws DatatypeException { _checkValid(whiteSpace.process(content),context); }
final public Object createValue( String lexicalValue, ValidationContext context ) { return _createValue(whiteSpace.process(lexicalValue),context); }
final public Object createValue( String lexicalValue, ValidationContext context ) { return _createValue(whiteSpace.process(lexicalValue),context); }
final public Object createValue( String lexicalValue, ValidationContext context ) { return _createValue(whiteSpace.process(lexicalValue),context); }
final public Object createJavaObject( String literal, ValidationContext context ) { return _createJavaObject(whiteSpace.process(literal),context); }
/** * returns a WhiteSpaceProcessor object if "whiteSpace" facet is specified. * Otherwise returns null. */ protected static WhiteSpaceProcessor get(String name) throws DatatypeException { name = theCollapse.process(name); if (name.equals("preserve")) return thePreserve; if (name.equals("collapse")) return theCollapse; if (name.equals("replace")) return theReplace; throw new DatatypeException(XSDatatypeImpl.localize(XSDatatypeImpl.ERR_INVALID_WHITESPACE_VALUE, name)); }
/** * returns a WhiteSpaceProcessor object if "whiteSpace" facet is specified. * Otherwise returns null. */ protected static WhiteSpaceProcessor get(String name) throws DatatypeException { name = theCollapse.process(name); if (name.equals("preserve")) return thePreserve; if (name.equals("collapse")) return theCollapse; if (name.equals("replace")) return theReplace; throw new DatatypeException(XSDatatypeImpl.localize(XSDatatypeImpl.ERR_INVALID_WHITESPACE_VALUE, name)); }
/** * returns a WhiteSpaceProcessor object if "whiteSpace" facet is specified. * Otherwise returns null. */ protected static WhiteSpaceProcessor get(String name) throws DatatypeException { name = theCollapse.process(name); if (name.equals("preserve")) return thePreserve; if (name.equals("collapse")) return theCollapse; if (name.equals("replace")) return theReplace; throw new DatatypeException(XSDatatypeImpl.localize(XSDatatypeImpl.ERR_INVALID_WHITESPACE_VALUE, name)); }
/** * returns a WhiteSpaceProcessor object if "whiteSpace" facet is specified. * Otherwise returns null. */ protected static WhiteSpaceProcessor get(String name) throws DatatypeException { name = theCollapse.process(name); if (name.equals("preserve")) return thePreserve; if (name.equals("collapse")) return theCollapse; if (name.equals("replace")) return theReplace; throw new DatatypeException(XSDatatypeImpl.localize(XSDatatypeImpl.ERR_INVALID_WHITESPACE_VALUE, name)); }
/** * returns a WhiteSpaceProcessor object if "whiteSpace" facet is specified. * Otherwise returns null. */ protected static WhiteSpaceProcessor get(String name) throws DatatypeException { name = theCollapse.process(name); if (name.equals("preserve")) return thePreserve; if (name.equals("collapse")) return theCollapse; if (name.equals("replace")) return theReplace; throw new DatatypeException(XSDatatypeImpl.localize(XSDatatypeImpl.ERR_INVALID_WHITESPACE_VALUE, name)); }
final public boolean isValid( String literal, ValidationContext context ) { // step.1 white space processing literal = whiteSpace.process(literal); if( needValueCheck() ) // constraint facet that needs computation of value is specified. return _createValue(literal,context)!=null; else // lexical validation is enough. return checkFormat(literal,context); }
final public boolean isValid( String literal, ValidationContext context ) { // step.1 white space processing literal = whiteSpace.process(literal); if( needValueCheck() ) // constraint facet that needs computation of value is specified. return _createValue(literal,context)!=null; else // lexical validation is enough. return checkFormat(literal,context); }
final public boolean isValid( String literal, ValidationContext context ) { // step.1 white space processing literal = whiteSpace.process(literal); if( needValueCheck() ) // constraint facet that needs computation of value is specified. return _createValue(literal,context)!=null; else // lexical validation is enough. return checkFormat(literal,context); }
final public boolean isValid( String literal, ValidationContext context ) { // step.1 white space processing literal = whiteSpace.process(literal); if( needValueCheck() ) // constraint facet that needs computation of value is specified. return _createValue(literal,context)!=null; else // lexical validation is enough. return checkFormat(literal,context); }
final public boolean isValid( String literal, ValidationContext context ) { // step.1 white space processing literal = whiteSpace.process(literal); if( needValueCheck() ) // constraint facet that needs computation of value is specified. return _createValue(literal,context)!=null; else // lexical validation is enough. return checkFormat(literal,context); }