com.sun.xml.internal.xsom.impl.UName Java Examples

The following examples show how to use com.sun.xml.internal.xsom.impl.UName. 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: SCDParser.java    From TencentKona-8 with GNU General Public License v2.0 6 votes vote down vote up
final public Step NameOrWildcard(Axis a) throws ParseException {
                             UName un;
  switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
  case NCNAME:
    un = QName();
             {if (true) return new Step.Named(a,un);}
    break;
  case 45:
    jj_consume_token(45);
             {if (true) return new Step.Any(a);}
    break;
  default:
    jj_la1[17] = jj_gen;
    jj_consume_token(-1);
    throw new ParseException();
  }
  throw new Error("Missing return statement in function");
}
 
Example #2
Source File: SCDParser.java    From openjdk-8 with GNU General Public License v2.0 6 votes vote down vote up
final public Step NameOrWildcard(Axis a) throws ParseException {
                             UName un;
  switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
  case NCNAME:
    un = QName();
             {if (true) return new Step.Named(a,un);}
    break;
  case 45:
    jj_consume_token(45);
             {if (true) return new Step.Any(a);}
    break;
  default:
    jj_la1[17] = jj_gen;
    jj_consume_token(-1);
    throw new ParseException();
  }
  throw new Error("Missing return statement in function");
}
 
Example #3
Source File: SCDParser.java    From jdk8u60 with GNU General Public License v2.0 6 votes vote down vote up
final public Step NameOrWildcard(Axis a) throws ParseException {
                             UName un;
  switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
  case NCNAME:
    un = QName();
             {if (true) return new Step.Named(a,un);}
    break;
  case 45:
    jj_consume_token(45);
             {if (true) return new Step.Any(a);}
    break;
  default:
    jj_la1[17] = jj_gen;
    jj_consume_token(-1);
    throw new ParseException();
  }
  throw new Error("Missing return statement in function");
}
 
Example #4
Source File: SCDParser.java    From jdk8u60 with GNU General Public License v2.0 6 votes vote down vote up
final public UName QName() throws ParseException {
                Token p,l=null;
  p = jj_consume_token(NCNAME);
  switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
  case 15:
    jj_consume_token(15);
    l = jj_consume_token(NCNAME);
    break;
  default:
    jj_la1[0] = jj_gen;
    ;
  }
  if(l==null)
    {if (true) return new UName(resolvePrefix(""),p.image);}
  else
    {if (true) return new UName(resolvePrefix(p.image),l.image);}
  throw new Error("Missing return statement in function");
}
 
Example #5
Source File: SCDParser.java    From hottub with GNU General Public License v2.0 6 votes vote down vote up
final public Step NameOrWildcard(Axis a) throws ParseException {
                             UName un;
  switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
  case NCNAME:
    un = QName();
             {if (true) return new Step.Named(a,un);}
    break;
  case 45:
    jj_consume_token(45);
             {if (true) return new Step.Any(a);}
    break;
  default:
    jj_la1[17] = jj_gen;
    jj_consume_token(-1);
    throw new ParseException();
  }
  throw new Error("Missing return statement in function");
}
 
Example #6
Source File: SCDParser.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 6 votes vote down vote up
final public Step NameOrWildcard(Axis a) throws ParseException {
                             UName un;
  switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
  case NCNAME:
    un = QName();
             {if (true) return new Step.Named(a,un);}
    break;
  case 45:
    jj_consume_token(45);
             {if (true) return new Step.Any(a);}
    break;
  default:
    jj_la1[17] = jj_gen;
    jj_consume_token(-1);
    throw new ParseException();
  }
  throw new Error("Missing return statement in function");
}
 
Example #7
Source File: SCDParser.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 6 votes vote down vote up
final public UName QName() throws ParseException {
                Token p,l=null;
  p = jj_consume_token(NCNAME);
  switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
  case 15:
    jj_consume_token(15);
    l = jj_consume_token(NCNAME);
    break;
  default:
    jj_la1[0] = jj_gen;
    ;
  }
  if(l==null)
    {if (true) return new UName(resolvePrefix(""),p.image);}
  else
    {if (true) return new UName(resolvePrefix(p.image),l.image);}
  throw new Error("Missing return statement in function");
}
 
Example #8
Source File: SCDParser.java    From openjdk-8 with GNU General Public License v2.0 6 votes vote down vote up
final public Step NameOrWildcardOrAnonymous(Axis a) throws ParseException {
                                        UName un;
  switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
  case NCNAME:
    un = QName();
             {if (true) return new Step.Named(a,un);}
    break;
  case 45:
    jj_consume_token(45);
             {if (true) return new Step.Any(a);}
    break;
  case 46:
    jj_consume_token(46);
               {if (true) return new Step.AnonymousType(a);}
    break;
  default:
    jj_la1[18] = jj_gen;
    jj_consume_token(-1);
    throw new ParseException();
  }
  throw new Error("Missing return statement in function");
}
 
Example #9
Source File: DelayedRef.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
protected Object resolveReference( UName name ) {
    Object o = super.schema.getSimpleType(
        name.getNamespaceURI(), name.getName() );
    if(o!=null)     return o;

    return super.schema.getComplexType(
        name.getNamespaceURI(),
        name.getName());
}
 
