|
Oxygen XML Editor 12.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ro.sync.contentcompletion.xml.CIAttribute
public class CIAttribute
Interface for objects holding information about attributes used in the content completion process.
Constructor Summary | |
---|---|
CIAttribute()
Constructor. |
|
CIAttribute(java.lang.String name,
boolean required,
boolean fixed,
java.lang.String defaultValue,
java.util.List<java.lang.String> possibleValues)
Constructor. |
|
CIAttribute(java.lang.String namespace,
java.lang.String name,
boolean required,
boolean fixed,
java.lang.String defaultValue,
java.util.List<java.lang.String> possibleValues)
Constructor. |
Method Summary | |
---|---|
int |
compareTo(CIAttribute otherAttribute)
Compare two attributes based on the string obtained by concatenating the name and the namespace of each attribute. |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getAnnotation()
Get the annotation for the attribute. |
java.lang.String |
getDefaultValue()
Gets the default value attribute of the attribute. |
java.lang.String |
getFacetFractionDigitsValue()
Gets the value of the FRACTION_DIGITS facet corresponding to
the attribute. |
java.lang.String |
getFacetLengthValue()
Gets the value of the LENGTH facet corresponding to
the attribute. |
java.lang.String |
getFacetMaxExclusiveValue()
Gets the value of the MAX_EXCLUSIVE facet corresponding to
the attribute. |
java.lang.String |
getFacetMaxInclusiveValue()
Gets the value of the MAX_INCLUSIVE facet corresponding to
the attribute. |
java.lang.String |
getFacetMaxLengthValue()
Gets the value of the MAX_LENGTH facet corresponding to
the attribute. |
java.lang.String |
getFacetMinExclusiveValue()
Gets the value of the MIN_EXCLUSIVE facet corresponding to
the attribute. |
java.lang.String |
getFacetMinInclusiveValue()
Gets the value of the MIN_INCLUSIVE facet corresponding to
the attribute. |
java.lang.String |
getFacetMinLengthValue()
Gets the value of the MIN_LENGTH facet corresponding to
the attribute. |
java.lang.String |
getFacetPattern()
Gets the value of the PATTERN facet corresponding to
the attribute. |
java.lang.String |
getFacetTotalDigitsValue()
Gets the value of the TOTAL_DIGITS facet corresponding to
the attribute. |
java.lang.String |
getFacetWhitespaceValue()
Gets the value of the WHITESPACE facet corresponding to
the attribute. |
java.lang.String |
getModelDescription()
Gets the model description. |
java.lang.String |
getName()
Gets the local name of the attribute. |
java.lang.String |
getNamespace()
Gets the namespace attribute of the attribute. |
java.util.List<java.lang.String> |
getPossibleValues()
Gets the possible values this attribute can have. |
int |
hashCode()
|
boolean |
isFixed()
Find if the attribute is fixed. |
boolean |
isRequired()
Gets the required attribute of the attribute. |
void |
setAnnotation(java.lang.String annotation)
Set the annotation for the attribute. |
void |
setDefaultValue(java.lang.String defaultValue)
Sets the default value attribute of the attribute. |
void |
setFacetFractionDigitsValue(java.lang.String fractionDigitsFacetValue)
Sets the value of the FRACTION_DIGITS facet corresponding to
the attribute. |
void |
setFacetLengthValue(java.lang.String lengthFacetValue)
Sets the value of the LENGTH facet corresponding to
the attribute. |
void |
setFacetMaxExclusiveValue(java.lang.String maxExclusiveFacetValue)
Sets the value of the MAX_EXCLUSIVE facet corresponding to
the attribute. |
void |
setFacetMaxInclusiveValue(java.lang.String maxInclusiveFacetValue)
Sets the value of the MAX_INCLUSIVE facet corresponding to
the attribute. |
void |
setFacetMaxLengthValue(java.lang.String maxLengthFacetValue)
Sets the value of the MAX_LENGTH facet corresponding to
the attribute. |
void |
setFacetMinExclusiveValue(java.lang.String minExclusiveFacetValue)
Sets the value of the MIN_EXCLUSIVE facet corresponding to
the attribute. |
void |
setFacetMinInclusiveValue(java.lang.String minInclusiveFacetValue)
Sets the value of the MIN_INCLUSIVE facet corresponding to
the attribute. |
void |
setFacetMinLengthValue(java.lang.String minLengthFacetValue)
Sets the value of the MIN_LENGTH facet corresponding to
the attribute. |
void |
setFacetPattern(java.lang.String patternFacets)
Sets the value of the PATTERN facet corresponding to
the attribute. |
void |
setFacetTotalDigitsValue(java.lang.String totalDigitsFacetValue)
Sets the value of the TOTAL_DIGITS facet corresponding to
the attribute. |
void |
setFacetWhitespaceValue(java.lang.String whitespaceFacetValue)
Sets the value of the WHITESPACE facet corresponding to
the attribute. |
void |
setFixed(boolean fixed)
Sets the fixed mode of the attribute. |
void |
setModelDescription(java.lang.String modelDescription)
Sets the model description. |
void |
setName(java.lang.String name)
Sets the local name of the attribute. |
void |
setNamespace(java.lang.String namespace)
Sets the namespace value for the attribute. |
void |
setPossiblesValues(java.util.List<java.lang.String> possiblesValues)
Sets the possible values this attribute can have. |
void |
setRequired(boolean required)
Sets the required value for the attribute. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CIAttribute(java.lang.String namespace, java.lang.String name, boolean required, boolean fixed, java.lang.String defaultValue, java.util.List<java.lang.String> possibleValues)
namespace
- The attribute namespace.name
- The attribute name.required
- True
if the attribute is required.fixed
- True
if the attribute is fixed.defaultValue
- The default value of the attribute.possibleValues
- The list of possible values for the attribute.public CIAttribute()
public CIAttribute(java.lang.String name, boolean required, boolean fixed, java.lang.String defaultValue, java.util.List<java.lang.String> possibleValues)
name
- The attribute name.required
- True
if the attribute is required.fixed
- True
if the attribute is fixed.defaultValue
- The default value of the attribute.possibleValues
- The list of possible values for the attribute.Method Detail |
---|
public boolean isFixed()
true
if the attribute is fixed.public java.lang.String getName()
getName
in interface NodeDescription
public void setName(java.lang.String name)
name
- The local name of the attribute to be set.public java.lang.String getNamespace()
public boolean isRequired()
public java.lang.String getDefaultValue()
null
if a default value was not
previously set.public java.util.List<java.lang.String> getPossibleValues()
getPossibleValues
in interface NodeDescription
null
if a possible
values list cannot be determined.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int compareTo(CIAttribute otherAttribute)
compareTo
in interface java.lang.Comparable<CIAttribute>
otherAttribute
- The CIAttribute to compare with.
public java.lang.String getFacetFractionDigitsValue()
FRACTION_DIGITS
facet corresponding to
the attribute.
getFacetFractionDigitsValue
in interface NodeDescription
FRACTION_DIGITS
facet.
Can be null
.public void setFacetFractionDigitsValue(java.lang.String fractionDigitsFacetValue)
FRACTION_DIGITS
facet corresponding to
the attribute.
setFacetFractionDigitsValue
in interface NodeDescription
fractionDigitsFacetValue
- The value of the FRACTION_DIGITS
facet to be set.public java.lang.String getFacetLengthValue()
LENGTH
facet corresponding to
the attribute.
getFacetLengthValue
in interface NodeDescription
LENGTH
facet.
Can be null
.public void setFacetLengthValue(java.lang.String lengthFacetValue)
LENGTH
facet corresponding to
the attribute.
setFacetLengthValue
in interface NodeDescription
lengthFacetValue
- The value of the LENGTH
facet to be set.public java.lang.String getFacetMaxExclusiveValue()
MAX_EXCLUSIVE
facet corresponding to
the attribute.
getFacetMaxExclusiveValue
in interface NodeDescription
MAX_EXCLUSIVE
facet.
Can be null
.public void setFacetMaxExclusiveValue(java.lang.String maxExclusiveFacetValue)
MAX_EXCLUSIVE
facet corresponding to
the attribute.
setFacetMaxExclusiveValue
in interface NodeDescription
maxExclusiveFacetValue
- The value of the MAX_EXCLUSIVE
facet to be set.public java.lang.String getFacetMaxInclusiveValue()
MAX_INCLUSIVE
facet corresponding to
the attribute.
getFacetMaxInclusiveValue
in interface NodeDescription
MAX_INCLUSIVE
facet.
Can be null
.public void setFacetMaxInclusiveValue(java.lang.String maxInclusiveFacetValue)
MAX_INCLUSIVE
facet corresponding to
the attribute.
setFacetMaxInclusiveValue
in interface NodeDescription
maxInclusiveFacetValue
- The value of the MAX_INCLUSIVE
facet to be set.public java.lang.String getFacetMaxLengthValue()
MAX_LENGTH
facet corresponding to
the attribute.
getFacetMaxLengthValue
in interface NodeDescription
MAX_LENGTH
facet.
Can be null
.public void setFacetMaxLengthValue(java.lang.String maxLengthFacetValue)
MAX_LENGTH
facet corresponding to
the attribute.
setFacetMaxLengthValue
in interface NodeDescription
maxLengthFacetValue
- The value of the MAX_LENGTH
facet to be set.public java.lang.String getFacetMinExclusiveValue()
MIN_EXCLUSIVE
facet corresponding to
the attribute.
getFacetMinExclusiveValue
in interface NodeDescription
MIN_EXCLUSIVE
facet.
Can be null
.public void setFacetMinExclusiveValue(java.lang.String minExclusiveFacetValue)
MIN_EXCLUSIVE
facet corresponding to
the attribute.
setFacetMinExclusiveValue
in interface NodeDescription
minExclusiveFacetValue
- The value of the MIN_EXCLUSIVE
facet to be set.public java.lang.String getFacetMinInclusiveValue()
MIN_INCLUSIVE
facet corresponding to
the attribute.
getFacetMinInclusiveValue
in interface NodeDescription
MIN_INCLUSIVE
facet.
Can be null
.public void setFacetMinInclusiveValue(java.lang.String minInclusiveFacetValue)
MIN_INCLUSIVE
facet corresponding to
the attribute.
setFacetMinInclusiveValue
in interface NodeDescription
minInclusiveFacetValue
- The value of the MIN_INCLUSIVE
facet to be set.public java.lang.String getFacetMinLengthValue()
MIN_LENGTH
facet corresponding to
the attribute.
getFacetMinLengthValue
in interface NodeDescription
MIN_LENGTH
facet.
Can be null
.public void setFacetMinLengthValue(java.lang.String minLengthFacetValue)
MIN_LENGTH
facet corresponding to
the attribute.
setFacetMinLengthValue
in interface NodeDescription
minLengthFacetValue
- The value of the MIN_LENGTH
facet to be set.public java.lang.String getFacetTotalDigitsValue()
TOTAL_DIGITS
facet corresponding to
the attribute.
getFacetTotalDigitsValue
in interface NodeDescription
TOTAL_DIGITS
facet.
Can be null
.public void setFacetTotalDigitsValue(java.lang.String totalDigitsFacetValue)
TOTAL_DIGITS
facet corresponding to
the attribute.
setFacetTotalDigitsValue
in interface NodeDescription
totalDigitsFacetValue
- The value of the TOTAL_DIGITS
facet to be set.public java.lang.String getFacetWhitespaceValue()
WHITESPACE
facet corresponding to
the attribute.
getFacetWhitespaceValue
in interface NodeDescription
WHITESPACE
facet.
Can be null
.public void setFacetWhitespaceValue(java.lang.String whitespaceFacetValue)
WHITESPACE
facet corresponding to
the attribute.
setFacetWhitespaceValue
in interface NodeDescription
whitespaceFacetValue
- The value of the WHITESPACE
facet to be set.public java.lang.String getFacetPattern()
PATTERN
facet corresponding to
the attribute.
getFacetPattern
in interface NodeDescription
PATTERN
facet.
Can be null
.public void setFacetPattern(java.lang.String patternFacets)
PATTERN
facet corresponding to
the attribute.
setFacetPattern
in interface NodeDescription
patternFacets
- The value of the PATTERN
facet to be set.public java.lang.String getModelDescription()
getModelDescription
in interface NodeDescription
null
.public void setModelDescription(java.lang.String modelDescription)
setModelDescription
in interface NodeDescription
modelDescription
- The model description of the attribute to be set.public void setDefaultValue(java.lang.String defaultValue)
defaultValue
- The default value of the attribute.public void setPossiblesValues(java.util.List<java.lang.String> possiblesValues)
setPossiblesValues
in interface NodeDescription
possiblesValues
- The list of possible values to set.NodeDescription.setPossiblesValues(java.util.List)
public void setRequired(boolean required)
required
- If true
the attribute is required.public void setNamespace(java.lang.String namespace)
namespace
- The namespace to be set.public void setFixed(boolean fixed)
fixed
- True if the attribute has a fixed value.public java.lang.String getAnnotation()
getAnnotation
in interface NodeDescription
null
.public void setAnnotation(java.lang.String annotation)
annotation
- The annotation of the attribute, or null
.
|
Oxygen XML Editor 12.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |