Package aQute.bnd.xmlattribute
Class ExtensionDef
- java.lang.Object
-
- aQute.bnd.xmlattribute.ExtensionDef
-
- Direct Known Subclasses:
ADDef
,ComponentDef
,DesignateDef
,OCDDef
,ReferenceDef
public class ExtensionDef extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<Pair<XMLAttribute,Annotation>>
attributes
private XMLAttributeFinder
finder
-
Constructor Summary
Constructors Constructor Description ExtensionDef(XMLAttributeFinder finder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAttributes(Tag tag, Namespaces namespaces)
void
addExtensionAttribute(XMLAttribute xmlAttr, Annotation a)
void
addNamespaces(Namespaces namespaces, java.lang.String docNS)
private boolean
matches(XMLAttribute xmlAttr, java.lang.String docNS)
private boolean
matches(java.lang.String match, java.lang.String docNS)
-
-
-
Field Detail
-
finder
private final XMLAttributeFinder finder
-
attributes
private final java.util.List<Pair<XMLAttribute,Annotation>> attributes
-
-
Constructor Detail
-
ExtensionDef
public ExtensionDef(XMLAttributeFinder finder)
-
-
Method Detail
-
addExtensionAttribute
public void addExtensionAttribute(XMLAttribute xmlAttr, Annotation a)
-
addNamespaces
public void addNamespaces(Namespaces namespaces, java.lang.String docNS)
-
matches
private boolean matches(XMLAttribute xmlAttr, java.lang.String docNS)
-
matches
private boolean matches(java.lang.String match, java.lang.String docNS)
-
addAttributes
public void addAttributes(Tag tag, Namespaces namespaces)
-
-