org.relaxng.datatype.ValidationContext Java Examples

The following examples show how to use org.relaxng.datatype.ValidationContext. 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: XmlString.java    From openjdk-jdk8u-backup with 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 File: XmlString.java    From jolie with 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 #3
Source File: XmlString.java    From openjdk-8 with 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
Source File: XmlString.java    From openjdk-8-source with 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 #5
Source File: XmlString.java    From hottub with 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 File: XmlString.java    From openjdk-jdk8u with 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 File: XmlString.java    From jdk8u60 with 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 File: XmlString.java    From TencentKona-8 with 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 #9
Source File: NGCCRuntimeEx.java    From TencentKona-8 with 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 #10
Source File: SchemaBuilderImpl.java    From hottub with 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 #11
Source File: NGCCRuntimeEx.java    From hottub with 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
Source File: ForeignAttributesImpl.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
public ForeignAttributesImpl(ValidationContext context, Locator locator, ForeignAttributesImpl next) {
    this.context = context;
    this.locator = locator;
    this.next = next;
}
 
Example #13
Source File: ForeignAttributesImpl.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
public ValidationContext getContext() {
    return context;
}
 
Example #14
Source File: ForeignAttributesImpl.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
public ForeignAttributesImpl(ValidationContext context, Locator locator, ForeignAttributesImpl next) {
    this.context = context;
    this.locator = locator;
    this.next = next;
}
 
Example #15
Source File: BuiltinDatatypeBuilder.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
public void addParameter(String name,
                         String value,
                         ValidationContext context) throws DatatypeException {
  throw new DatatypeException(localizer.message("builtin_param"));
}
 
Example #16
Source File: SchemaBuilderImpl.java    From openjdk-8-source with 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 #17
Source File: NGCCRuntimeEx.java    From openjdk-8-source with 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 #18
Source File: ForeignAttributesImpl.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
public ForeignAttributesImpl(ValidationContext context, Locator locator, ForeignAttributesImpl next) {
    this.context = context;
    this.locator = locator;
    this.next = next;
}
 
Example #19
Source File: ForeignAttributesImpl.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
public ValidationContext getContext() {
    return context;
}
 
Example #20
Source File: SchemaBuilderImpl.java    From jdk8u60 with 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 #21
Source File: BuiltinDatatypeBuilder.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
public void addParameter(String name,
                         String value,
                         ValidationContext context) throws DatatypeException {
  throw new DatatypeException(localizer.message("builtin_param"));
}
 
Example #22
Source File: SchemaBuilderImpl.java    From openjdk-8 with 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 #23
Source File: NGCCRuntimeEx.java    From openjdk-8 with 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 #24
Source File: ForeignAttributesImpl.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
public ForeignAttributesImpl(ValidationContext context, Locator locator, ForeignAttributesImpl next) {
    this.context = context;
    this.locator = locator;
    this.next = next;
}
 
Example #25
Source File: ForeignAttributesImpl.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
public ValidationContext getContext() {
    return context;
}
 
Example #26
Source File: NGCCRuntimeEx.java    From jolie with GNU Lesser General Public License v2.1 4 votes vote down vote up
/** Returns an immutable snapshot of the current context. */
public ValidationContext createValidationContext() {
    return currentContext;
}
 
Example #27
Source File: ForeignAttributesImpl.java    From jolie with GNU Lesser General Public License v2.1 4 votes vote down vote up
public ForeignAttributesImpl(ValidationContext context, Locator locator, ForeignAttributesImpl next) {
    this.context = context;
    this.locator = locator;
    this.next = next;
}
 
Example #28
Source File: ForeignAttributesImpl.java    From jolie with GNU Lesser General Public License v2.1 4 votes vote down vote up
public ValidationContext getContext() {
    return context;
}
 
Example #29
Source File: SchemaBuilderImpl.java    From TencentKona-8 with 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 #30
Source File: ForeignAttributesImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
public ForeignAttributesImpl(ValidationContext context, Locator locator, ForeignAttributesImpl next) {
    this.context = context;
    this.locator = locator;
    this.next = next;
}