|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.xmlmind.assembly.Profile
public final class Profile
A conditional processing profile.
| Nested Class Summary | |
|---|---|
static class |
Profile.AttributeEntry
A profiling attribute. |
| Field Summary | |
|---|---|
char |
valueSeparator
The character used to separate "tokens" when the value of a profiling attribute has multiple tokens. |
| Constructor Summary | |
|---|---|
Profile(char separ)
Constructs a profile using specified character as a token separator. |
|
| Method Summary | |
|---|---|
void |
clearEntries()
Remove all profiling attributes. |
Profile.AttributeEntry[] |
getEntries()
Returns an array containing all profiling attributes. |
void |
process(org.w3c.dom.Document doc)
Process specified document. |
void |
putEntry(Profile.AttributeEntry entry)
Add or replace specified profiling attribute. |
void |
putEntry(java.lang.String attrName,
java.lang.String attrValue)
Add or replace specified profiling attribute. |
static java.lang.String[] |
splitEffectivityValue(java.lang.String value,
char separ)
Utility method: split specified profiling attribute value into multiple "token" using specified separator. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final char valueSeparator
| Constructor Detail |
|---|
public Profile(char separ)
valueSeparator| Method Detail |
|---|
public void clearEntries()
public void putEntry(java.lang.String attrName,
java.lang.String attrValue)
throws java.lang.IllegalArgumentException
attrName - qualified name (using Clark's notation)
of the profiling attributeattrValue - value, possibly containing multiple "tokens",
of the profiling attribute
java.lang.IllegalArgumentException - if attribute name cannot be parsed
or attribute value is null or empty
public static java.lang.String[] splitEffectivityValue(java.lang.String value,
char separ)
public void putEntry(Profile.AttributeEntry entry)
public Profile.AttributeEntry[] getEntries()
public void process(org.w3c.dom.Document doc)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||