Java Code Examples for com.sun.org.apache.xerces.internal.util.XMLChar#isValidNmtoken()
The following examples show how to use
com.sun.org.apache.xerces.internal.util.XMLChar#isValidNmtoken() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: XMLDTDProcessor.java From jdk1.8-source-analysis with Apache License 2.0 | 4 votes |
protected boolean isValidNmtoken(String nmtoken) { return XMLChar.isValidNmtoken(nmtoken); }
Example 2
Source File: XMLDTDProcessor.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
protected boolean isValidNmtoken(String nmtoken) { return XMLChar.isValidNmtoken(nmtoken); }
Example 3
Source File: XMLDTDProcessor.java From hottub with GNU General Public License v2.0 | 4 votes |
protected boolean isValidNmtoken(String nmtoken) { return XMLChar.isValidNmtoken(nmtoken); }
Example 4
Source File: XMLDTDProcessor.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
protected boolean isValidNmtoken(String nmtoken) { return XMLChar.isValidNmtoken(nmtoken); }
Example 5
Source File: XMLDTDProcessor.java From Bytecoder with Apache License 2.0 | 4 votes |
protected boolean isValidNmtoken(String nmtoken) { return XMLChar.isValidNmtoken(nmtoken); }
Example 6
Source File: XMLDTDProcessor.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 4 votes |
protected boolean isValidNmtoken(String nmtoken) { return XMLChar.isValidNmtoken(nmtoken); }
Example 7
Source File: XMLDTDProcessor.java From openjdk-jdk8u with GNU General Public License v2.0 | 4 votes |
protected boolean isValidNmtoken(String nmtoken) { return XMLChar.isValidNmtoken(nmtoken); }
Example 8
Source File: XMLDTDProcessor.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
protected boolean isValidNmtoken(String nmtoken) { return XMLChar.isValidNmtoken(nmtoken); }
Example 9
Source File: XMLDTDProcessor.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
protected boolean isValidNmtoken(String nmtoken) { return XMLChar.isValidNmtoken(nmtoken); }
Example 10
Source File: XMLDTDProcessor.java From TencentKona-8 with GNU General Public License v2.0 | 4 votes |
protected boolean isValidNmtoken(String nmtoken) { return XMLChar.isValidNmtoken(nmtoken); }
Example 11
Source File: NMTOKENDatatypeValidator.java From openjdk-jdk8u with GNU General Public License v2.0 | 2 votes |
/** * Checks that "content" string is valid NMTOKEN value. * If invalid a Datatype validation exception is thrown. * * @param content the string value that needs to be validated * @param context the validation context * @throws InvalidDatatypeException if the content is * invalid according to the rules for the validators * @see InvalidDatatypeValueException */ public void validate(String content, ValidationContext context) throws InvalidDatatypeValueException { if (!XMLChar.isValidNmtoken(content)) { throw new InvalidDatatypeValueException("NMTOKENInvalid", new Object[]{content}); } }
Example 12
Source File: NMTOKENDatatypeValidator.java From JDKSourceCode1.8 with MIT License | 2 votes |
/** * Checks that "content" string is valid NMTOKEN value. * If invalid a Datatype validation exception is thrown. * * @param content the string value that needs to be validated * @param context the validation context * @throws InvalidDatatypeException if the content is * invalid according to the rules for the validators * @see InvalidDatatypeValueException */ public void validate(String content, ValidationContext context) throws InvalidDatatypeValueException { if (!XMLChar.isValidNmtoken(content)) { throw new InvalidDatatypeValueException("NMTOKENInvalid", new Object[]{content}); } }
Example 13
Source File: NMTOKENDatatypeValidator.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 2 votes |
/** * Checks that "content" string is valid NMTOKEN value. * If invalid a Datatype validation exception is thrown. * * @param content the string value that needs to be validated * @param context the validation context * @throws InvalidDatatypeException if the content is * invalid according to the rules for the validators * @see InvalidDatatypeValueException */ public void validate(String content, ValidationContext context) throws InvalidDatatypeValueException { if (!XMLChar.isValidNmtoken(content)) { throw new InvalidDatatypeValueException("NMTOKENInvalid", new Object[]{content}); } }
Example 14
Source File: NMTOKENDatatypeValidator.java From Bytecoder with Apache License 2.0 | 2 votes |
/** * Checks that "content" string is valid NMTOKEN value. * If invalid a Datatype validation exception is thrown. * * @param content the string value that needs to be validated * @param context the validation context * @throws InvalidDatatypeException if the content is * invalid according to the rules for the validators * @see InvalidDatatypeValueException */ public void validate(String content, ValidationContext context) throws InvalidDatatypeValueException { if (!XMLChar.isValidNmtoken(content)) { throw new InvalidDatatypeValueException("NMTOKENInvalid", new Object[]{content}); } }
Example 15
Source File: NMTOKENDatatypeValidator.java From jdk8u60 with GNU General Public License v2.0 | 2 votes |
/** * Checks that "content" string is valid NMTOKEN value. * If invalid a Datatype validation exception is thrown. * * @param content the string value that needs to be validated * @param context the validation context * @throws InvalidDatatypeException if the content is * invalid according to the rules for the validators * @see InvalidDatatypeValueException */ public void validate(String content, ValidationContext context) throws InvalidDatatypeValueException { if (!XMLChar.isValidNmtoken(content)) { throw new InvalidDatatypeValueException("NMTOKENInvalid", new Object[]{content}); } }
Example 16
Source File: NMTOKENDatatypeValidator.java From openjdk-jdk9 with GNU General Public License v2.0 | 2 votes |
/** * Checks that "content" string is valid NMTOKEN value. * If invalid a Datatype validation exception is thrown. * * @param content the string value that needs to be validated * @param context the validation context * @throws InvalidDatatypeException if the content is * invalid according to the rules for the validators * @see InvalidDatatypeValueException */ public void validate(String content, ValidationContext context) throws InvalidDatatypeValueException { if (!XMLChar.isValidNmtoken(content)) { throw new InvalidDatatypeValueException("NMTOKENInvalid", new Object[]{content}); } }
Example 17
Source File: NMTOKENDatatypeValidator.java From hottub with GNU General Public License v2.0 | 2 votes |
/** * Checks that "content" string is valid NMTOKEN value. * If invalid a Datatype validation exception is thrown. * * @param content the string value that needs to be validated * @param context the validation context * @throws InvalidDatatypeException if the content is * invalid according to the rules for the validators * @see InvalidDatatypeValueException */ public void validate(String content, ValidationContext context) throws InvalidDatatypeValueException { if (!XMLChar.isValidNmtoken(content)) { throw new InvalidDatatypeValueException("NMTOKENInvalid", new Object[]{content}); } }
Example 18
Source File: NMTOKENDatatypeValidator.java From TencentKona-8 with GNU General Public License v2.0 | 2 votes |
/** * Checks that "content" string is valid NMTOKEN value. * If invalid a Datatype validation exception is thrown. * * @param content the string value that needs to be validated * @param context the validation context * @throws InvalidDatatypeException if the content is * invalid according to the rules for the validators * @see InvalidDatatypeValueException */ public void validate(String content, ValidationContext context) throws InvalidDatatypeValueException { if (!XMLChar.isValidNmtoken(content)) { throw new InvalidDatatypeValueException("NMTOKENInvalid", new Object[]{content}); } }
Example 19
Source File: NMTOKENDatatypeValidator.java From openjdk-8 with GNU General Public License v2.0 | 2 votes |
/** * Checks that "content" string is valid NMTOKEN value. * If invalid a Datatype validation exception is thrown. * * @param content the string value that needs to be validated * @param context the validation context * @throws InvalidDatatypeException if the content is * invalid according to the rules for the validators * @see InvalidDatatypeValueException */ public void validate(String content, ValidationContext context) throws InvalidDatatypeValueException { if (!XMLChar.isValidNmtoken(content)) { throw new InvalidDatatypeValueException("NMTOKENInvalid", new Object[]{content}); } }
Example 20
Source File: NMTOKENDatatypeValidator.java From jdk1.8-source-analysis with Apache License 2.0 | 2 votes |
/** * Checks that "content" string is valid NMTOKEN value. * If invalid a Datatype validation exception is thrown. * * @param content the string value that needs to be validated * @param context the validation context * @throws InvalidDatatypeException if the content is * invalid according to the rules for the validators * @see InvalidDatatypeValueException */ public void validate(String content, ValidationContext context) throws InvalidDatatypeValueException { if (!XMLChar.isValidNmtoken(content)) { throw new InvalidDatatypeValueException("NMTOKENInvalid", new Object[]{content}); } }