Package jadex.xml
Class AttributeInfo
- java.lang.Object
-
- jadex.xml.AttributeInfo
-
public class AttributeInfo extends java.lang.Object
Base class for attribute infos.
-
-
Field Summary
Fields Modifier and Type Field Description protected AccessInfo
accessinfo
The access info.static java.lang.String
COMMENT
Constant for identifying comment.static java.lang.String
CONTENT
Constant for identifying content.protected IAttributeConverter
converter
The attribute converter.protected java.lang.String
id
Is this attribute used as id or idref.static java.lang.String
ID
The value of this attribute is used as id.static java.lang.String
IDREF
The value of this attribute is used as idref.
-
Constructor Summary
Constructors Constructor Description AttributeInfo(AccessInfo accessinfo)
Create a new attribute info.AttributeInfo(AccessInfo accessinfo, IAttributeConverter converter)
Create a new attribute info.AttributeInfo(AccessInfo accessinfo, IAttributeConverter converter, java.lang.String id)
Create a new attribute info.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessInfo
getAccessInfo()
Get the accessinfo.java.lang.Object
getAttributeIdentifier()
Get the attributeidentifier.IAttributeConverter
getConverter()
Get the attribute converter.java.lang.String
getId()
Get the id.QName[]
getXMLAttributeNames()
Get the attribute name as path.boolean
isIgnoreRead()
Is ignore read.boolean
isIgnoreWrite()
Is ignore write.
-
-
-
Field Detail
-
CONTENT
public static final java.lang.String CONTENT
Constant for identifying content.- See Also:
- Constant Field Values
-
COMMENT
public static final java.lang.String COMMENT
Constant for identifying comment.- See Also:
- Constant Field Values
-
ID
public static final java.lang.String ID
The value of this attribute is used as id.- See Also:
- Constant Field Values
-
IDREF
public static final java.lang.String IDREF
The value of this attribute is used as idref.- See Also:
- Constant Field Values
-
accessinfo
protected AccessInfo accessinfo
The access info.
-
converter
protected IAttributeConverter converter
The attribute converter.
-
id
protected java.lang.String id
Is this attribute used as id or idref.
-
-
Constructor Detail
-
AttributeInfo
public AttributeInfo(AccessInfo accessinfo)
Create a new attribute info.
-
AttributeInfo
public AttributeInfo(AccessInfo accessinfo, IAttributeConverter converter)
Create a new attribute info.
-
AttributeInfo
public AttributeInfo(AccessInfo accessinfo, IAttributeConverter converter, java.lang.String id)
Create a new attribute info.
-
-
Method Detail
-
getAccessInfo
public AccessInfo getAccessInfo()
Get the accessinfo.- Returns:
- The accessinfo.
-
getAttributeIdentifier
public java.lang.Object getAttributeIdentifier()
Get the attributeidentifier.- Returns:
- The attributeidentifier.
-
getXMLAttributeNames
public QName[] getXMLAttributeNames()
Get the attribute name as path.- Returns:
- The attribute names.
-
isIgnoreRead
public boolean isIgnoreRead()
Is ignore read.- Returns:
- True, if should be ignored when reading.
-
isIgnoreWrite
public boolean isIgnoreWrite()
Is ignore write.- Returns:
- True, if should be ignored when writing.
-
getConverter
public IAttributeConverter getConverter()
Get the attribute converter.- Returns:
- The converter.
-
getId
public java.lang.String getId()
Get the id.- Returns:
- The id.
-
-