Class OptionalAttribute
java.lang.Object
com.thaiopensource.relaxng.output.xsd.basic.Located
com.thaiopensource.relaxng.output.xsd.basic.Annotated
com.thaiopensource.relaxng.output.xsd.basic.AttributeUse
com.thaiopensource.relaxng.output.xsd.basic.SingleAttributeUse
com.thaiopensource.relaxng.output.xsd.basic.OptionalAttribute
-
Constructor Summary
ConstructorDescriptionOptionalAttribute
(SourceLocation location, Annotation annotation, Attribute attribute, String defaultValue) -
Method Summary
Modifier and TypeMethodDescription<T> T
accept
(AttributeUseVisitor<T> visitor) boolean
getName()
getType()
int
hashCode()
boolean
Methods inherited from class com.thaiopensource.relaxng.output.xsd.basic.Annotated
getAnnotation
Methods inherited from class com.thaiopensource.relaxng.output.xsd.basic.Located
getLocation
-
Constructor Details
-
OptionalAttribute
public OptionalAttribute(SourceLocation location, Annotation annotation, Attribute attribute, String defaultValue)
-
-
Method Details
-
getAttribute
-
accept
- Specified by:
accept
in classAttributeUse
-
getName
- Specified by:
getName
in classSingleAttributeUse
-
getType
- Specified by:
getType
in classSingleAttributeUse
-
getDefaultValue
- Overrides:
getDefaultValue
in classSingleAttributeUse
-
isOptional
public boolean isOptional()- Specified by:
isOptional
in classSingleAttributeUse
-
equals
-
hashCode
public int hashCode()
-