|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.specrunner.source.resource.core.AbstractResource
org.specrunner.source.resource.element.core.AbstractResourceElement
org.specrunner.source.resource.element.core.AbstractResourceElementAtt
public abstract class AbstractResourceElementAtt
A resource.
| Constructor Summary | |
|---|---|
AbstractResourceElementAtt(ISource parent,
String path,
boolean classpath,
EType type,
nu.xom.Element element,
String reference,
String prefix)
Creates a resource. |
|
| Method Summary | |
|---|---|
protected void |
appendChild(nu.xom.Element root)
Append child elements, by default add a comment. |
nu.xom.Node |
asNode()
The object representation as node. |
String |
asString()
The object representation as string. |
protected String |
getPrefix()
Get a description prefix. |
protected String |
getReferenceName()
Get the attribute name reference. |
ISource |
writeTo(ISource target)
Write the resource to the target, e returns the resulting source. |
| Methods inherited from class org.specrunner.source.resource.element.core.AbstractResourceElement |
|---|
getElement, setElement |
| Methods inherited from class org.specrunner.source.resource.core.AbstractResource |
|---|
filterExisting, getParent, getResourcePath, getResourceURLs, getType, isClasspath, setClasspath, setParent, setResourcePath, setType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.specrunner.source.resource.IResource |
|---|
getParent, getResourcePath, getType, isClasspath, setClasspath, setParent, setResourcePath, setType |
| Constructor Detail |
|---|
public AbstractResourceElementAtt(ISource parent,
String path,
boolean classpath,
EType type,
nu.xom.Element element,
String reference,
String prefix)
parent - The source parent.path - The resource path.classpath - The classpath flag.type - The resource nature.element - The referred element.reference - The reference attribute.prefix - The name to log.| Method Detail |
|---|
public ISource writeTo(ISource target)
throws ResourceException
IResource
target - The target reference.
ResourceException - On writing errors.protected String getReferenceName()
public String asString()
IPresentation
protected String getPrefix()
public nu.xom.Node asNode()
IPresentation
protected void appendChild(nu.xom.Element root)
root - The root element.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||