Example #10
Source File: DelayedRef.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
DelayedRef( PatcherManager _manager, Locator _source, SchemaImpl _schema, UName _name ) {

        this.schema = _schema.getRoot();
        this.manager = _manager;
        this.name = _name;
        this.source = _source;

        if(name==null)  throw new InternalError();

        manager.addPatcher(this);
    }
 
Example #11
Source File: DelayedRef.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
DelayedRef( PatcherManager _manager, Locator _source, SchemaImpl _schema, UName _name ) {

        this.schema = _schema.getRoot();
        this.manager = _manager;
        this.name = _name;
        this.source = _source;

        if(name==null)  throw new InternalError();

        manager.addPatcher(this);
    }
 
Example #12
Source File: DelayedRef.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
protected Object resolveReference( UName name ) {
    Object o = super.schema.getSimpleType(
        name.getNamespaceURI(), name.getName() );
    if(o!=null)     return o;

    return super.schema.getComplexType(
        name.getNamespaceURI(),
        name.getName());
}
 
Example #13
Source File: DelayedRef.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
DelayedRef( PatcherManager _manager, Locator _source, SchemaImpl _schema, UName _name ) {

        this.schema = _schema.getRoot();
        this.manager = _manager;
        this.name = _name;
        this.source = _source;

        if(name==null)  throw new InternalError();

        manager.addPatcher(this);
    }
 
Example #14
Source File: DelayedRef.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
DelayedRef( PatcherManager _manager, Locator _source, SchemaImpl _schema, UName _name ) {

        this.schema = _schema.getRoot();
        this.manager = _manager;
        this.name = _name;
        this.source = _source;

        if(name==null)  throw new InternalError();

        manager.addPatcher(this);
    }
 
Example #15
Source File: DelayedRef.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
DelayedRef( PatcherManager _manager, Locator _source, SchemaImpl _schema, UName _name ) {

        this.schema = _schema.getRoot();
        this.manager = _manager;
        this.name = _name;
        this.source = _source;

        if(name==null)  throw new InternalError();

        manager.addPatcher(this);
    }
 
Example #16
Source File: DelayedRef.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
protected Object resolveReference( UName name ) {
    Object o = super.schema.getSimpleType(
        name.getNamespaceURI(), name.getName() );
    if(o!=null)     return o;

    return super.schema.getComplexType(
        name.getNamespaceURI(),
        name.getName());
}
 
Example #17
Source File: DelayedRef.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
protected Object resolveReference( UName name ) {
    Object o = super.schema.getSimpleType(
        name.getNamespaceURI(), name.getName() );
    if(o!=null)     return o;

    return super.schema.getComplexType(
        name.getNamespaceURI(),
        name.getName());
}
 
Example #18
Source File: DelayedRef.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
protected Object resolveReference( UName name ) {
    return super.schema.getAttributeDecl(
        name.getNamespaceURI(),
        name.getName());
}
 
Example #19
Source File: DelayedRef.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
protected Object resolveReference( UName name ) {
    return super.schema.getAttGroupDecl(
        name.getNamespaceURI(),
        name.getName());
}
 
Example #20
Source File: DelayedRef.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
protected Object resolveReference( UName name ) {
    return super.schema.getComplexType(
        name.getNamespaceURI(),
        name.getName());
}
 
Example #21
Source File: DelayedRef.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
protected Object resolveReference( UName name ) {
    return super.schema.getModelGroupDecl(
        name.getNamespaceURI(),
        name.getName());
}
 
Example #22
Source File: DelayedRef.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
protected Object resolveReference( UName name ) {
    return super.schema.getComplexType(
        name.getNamespaceURI(),
        name.getName());
}
 
Example #23
Source File: DelayedRef.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
public ModelGroup( PatcherManager manager, Locator loc, SchemaImpl schema, UName name ) {
    super(manager,loc,schema,name);
}
 
Example #24
Source File: DelayedRef.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
protected Object resolveReference( UName name ) {
    return super.schema.getElementDecl(
        name.getNamespaceURI(),
        name.getName());
}
 
Example #25
Source File: DelayedRef.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
protected Object resolveReference( UName name ) {
    return super.schema.getIdentityConstraint(
        name.getNamespaceURI(),
        name.getName());
}
 
Example #26
Source File: DelayedRef.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
protected Object resolveReference( UName name ) {
    return super.schema.getComplexType(
        name.getNamespaceURI(),
        name.getName());
}
 
Example #27
Source File: DelayedRef.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
public ComplexType( PatcherManager manager, Locator loc, SchemaImpl schema, UName name ) {
    super(manager,loc,schema,name);
}
 
Example #28
Source File: DelayedRef.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
protected Object resolveReference( UName name ) {
    return super.schema.getSimpleType(
        name.getNamespaceURI(),
        name.getName());
}
 
Example #29
Source File: DelayedRef.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
public SimpleType( PatcherManager manager, Locator loc, SchemaImpl schema, UName name ) {
    super(manager,loc,schema,name);
}
 
Example #30
Source File: DelayedRef.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
public Type( PatcherManager manager, Locator loc, SchemaImpl schema, UName name ) {
    super(manager,loc,schema,name);
}