/** * Gets the {@link PropertySeed} object for the inherited attribute wildcard. */ private PropertySeed<T,C,F,M> getInheritedAttributeWildcard() { for( ClassInfoImpl<T,C,F,M> c=getBaseClass(); c!=null; c=c.getBaseClass() ) if(c.attributeWildcard!=null) return c.attributeWildcard; return null; }
public final RuntimeClassInfoImpl getBaseClass() { return (RuntimeClassInfoImpl)super.getBaseClass(); }
/** * {@inheritDoc} * * The substitution hierarchy is the same as the inheritance hierarchy. */ public final Element<T,C> getSubstitutionHead() { ClassInfoImpl<T,C,F,M> c = getBaseClass(); while(c!=null && !c.isElement()) c = c.getBaseClass(); return c; }
public final boolean hasValueProperty() { ClassInfoImpl<T, C, F, M> bc = getBaseClass(); if(bc!=null && bc.hasValueProperty()) return true; for (PropertyInfo p : getProperties()) { if (p instanceof ValuePropertyInfo) return true; } return false; }
/** * A {@link ClassInfo} can be referenced by {@link XmlIDREF} if * it has an ID property. */ public boolean canBeReferencedByIDREF() { for (PropertyInfo<T,C> p : getProperties()) { if(p.id()== ID.ID) return true; } ClassInfoImpl<T,C,F,M> base = getBaseClass(); if(base!=null) return base.canBeReferencedByIDREF(); else return false; }
/** * Gets the {@link PropertySeed} object for the inherited attribute wildcard. */ private PropertySeed<T,C,F,M> getInheritedAttributeWildcard() { for( ClassInfoImpl<T,C,F,M> c=getBaseClass(); c!=null; c=c.getBaseClass() ) if(c.attributeWildcard!=null) return c.attributeWildcard; return null; }
public final RuntimeClassInfoImpl getBaseClass() { return (RuntimeClassInfoImpl)super.getBaseClass(); }
/** * {@inheritDoc} * * The substitution hierarchy is the same as the inheritance hierarchy. */ public final Element<T,C> getSubstitutionHead() { ClassInfoImpl<T,C,F,M> c = getBaseClass(); while(c!=null && !c.isElement()) c = c.getBaseClass(); return c; }
vp, p )); if(getBaseClass()!=null) { builder.reportError(new IllegalAnnotationException( Messages.XMLVALUE_IN_DERIVED_TYPE.format(), p ));
ci.getBaseClass(); // same as above.
public final boolean hasValueProperty() { ClassInfoImpl<T, C, F, M> bc = getBaseClass(); if(bc!=null && bc.hasValueProperty()) return true; for (PropertyInfo p : getProperties()) { if (p instanceof ValuePropertyInfo) return true; } return false; }
/** * A {@link ClassInfo} can be referenced by {@link XmlIDREF} if * it has an ID property. */ public boolean canBeReferencedByIDREF() { for (PropertyInfo<T,C> p : getProperties()) { if(p.id()== ID.ID) return true; } ClassInfoImpl<T,C,F,M> base = getBaseClass(); if(base!=null) return base.canBeReferencedByIDREF(); else return false; }
|| hasJAXBAnnotation(annotations)) { if (isDummy) { ClassInfo<T, C> top = getBaseClass(); while ((top != null) && (top.getProperty("content") == null)) { top = top.getBaseClass();
/** * Gets the {@link PropertySeed} object for the inherited attribute wildcard. */ private PropertySeed<T,C,F,M> getInheritedAttributeWildcard() { for( ClassInfoImpl<T,C,F,M> c=getBaseClass(); c!=null; c=c.getBaseClass() ) if(c.attributeWildcard!=null) return c.attributeWildcard; return null; }
/** * Gets the {@link PropertySeed} object for the inherited attribute wildcard. */ private PropertySeed<T,C,F,M> getInheritedAttributeWildcard() { for( ClassInfoImpl<T,C,F,M> c=getBaseClass(); c!=null; c=c.getBaseClass() ) if(c.attributeWildcard!=null) return c.attributeWildcard; return null; }
/** * {@inheritDoc} * * The substitution hierarchy is the same as the inheritance hierarchy. */ public final Element<T,C> getSubstitutionHead() { ClassInfoImpl<T,C,F,M> c = getBaseClass(); while(c!=null && !c.isElement()) c = c.getBaseClass(); return c; }
vp, p )); if(getBaseClass()!=null) { builder.reportError(new IllegalAnnotationException( Messages.XMLVALUE_IN_DERIVED_TYPE.format(), p ));
ci.getBaseClass(); // same as above.
public final boolean hasValueProperty() { ClassInfoImpl<T, C, F, M> bc = getBaseClass(); if(bc!=null && bc.hasValueProperty()) return true; for (PropertyInfo p : getProperties()) { if (p instanceof ValuePropertyInfo) return true; } return false; }
|| hasJAXBAnnotation(annotations)) { if (isDummy) { ClassInfo<T, C> top = getBaseClass(); while ((top != null) && (top.getProperty("content") == null)) { top = top.getBaseClass();