All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
ind.jaxb-osgi.2.2.11.source-code.attribute.rng Maven / Gradle / Ivy
private boolean form;
private boolean formSpecified = false;
private AttributeDeclImpl makeResult() {
if(type==null)
// type defaults to anySimpleType
type = $runtime.parser.schemaSet.anySimpleType;
if(!formSpecified) form = $runtime.attributeFormDefault;
// global attributes are always qualified
if(!isLocal) form = true;
String tns;
if(form==true) tns = $runtime.currentSchema.getTargetNamespace();
else tns = "";
// proper handling of anonymous types
return new AttributeDeclImpl( $runtime.document, tns, name,
annotation, locator, fa, isLocal,
$runtime.createXmlString(defaultValue),
$runtime.createXmlString(fixedValue),
type );
}
private Ref.SimpleType type;
formSpecified = true;
fa = (fa);
(null,AnnotationContext.ATTRIBUTE_DECL);
type = new DelayedRef.SimpleType(
$runtime, locator, $runtime.currentSchema, typeName );
private AttGroupDeclImpl result;
private Locator locator;
locator=$runtime.copyLocator();
fa = (fa);
(null,AnnotationContext.ATTRIBUTE_GROUP);
result = new AttGroupDeclImpl(
$runtime.document, annotation, locator, fa, name );
private Ref.Attribute decl;
private Locator wloc; // locator for wildcards
private Locator locator;
locator=$runtime.copyLocator();
use=null;
defaultValue=null;
fixedValue=null;
decl=null;
annotation=null;
decl = anonymousDecl;
attDeclName = new UName(
anonymousDecl.getTargetNamespace(),
anonymousDecl.getName());
defaultValue = null;
fixedValue = null;
decl = new DelayedRef.Attribute(
$runtime, locator, $runtime.currentSchema, attDeclName );
(null,AnnotationContext.ATTRIBUTE_USE);
fa = (null);
if("prohibited".equals(use))
owner.addProhibitedAttribute(attDeclName);
else
owner.addAttributeUse(attDeclName,
new AttributeUseImpl( $runtime.document, annotation,locator,fa,decl,
$runtime.createXmlString(defaultValue),
$runtime.createXmlString(fixedValue),
"required".equals(use)));
locator=$runtime.copyLocator();
(null,AnnotationContext.ATTRIBUTE_USE);
owner.addAttGroup(new DelayedRef.AttGroup(
$runtime, locator, $runtime.currentSchema, groupName ));
wloc = $runtime.copyLocator();
owner.setWildcard(wildcard);