org.relaxng.datatype.Datatype Java Examples

The following examples show how to use org.relaxng.datatype.Datatype. 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: PatternWalker.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
public void visitDataExcept(Datatype dt, Pattern except) {
}
 
Example #2
Source File: SchemaPatternBuilder.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
Pattern makeValue(Datatype dt, Object obj) {
  noteDatatype(dt);
  Pattern p = new ValuePattern(dt, obj);
  return schemaInterner.intern(p);
}
 
Example #3
Source File: PatternWalker.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
public void visitDataExcept(Datatype dt, Pattern except) {
}
 
Example #4
Source File: DataExceptPattern.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
DataExceptPattern(Datatype dt, Pattern except, Locator loc) {
  super(dt);
  this.except = except;
  this.loc = loc;
}
 
Example #5
Source File: SchemaPatternBuilder.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
Pattern makeDataExcept(Datatype dt, Pattern except, Locator loc) {
  noteDatatype(dt);
  Pattern p = new DataExceptPattern(dt, except, loc);
  return schemaInterner.intern(p);
}
 
Example #6
Source File: PatternWalker.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public void visitDataExcept(Datatype dt, Pattern except) {
}
 
Example #7
Source File: ValuePattern.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
Datatype getDatatype() {
  return dt;
}
 
Example #8
Source File: BuiltinDatatypeBuilder.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
BuiltinDatatypeBuilder(Datatype dt) {
  this.dt = dt;
}
 
Example #9
Source File: ValuePattern.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
ValuePattern(Datatype dt, Object obj) {
  super(combineHashCode(VALUE_HASH_CODE, obj.hashCode()));
  this.dt = dt;
  this.obj = obj;
}
 
Example #10
Source File: PatternWalker.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
public void visitData(Datatype dt) {
}
 
Example #11
Source File: CompatibilityDatatypeLibrary.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
public Datatype createDatatype(String type) throws DatatypeException {
    return createDatatypeBuilder(type).createDatatype();
}
 
Example #12
Source File: DataPattern.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
Datatype getDatatype() {
  return dt;
}
 
Example #13
Source File: BuiltinDatatypeBuilder.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public Datatype createDatatype() {
  return dt;
}
 
Example #14
Source File: PatternWalker.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
public void visitDataExcept(Datatype dt, Pattern except) {
}
 
Example #15
Source File: PatternWalker.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
public void visitValue(Datatype dt, Object obj) {
}
 
Example #16
Source File: BuiltinDatatypeLibrary.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public Datatype createDatatype(String type) throws DatatypeException {
    return createDatatypeBuilder(type).createDatatype();
}
 
Example #17
Source File: BuiltinDatatypeLibrary.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
public Datatype createDatatype(String type) throws DatatypeException {
    return createDatatypeBuilder(type).createDatatype();
}
 
Example #18
Source File: DataExceptPattern.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
DataExceptPattern(Datatype dt, Pattern except, Locator loc) {
  super(dt);
  this.except = except;
  this.loc = loc;
}
 
Example #19
Source File: ValuePattern.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
ValuePattern(Datatype dt, Object obj) {
  super(combineHashCode(VALUE_HASH_CODE, obj.hashCode()));
  this.dt = dt;
  this.obj = obj;
}
 
Example #20
Source File: DataPattern.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
Datatype getDatatype() {
  return dt;
}
 
Example #21
Source File: ValuePattern.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
Datatype getDatatype() {
  return dt;
}
 
Example #22
Source File: ValuePattern.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
ValuePattern(Datatype dt, Object obj) {
  super(combineHashCode(VALUE_HASH_CODE, obj.hashCode()));
  this.dt = dt;
  this.obj = obj;
}
 
Example #23
Source File: SchemaPatternBuilder.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
private void noteDatatype(Datatype dt) {
  if (dt.getIdType() != Datatype.ID_TYPE_NULL)
    idTypes = true;
}
 
Example #24
Source File: SchemaPatternBuilder.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
Pattern makeDataExcept(Datatype dt, Pattern except, Locator loc) {
  noteDatatype(dt);
  Pattern p = new DataExceptPattern(dt, except, loc);
  return schemaInterner.intern(p);
}
 
Example #25
Source File: SchemaPatternBuilder.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
Pattern makeData(Datatype dt) {
  noteDatatype(dt);
  Pattern p = new DataPattern(dt);
  return schemaInterner.intern(p);
}
 
Example #26
Source File: CompatibilityDatatypeLibrary.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
public Datatype createDatatype(String type) throws DatatypeException {
    return createDatatypeBuilder(type).createDatatype();
}
 
Example #27
Source File: SchemaPatternBuilder.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
private void noteDatatype(Datatype dt) {
  if (dt.getIdType() != Datatype.ID_TYPE_NULL)
    idTypes = true;
}
 
Example #28
Source File: BuiltinDatatypeBuilder.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
public Datatype createDatatype() {
  return dt;
}
 
Example #29
Source File: BuiltinDatatypeBuilder.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
BuiltinDatatypeBuilder(Datatype dt) {
  this.dt = dt;
}
 
Example #30
Source File: PatternWalker.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
public void visitValue(Datatype dt, Object obj) {
}