|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.joost.instruction.FactoryBase
net.sf.joost.instruction.MessageFactory
Factory for message elements, which are represented by
the inner Instance class.
| Nested Class Summary | |
class |
MessageFactory.Instance
Represents an instance of the message element. |
| Field Summary | |
private HashSet |
attrNames
allowed attributes for this element |
private static int |
DEBUG_LEVEL
index in LEVEL_VALUES |
private static int |
ERROR_LEVEL
index in LEVEL_VALUES |
private static int |
FATAL_LEVEL
index in LEVEL_VALUES |
private static int |
INFO_LEVEL
index in LEVEL_VALUES |
private static String[] |
LEVEL_VALUES
enumerated values for the level attribute |
private static int |
TRACE_LEVEL
index in LEVEL_VALUES |
private static int |
WARN_LEVEL
index in LEVEL_VALUES |
| Fields inherited from class net.sf.joost.instruction.FactoryBase |
NO_VALUE, YES_VALUE, YESNO_VALUES |
| Fields inherited from interface net.sf.joost.Constants |
DEBUG, DEFAULT_ENCODING, FEAT_NS, FEAT_NSPREFIX, FEATURE_URI_PREFIX, FUNC_NS, JOOST_EXT_NS, PR_ATTRIBUTES, PR_BUFFER, PR_CHILDREN, PR_CONTINUE, PR_ERROR, PR_SELF, PR_SIBLINGS, STX_NS |
| Constructor Summary | |
MessageFactory()
|
|
| Method Summary | |
NodeBase |
createNode(NodeBase parent,
String qName,
Attributes attrs,
ParseContext context)
The factory method. |
String |
getName()
|
| Methods inherited from class net.sf.joost.instruction.FactoryBase |
checkAttributes, getAttribute, getEnumAttValue, getExpandedName, parseAVT, parseExpr, parsePattern |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private HashSet attrNames
private static final String[] LEVEL_VALUES
private static final int TRACE_LEVEL
LEVEL_VALUES
private static final int DEBUG_LEVEL
LEVEL_VALUES
private static final int INFO_LEVEL
LEVEL_VALUES
private static final int WARN_LEVEL
LEVEL_VALUES
private static final int ERROR_LEVEL
LEVEL_VALUES
private static final int FATAL_LEVEL
LEVEL_VALUES
| Constructor Detail |
public MessageFactory()
| Method Detail |
public String getName()
getName in class FactoryBase"message"
public NodeBase createNode(NodeBase parent,
String qName,
Attributes attrs,
ParseContext context)
throws SAXParseException
FactoryBase
createNode in class FactoryBaseparent - the parent NodeqName - the full name of this nodeattrs - the attribute set of this nodecontext - the parse context
SAXParseException - for missing or wrong attributes, etc.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||