public class CreateObjectRule extends BaseRule
Rule
for creating a new object. Created from the the
<create-object>
element. Generally, this is the first rule in a sequence of
rules.Constructor and Description |
---|
CreateObjectRule() |
CreateObjectRule(java.lang.String className) |
Modifier and Type | Method and Description |
---|---|
void |
begin(SchemaProcessor processor,
Element element)
Creates the new object and pushes it onto the processor's stack.
|
void |
end(SchemaProcessor processor,
Element element)
Pops the object off of the processor's stack.
|
java.lang.String |
getClassName() |
void |
setClassName(java.lang.String string) |
getLocation, setLocation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLocation
public CreateObjectRule()
public CreateObjectRule(java.lang.String className)
public void begin(SchemaProcessor processor, Element element)
LocationHolder
then the Location
of
the element is assigned to the object.public void end(SchemaProcessor processor, Element element)
public java.lang.String getClassName()
public void setClassName(java.lang.String string)