|
Oxygen XML Editor 11.2 Author API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectro.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(String name,
boolean required,
boolean fixed,
String defaultValue,
List<String> possibleValues)
Constructor. |
|
CIAttribute(String namespace,
String name,
boolean required,
boolean fixed,
String defaultValue,
List<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(Object obj)
|
String |
getAnnotation()
Get the annotation for the attribute. |
String |
getDefaultValue()
Gets the default value attribute of the attribute. |
String |
getFacetFractionDigitsValue()
Gets the value of the FRACTION_DIGITS facet corresponding to
the attribute. |
String |
getFacetLengthValue()
Gets the value of the LENGTH facet corresponding to
the attribute. |
String |
getFacetMaxExclusiveValue()
Gets the value of the MAX_EXCLUSIVE facet corresponding to
the attribute. |
String |
getFacetMaxInclusiveValue()
Gets the value of the MAX_INCLUSIVE facet corresponding to
the attribute. |
String |
getFacetMaxLengthValue()
Gets the value of the MAX_LENGTH facet corresponding to
the attribute. |
String |
getFacetMinExclusiveValue()
Gets the value of the MIN_EXCLUSIVE facet corresponding to
the attribute. |
String |
getFacetMinInclusiveValue()
Gets the value of the MIN_INCLUSIVE facet corresponding to
the attribute. |
String |
getFacetMinLengthValue()
Gets the value of the MIN_LENGTH facet corresponding to
the attribute. |
String |
getFacetPattern()
Gets the value of the PATTERN facet corresponding to
the attribute. |
String |
getFacetTotalDigitsValue()
Gets the value of the TOTAL_DIGITS facet corresponding to
the attribute. |
String |
getFacetWhitespaceValue()
Gets the value of the WHITESPACE facet corresponding to
the attribute. |
String |
getModelDescription()
Gets the model description. |
String |
getName()
Gets the local name of the attribute. |
String |
getNamespace()
Gets the namespace attribute of the attribute. |
List<String> |
getPossibleValues()
Gets the possible values this attribute can have. |
boolean |
isFixed()
Find if the attribute is fixed. |
boolean |
isRequired()
Gets the required attribute of the attribute. |
void |
setAnnotation(String annotation)
Set the annotation for the attribute. |
void |
setDefaultValue(String defaultValue)
Sets the default value attribute of the attribute. |
void |
setFacetFractionDigitsValue(String fractionDigitsFacetValue)
Sets the value of the FRACTION_DIGITS facet corresponding to
the attribute. |
void |
setFacetLengthValue(String lengthFacetValue)
Sets the value of the LENGTH facet corresponding to
the attribute. |
void |
setFacetMaxExclusiveValue(String maxExclusiveFacetValue)
Sets the value of the MAX_EXCLUSIVE facet corresponding to
the attribute. |
void |
setFacetMaxInclusiveValue(String maxInclusiveFacetValue)
Sets the value of the MAX_INCLUSIVE facet corresponding to
the attribute. |
void |
setFacetMaxLengthValue(String maxLengthFacetValue)
Sets the value of the MAX_LENGTH facet corresponding to
the attribute. |
void |
setFacetMinExclusiveValue(String minExclusiveFacetValue)
Sets the value of the MIN_EXCLUSIVE facet corresponding to
the attribute. |
void |
setFacetMinInclusiveValue(String minInclusiveFacetValue)
Sets the value of the MIN_INCLUSIVE facet corresponding to
the attribute. |
void |
setFacetMinLengthValue(String minLengthFacetValue)
Sets the value of the MIN_LENGTH facet corresponding to
the attribute. |
void |
setFacetPattern(String patternFacets)
Sets the value of the PATTERN facet corresponding to
the attribute. |
void |
setFacetTotalDigitsValue(String totalDigitsFacetValue)
Sets the value of the TOTAL_DIGITS facet corresponding to
the attribute. |
void |
setFacetWhitespaceValue(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(String modelDescription)
Sets the model description. |
void |
setName(String name)
Sets the local name of the attribute. |
void |
setNamespace(String namespace)
Sets the namespace value for the attribute. |
void |
setPossiblesValues(List<String> possiblesValues)
Sets the possible values this attribute can have. |
void |
setRequired(boolean required)
Sets the required value for the attribute. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CIAttribute(String namespace,
String name,
boolean required,
boolean fixed,
String defaultValue,
List<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(String name,
boolean required,
boolean fixed,
String defaultValue,
List<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 String getName()
getName in interface NodeDescriptionpublic void setName(String name)
name - The local name of the attribute to be set.public String getNamespace()
public boolean isRequired()
public String getDefaultValue()
null if a default value was not
previously set.public List<String> getPossibleValues()
getPossibleValues in interface NodeDescriptionnull if a possible
values list cannot be determined.public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public String toString()
toString in class ObjectObject.toString()public int compareTo(CIAttribute otherAttribute)
compareTo in interface Comparable<CIAttribute>otherAttribute - The CIAttribute to compare with.
public String getFacetFractionDigitsValue()
FRACTION_DIGITS facet corresponding to
the attribute.
getFacetFractionDigitsValue in interface NodeDescriptionFRACTION_DIGITS facet.
Can be null.public void setFacetFractionDigitsValue(String fractionDigitsFacetValue)
FRACTION_DIGITS facet corresponding to
the attribute.
setFacetFractionDigitsValue in interface NodeDescriptionfractionDigitsFacetValue - The value of the FRACTION_DIGITS
facet to be set.public String getFacetLengthValue()
LENGTH facet corresponding to
the attribute.
getFacetLengthValue in interface NodeDescriptionLENGTH facet.
Can be null.public void setFacetLengthValue(String lengthFacetValue)
LENGTH facet corresponding to
the attribute.
setFacetLengthValue in interface NodeDescriptionlengthFacetValue - The value of the LENGTH
facet to be set.public String getFacetMaxExclusiveValue()
MAX_EXCLUSIVE facet corresponding to
the attribute.
getFacetMaxExclusiveValue in interface NodeDescriptionMAX_EXCLUSIVE facet.
Can be null.public void setFacetMaxExclusiveValue(String maxExclusiveFacetValue)
MAX_EXCLUSIVE facet corresponding to
the attribute.
setFacetMaxExclusiveValue in interface NodeDescriptionmaxExclusiveFacetValue - The value of the MAX_EXCLUSIVE
facet to be set.public String getFacetMaxInclusiveValue()
MAX_INCLUSIVE facet corresponding to
the attribute.
getFacetMaxInclusiveValue in interface NodeDescriptionMAX_INCLUSIVE facet.
Can be null.public void setFacetMaxInclusiveValue(String maxInclusiveFacetValue)
MAX_INCLUSIVE facet corresponding to
the attribute.
setFacetMaxInclusiveValue in interface NodeDescriptionmaxInclusiveFacetValue - The value of the MAX_INCLUSIVE
facet to be set.public String getFacetMaxLengthValue()
MAX_LENGTH facet corresponding to
the attribute.
getFacetMaxLengthValue in interface NodeDescriptionMAX_LENGTH facet.
Can be null.public void setFacetMaxLengthValue(String maxLengthFacetValue)
MAX_LENGTH facet corresponding to
the attribute.
setFacetMaxLengthValue in interface NodeDescriptionmaxLengthFacetValue - The value of the MAX_LENGTH
facet to be set.public String getFacetMinExclusiveValue()
MIN_EXCLUSIVE facet corresponding to
the attribute.
getFacetMinExclusiveValue in interface NodeDescriptionMIN_EXCLUSIVE facet.
Can be null.public void setFacetMinExclusiveValue(String minExclusiveFacetValue)
MIN_EXCLUSIVE facet corresponding to
the attribute.
setFacetMinExclusiveValue in interface NodeDescriptionminExclusiveFacetValue - The value of the MIN_EXCLUSIVE
facet to be set.public String getFacetMinInclusiveValue()
MIN_INCLUSIVE facet corresponding to
the attribute.
getFacetMinInclusiveValue in interface NodeDescriptionMIN_INCLUSIVE facet.
Can be null.public void setFacetMinInclusiveValue(String minInclusiveFacetValue)
MIN_INCLUSIVE facet corresponding to
the attribute.
setFacetMinInclusiveValue in interface NodeDescriptionminInclusiveFacetValue - The value of the MIN_INCLUSIVE
facet to be set.public String getFacetMinLengthValue()
MIN_LENGTH facet corresponding to
the attribute.
getFacetMinLengthValue in interface NodeDescriptionMIN_LENGTH facet.
Can be null.public void setFacetMinLengthValue(String minLengthFacetValue)
MIN_LENGTH facet corresponding to
the attribute.
setFacetMinLengthValue in interface NodeDescriptionminLengthFacetValue - The value of the MIN_LENGTH
facet to be set.public String getFacetTotalDigitsValue()
TOTAL_DIGITS facet corresponding to
the attribute.
getFacetTotalDigitsValue in interface NodeDescriptionTOTAL_DIGITS facet.
Can be null.public void setFacetTotalDigitsValue(String totalDigitsFacetValue)
TOTAL_DIGITS facet corresponding to
the attribute.
setFacetTotalDigitsValue in interface NodeDescriptiontotalDigitsFacetValue - The value of the TOTAL_DIGITS
facet to be set.public String getFacetWhitespaceValue()
WHITESPACE facet corresponding to
the attribute.
getFacetWhitespaceValue in interface NodeDescriptionWHITESPACE facet.
Can be null.public void setFacetWhitespaceValue(String whitespaceFacetValue)
WHITESPACE facet corresponding to
the attribute.
setFacetWhitespaceValue in interface NodeDescriptionwhitespaceFacetValue - The value of the WHITESPACE
facet to be set.public String getFacetPattern()
PATTERN facet corresponding to
the attribute.
getFacetPattern in interface NodeDescriptionPATTERN facet.
Can be null.public void setFacetPattern(String patternFacets)
PATTERN facet corresponding to
the attribute.
setFacetPattern in interface NodeDescriptionpatternFacets - The value of the PATTERN
facet to be set.public String getModelDescription()
getModelDescription in interface NodeDescriptionnull.public void setModelDescription(String modelDescription)
setModelDescription in interface NodeDescriptionmodelDescription - The model description of the attribute to be set.public void setDefaultValue(String defaultValue)
defaultValue - The default value of the attribute.public void setPossiblesValues(List<String> possiblesValues)
setPossiblesValues in interface NodeDescriptionpossiblesValues - 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(String namespace)
namespace - The namespace to be set.public void setFixed(boolean fixed)
fixed - True if the attribute has a fixed value.public String getAnnotation()
getAnnotation in interface NodeDescriptionnull.public void setAnnotation(String annotation)
annotation - The annotation of the attribute, or null.
|
Oxygen XML Editor 11.2 Author API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||