Package org.geotools.xsd
Interface InstanceComponent
- All Known Subinterfaces:
AttributeInstance,ElementInstance
- All Known Implementing Classes:
AttributeImpl,ElementImpl,InstanceComponentImpl,TextInstance
public interface InstanceComponent
-
Method Summary
Modifier and TypeMethodDescriptionXSDNamedComponentgetName()getText()XSDTypeDefinitionvoidSets the name of the element.voidsetNamespace(String namespace) Sets the namespace of the element.voidSets the text of the element.
-
Method Details
-
getTypeDefinition
XSDTypeDefinition getTypeDefinition()- Returns:
- The object containing the type definiton of the instance.
-
getDeclaration
XSDNamedComponent getDeclaration()- Returns:
- The feature describing the component instance.
-
getNamespace
String getNamespace()- Returns:
- The namespace of the element;
-
setNamespace
Sets the namespace of the element.- Parameters:
namespace- The new namespace.
-
getName
String getName()- Returns:
- The name of the element.
-
setName
Sets the name of the element.- Parameters:
name- The new name.
-
getText
String getText()- Returns:
- The text inside of the component, or the empty string if the component does not contain any text.
-
setText
Sets the text of the element.- Parameters:
text- The new text
-