public abstract class InstanceComponentImpl extends Object implements InstanceComponent
Constructor and Description |
---|
InstanceComponentImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addText(char[] ch,
int start,
int length) |
void |
addText(String text) |
XSDNamedComponent |
getDeclaration() |
String |
getName() |
String |
getNamespace() |
String |
getText() |
void |
setName(String name)
Sets the name of the element.
|
void |
setNamespace(String namespace)
Sets the namespace of the element.
|
void |
setText(String text)
Sets the text of the element.
|
String |
toString()
By default indicate the elements name
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getTypeDefinition
public XSDNamedComponent getDeclaration()
getDeclaration
in interface InstanceComponent
public String getNamespace()
getNamespace
in interface InstanceComponent
public void setNamespace(String namespace)
InstanceComponent
setNamespace
in interface InstanceComponent
namespace
- The new namespace.public String getName()
getName
in interface InstanceComponent
public void setName(String name)
InstanceComponent
setName
in interface InstanceComponent
name
- The new name.public String getText()
getText
in interface InstanceComponent
public void setText(String text)
InstanceComponent
setText
in interface InstanceComponent
text
- The new textpublic void addText(String text)
public void addText(char[] ch, int start, int length)
Copyright © 1996–2019 Geotools. All rights reserved.