public final CNonElement getTarget() { CNonElement r = type.getInfo(); assert r!=null; return r; }
public final CNonElement getTarget() { CNonElement r = type.getInfo(); assert r!=null; return r; }
public final CNonElement getTarget() { CNonElement r = type.getInfo(); assert r!=null; return r; }
public final CNonElement getTarget() { CNonElement r = type.getInfo(); assert r!=null; return r; }
public static TypeUse makeMimeTyped( TypeUse t, MimeType mt ) { if(t.getExpectedMimeType()!=null) // I don't think we let users tweak the idness, so // this error must indicate an inconsistency within the RI/spec. throw new IllegalStateException(); return new TypeUseImpl( t.getInfo(), t.isCollection(), t.idUse(), mt, t.getAdapterUse() ); }
public static TypeUse makeMimeTyped( TypeUse t, MimeType mt ) { if(t.getExpectedMimeType()!=null) // I don't think we let users tweak the idness, so // this error must indicate an inconsistency within the RI/spec. throw new IllegalStateException(); return new TypeUseImpl( t.getInfo(), t.isCollection(), t.idUse(), mt, t.getAdapterUse() ); }
public static TypeUse makeID( TypeUse t, ID id ) { if(t.idUse()!=ID.NONE) // I don't think we let users tweak the idness, so // this error must indicate an inconsistency within the RI/spec. throw new IllegalStateException(); return new TypeUseImpl( t.getInfo(), t.isCollection(), id, t.getExpectedMimeType(), t.getAdapterUse() ); }
public static TypeUse makeMimeTyped( TypeUse t, MimeType mt ) { if(t.getExpectedMimeType()!=null) // I don't think we let users tweak the idness, so // this error must indicate an inconsistency within the RI/spec. throw new IllegalStateException(); return new TypeUseImpl( t.getInfo(), t.isCollection(), t.idUse(), mt, t.getAdapterUse() ); }
public static TypeUse makeID( TypeUse t, ID id ) { if(t.idUse()!=ID.NONE) // I don't think we let users tweak the idness, so // this error must indicate an inconsistency within the RI/spec. throw new IllegalStateException(); return new TypeUseImpl( t.getInfo(), t.isCollection(), id, t.getExpectedMimeType(), t.getAdapterUse() ); }
public static TypeUse makeID( TypeUse t, ID id ) { if(t.idUse()!=ID.NONE) // I don't think we let users tweak the idness, so // this error must indicate an inconsistency within the RI/spec. throw new IllegalStateException(); return new TypeUseImpl( t.getInfo(), t.isCollection(), id, t.getExpectedMimeType(), t.getAdapterUse() ); }
public static TypeUse makeMimeTyped( TypeUse t, MimeType mt ) { if(t.getExpectedMimeType()!=null) // I don't think we let users tweak the idness, so // this error must indicate an inconsistency within the RI/spec. throw new IllegalStateException(); return new TypeUseImpl( t.getInfo(), t.isCollection(), t.idUse(), mt, t.getAdapterUse() ); }
public static TypeUse makeID( TypeUse t, ID id ) { if(t.idUse()!=ID.NONE) // I don't think we let users tweak the idness, so // this error must indicate an inconsistency within the RI/spec. throw new IllegalStateException(); return new TypeUseImpl( t.getInfo(), t.isCollection(), id, t.getExpectedMimeType(), t.getAdapterUse() ); }
protected CTypeRef toTypeRef(CElementPropertyInfo ep) { if(ep!=null && target.getAdapterUse()!=null) ep.setAdapter(target.getAdapterUse()); return new CTypeRef(target.getInfo(),decl); }
protected CTypeRef toTypeRef(CElementPropertyInfo ep) { if(ep!=null && target.getAdapterUse()!=null) ep.setAdapter(target.getAdapterUse()); return new CTypeRef(target.getInfo(),decl); }
protected CTypeRef toTypeRef(CElementPropertyInfo ep) { if(ep!=null && target.getAdapterUse()!=null) ep.setAdapter(target.getAdapterUse()); return new CTypeRef(target.getInfo(),decl); }
protected CTypeRef toTypeRef(CElementPropertyInfo ep) { if(ep!=null && target.getAdapterUse()!=null) ep.setAdapter(target.getAdapterUse()); return new CTypeRef(target.getInfo(),decl); }
public static TypeUse makeCollection( TypeUse t ) { if(t.isCollection()) return t; CAdapter au = t.getAdapterUse(); if(au!=null && !au.isWhitespaceAdapter()) { // we can't process this right now. // for now bind to a weaker type TODO.checkSpec(); return CBuiltinLeafInfo.STRING_LIST; } return new TypeUseImpl( t.getInfo(), true, t.idUse(), t.getExpectedMimeType(), null ); }
public static TypeUse makeCollection( TypeUse t ) { if(t.isCollection()) return t; CAdapter au = t.getAdapterUse(); if(au!=null && !au.isWhitespaceAdapter()) { // we can't process this right now. // for now bind to a weaker type TODO.checkSpec(); return CBuiltinLeafInfo.STRING_LIST; } return new TypeUseImpl( t.getInfo(), true, t.idUse(), t.getExpectedMimeType(), null ); }
public static TypeUse makeCollection( TypeUse t ) { if(t.isCollection()) return t; CAdapter au = t.getAdapterUse(); if(au!=null && !au.isWhitespaceAdapter()) { // we can't process this right now. // for now bind to a weaker type TODO.checkSpec(); return CBuiltinLeafInfo.STRING_LIST; } return new TypeUseImpl( t.getInfo(), true, t.idUse(), t.getExpectedMimeType(), null ); }
public static TypeUse makeCollection( TypeUse t ) { if(t.isCollection()) return t; CAdapter au = t.getAdapterUse(); if(au!=null && !au.isWhitespaceAdapter()) { // we can't process this right now. // for now bind to a weaker type TODO.checkSpec(); return CBuiltinLeafInfo.STRING_LIST; } return new TypeUseImpl( t.getInfo(), true, t.idUse(), t.getExpectedMimeType(), null ); }