String getNamespace();
/**
- * Get the name of the class responsible for implementing this attribute
- *
- * @return The factory class name
- */
- String getFactory();
-
- /**
* Get the shorthand name of the attribute
*
* @return The shorthand name
private String name = null;
private String namespace = null;
- private String factory = null;
private String alias = null;
private String header = null;
private boolean caseSensitive = true;
}
XMLAttributeRule(Element e) throws MalformedException {
- factory = XML.assign(e.getAttributeNS(null,"Factory"));
alias = XML.assign(e.getAttributeNS(null,"Alias"));
header = XML.assign(e.getAttributeNS(null,"Header"));
name = XML.assign(e.getAttributeNS(null,"Name"));
return namespace;
}
- public String getFactory() {
- return factory;
- }
-
public String getAlias() {
return alias;
}
</sequence>
<attribute name="Name" type="string" use="required"/>
<attribute name="Namespace" type="string" use="optional"/>
- <attribute name="Factory" type="string" use="optional"/>
<attribute name="Alias" type="string" use="optional"/>
<attribute name="Header" type="string" use="optional"/>
<attribute name="Scoped" type="boolean" use="optional" default="false"/>