Modifier and Type | Field and Description |
---|---|
static AnyField |
INSTANCE
Ready to use instance of this class.
|
Constructor and Description |
---|
AnyField() |
Modifier and Type | Method and Description |
---|---|
String |
getFieldLabel(boolean isAttribute,
NamespaceToPrefixes nsToPrefixes)
Returns a label for this field that can be used in a GUI.
|
Name |
getFieldName()
Returns field name.
|
NameClass |
getFieldNameClass()
Returns set of names of this wildcard field.
|
public static final AnyField INSTANCE
public Name getFieldName()
Field
null
if this field is a
wildcard.getFieldName
in interface Field
public NameClass getFieldNameClass()
Field
null
if this field is not a wildcard.getFieldNameClass
in interface Field
public String getFieldLabel(boolean isAttribute, NamespaceToPrefixes nsToPrefixes)
Field
getFieldLabel
in interface Field
isAttribute
- true
if this field is an attribute
field; false
if this field is a child element fieldnsToPrefixes
- may be used to create the label