Java Code Examples for org.relaxng.datatype.ValidationContext

The following examples show how to use org.relaxng.datatype.ValidationContext. These examples are extracted from open source projects. 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 Project: TencentKona-8   Source File: XmlString.java    License: GNU General Public License v2.0 5 votes vote down vote up
/**
 * Creates a new {@link XmlString} from a lexical representation and in-scope namespaces.
 */
public XmlString(String value, ValidationContext context) {
    this.value = value;
    this.context = context;
    if(context==null)
        throw new IllegalArgumentException();
}
 
Example 2
Source Project: jdk8u60   Source File: XmlString.java    License: GNU General Public License v2.0 5 votes vote down vote up
/**
 * Creates a new {@link XmlString} from a lexical representation and in-scope namespaces.
 */
public XmlString(String value, ValidationContext context) {
    this.value = value;
    this.context = context;
    if(context==null)
        throw new IllegalArgumentException();
}
 
Example 3
Source Project: openjdk-jdk8u   Source File: XmlString.java    License: GNU General Public License v2.0 5 votes vote down vote up
/**
 * Creates a new {@link XmlString} from a lexical representation and in-scope namespaces.
 */
public XmlString(String value, ValidationContext context) {
    this.value = value;
    this.context = context;
    if(context==null)
        throw new IllegalArgumentException();
}
 
Example 4
/**
 * Creates a new {@link XmlString} from a lexical representation and in-scope namespaces.
 */
public XmlString(String value, ValidationContext context) {
    this.value = value;
    this.context = context;
    if(context==null)
        throw new IllegalArgumentException();
}
 
Example 5
Source Project: hottub   Source File: XmlString.java    License: GNU General Public License v2.0 5 votes vote down vote up
/**
 * Creates a new {@link XmlString} from a lexical representation and in-scope namespaces.
 */
public XmlString(String value, ValidationContext context) {
    this.value = value;
    this.context = context;
    if(context==null)
        throw new IllegalArgumentException();
}
 
Example 6
Source Project: openjdk-8-source   Source File: XmlString.java    License: GNU General Public License v2.0 5 votes vote down vote up
/**
 * Creates a new {@link XmlString} from a lexical representation and in-scope namespaces.
 */
public XmlString(String value, ValidationContext context) {
    this.value = value;
    this.context = context;
    if(context==null)
        throw new IllegalArgumentException();
}
 
Example 7
Source Project: openjdk-8   Source File: XmlString.java    License: GNU General Public License v2.0 5 votes vote down vote up
/**
 * Creates a new {@link XmlString} from a lexical representation and in-scope namespaces.
 */
public XmlString(String value, ValidationContext context) {
    this.value = value;
    this.context = context;
    if(context==null)
        throw new IllegalArgumentException();
}
 
Example 8
Source Project: jolie   Source File: XmlString.java    License: GNU Lesser General Public License v2.1 5 votes vote down vote up
/**
 * Creates a new {@link XmlString} from a lexical representation and in-scope namespaces.
 */
public XmlString(String value, ValidationContext context) {
    this.value = value;
    this.context = context;
    if(context==null)
        throw new IllegalArgumentException();
}
 
Example 9
public void addParameter(String name,
                         String value,
                         ValidationContext context) throws DatatypeException {
  throw new DatatypeException(localizer.message("builtin_param"));
}
 
Example 10
ValidationContextImpl(ValidationContext vc, String ns) {
    this.vc = vc;
    this.ns = ns.length() == 0 ? null : ns;
}
 
Example 11
Source Project: TencentKona-8   Source File: NGCCRuntimeEx.java    License: GNU General Public License v2.0 4 votes vote down vote up
/** Returns an immutable snapshot of the current context. */
public ValidationContext createValidationContext() {
    return currentContext;
}
 
Example 12
public ForeignAttributesImpl(ValidationContext context, Locator locator, ForeignAttributesImpl next) {
    this.context = context;
    this.locator = locator;
    this.next = next;
}
 
Example 13
public ValidationContext getContext() {
    return context;
}
 
Example 14
public void addParameter(String name,
                         String value,
                         ValidationContext context) throws DatatypeException {
  throw new DatatypeException(localizer.message("builtin_param"));
}
 
Example 15
Source Project: jdk8u60   Source File: SchemaBuilderImpl.java    License: GNU General Public License v2.0 4 votes vote down vote up
ValidationContextImpl(ValidationContext vc, String ns) {
    this.vc = vc;
    this.ns = ns.length() == 0 ? null : ns;
}
 
Example 16
Source Project: jdk8u60   Source File: NGCCRuntimeEx.java    License: GNU General Public License v2.0 4 votes vote down vote up
/** Returns an immutable snapshot of the current context. */
public ValidationContext createValidationContext() {
    return currentContext;
}
 
Example 17
public ForeignAttributesImpl(ValidationContext context, Locator locator, ForeignAttributesImpl next) {
    this.context = context;
    this.locator = locator;
    this.next = next;
}
 
Example 18
public ValidationContext getContext() {
    return context;
}
 
Example 19
public void addParameter(String name,
                         String value,
                         ValidationContext context) throws DatatypeException {
  throw new DatatypeException(localizer.message("builtin_param"));
}
 
Example 20
ValidationContextImpl(ValidationContext vc, String ns) {
    this.vc = vc;
    this.ns = ns.length() == 0 ? null : ns;
}
 
Example 21
Source Project: openjdk-jdk8u   Source File: NGCCRuntimeEx.java    License: GNU General Public License v2.0 4 votes vote down vote up
/** Returns an immutable snapshot of the current context. */
public ValidationContext createValidationContext() {
    return currentContext;
}
 
Example 22
public ForeignAttributesImpl(ValidationContext context, Locator locator, ForeignAttributesImpl next) {
    this.context = context;
    this.locator = locator;
    this.next = next;
}
 
Example 23
public ValidationContext getContext() {
    return context;
}
 
Example 24
public void addParameter(String name,
                         String value,
                         ValidationContext context) throws DatatypeException {
  throw new DatatypeException(localizer.message("builtin_param"));
}
 
Example 25
ValidationContextImpl(ValidationContext vc, String ns) {
    this.vc = vc;
    this.ns = ns.length() == 0 ? null : ns;
}
 
Example 26
/** Returns an immutable snapshot of the current context. */
public ValidationContext createValidationContext() {
    return currentContext;
}
 
Example 27
public ForeignAttributesImpl(ValidationContext context, Locator locator, ForeignAttributesImpl next) {
    this.context = context;
    this.locator = locator;
    this.next = next;
}
 
Example 28
public ValidationContext getContext() {
    return context;
}
 
Example 29
public void addParameter(String name,
                         String value,
                         ValidationContext context) throws DatatypeException {
  throw new DatatypeException(localizer.message("builtin_param"));
}
 
Example 30
Source Project: hottub   Source File: SchemaBuilderImpl.java    License: GNU General Public License v2.0 4 votes vote down vote up
ValidationContextImpl(ValidationContext vc, String ns) {
    this.vc = vc;
    this.ns = ns.length() == 0 ? null : ns;
}