|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.w3c.mwi.mobileok.basic.Preprocessor.ProcessingElement
private final class Preprocessor.ProcessingElement
Internal private class to hold a Resource
along with a boolean
that tells whether the resource has been processed or not.
Field Summary | |
---|---|
private boolean |
processed
Flag that asserts whether the resource has been (or is being) processed. |
private Resource |
resource
Resource being processed. |
Constructor Summary | |
---|---|
Preprocessor.ProcessingElement(Resource resource)
Default constructor. |
Method Summary | |
---|---|
Resource |
getResource()
Returns the resource bound to this instance. |
boolean |
hasBeenProcessed()
Returns true when the resource is being or has been
processed. |
void |
setProcessedFlag()
Sets the flag to assert that the resource is now being processed or has already been processed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final Resource resource
private boolean processed
Constructor Detail |
---|
public Preprocessor.ProcessingElement(Resource resource)
resource
- Resource to bind to the created instance.Method Detail |
---|
public final Resource getResource()
public final boolean hasBeenProcessed()
true
when the resource is being or has been
processed.
true
when the resource has been processed,
false
otherwise.public final void setProcessedFlag()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |