|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.simonstl.moe.factory.DefaultFactory
The DefaultFactory class provides a relatively simple mechanism for creating new MOE components, hardwired to the components provided in the com.simonstl.moe package. I've kept the constructors on the components deliberately minimal, preferring to use factory classes to create particular objects
Constructor Summary | |
DefaultFactory()
Deprecated. |
Method Summary | |
static CoreComponentI |
attribute(java.lang.String _nsURI,
java.lang.String _localName,
java.lang.String _prefix)
Deprecated. Creates an empty attribute with a namespace URI, local name, and prefix. |
static CoreComponentI |
attribute(java.lang.String _nsURI,
java.lang.String _localName,
java.lang.String _prefix,
java.lang.String _text)
Deprecated. Creates an attribute with a namespace URI, local name, prefix, and a text node. |
static CoreComponentI |
attribute(java.lang.String _nsURI,
java.lang.String _localName,
java.lang.String _prefix,
java.lang.String _text,
boolean _complete)
Deprecated. Creates an attribute with a namespace URI, local name, prefix, and a text node, and allows the caller to specify whether or not the element is complete. |
static java.lang.String[] |
breakQName(java.lang.String QName)
Deprecated. Divides a QName into two pieces. |
static CoreComponentI |
cdataSect(java.lang.String _text)
Deprecated. Creates a complete CDATA section with textual content. |
static CoreComponentI |
cdataSect(java.lang.String _text,
boolean _complete)
Deprecated. Creates a CDATA section with textual content, allowing the code to specify whether or not it is complete. |
static CoreComponentI |
characters(java.lang.String _text)
Deprecated. Creates a text node with textual content. |
static CoreComponentI |
comment(java.lang.String _text)
Deprecated. Creates a complete Comment with textual content. |
static CoreComponentI |
comment(java.lang.String _text,
boolean _complete)
Deprecated. Creates a comment with textual content, allowing the code to specify whether or not it is complete. |
static CoreComponentI |
element(java.lang.String _nsURI,
java.lang.String _localName,
java.lang.String _prefix)
Deprecated. Creates an empty element with a namespace URI, local name, and prefix. |
static CoreComponentI |
element(java.lang.String _nsURI,
java.lang.String _localName,
java.lang.String _prefix,
java.lang.String _text)
Deprecated. Creates a complete element with a namespace URI, local name, prefix, and a text node. |
static CoreComponentI |
element(java.lang.String _nsURI,
java.lang.String _localName,
java.lang.String _prefix,
java.lang.String _text,
boolean _complete)
Deprecated. Creates an element with a namespace URI, local name, prefix, and a text node, and allows the caller to specify whether or not the element is complete. |
static CoreComponentI |
endAttribute(java.lang.String _nsURI,
java.lang.String _localName,
java.lang.String _prefix)
Deprecated. Creates an empty attribute with a namespace URI, local name, and prefix. |
static CoreComponentI |
endCdataSect()
Deprecated. Creates an end to a CDATA section. |
static CoreComponentI |
endComment()
Deprecated. Creates an end to a Comment. |
static CoreComponentI |
endElement(java.lang.String _nsURI,
java.lang.String _localName,
java.lang.String _prefix)
Deprecated. Creates an end element with a namespace URI, local name, and prefix. |
static CoreComponentI |
endNamespace(java.lang.String _nsURI,
java.lang.String _prefix)
Deprecated. Creates an end to a namespace. |
static CoreComponentI |
endProcInst()
Deprecated. Creates an end to a Processing Instruction. |
static void |
main(java.lang.String[] args)
Deprecated. |
static CoreComponentI |
namespace(java.lang.String _nsURI)
Deprecated. Creates a default namespace. |
static CoreComponentI |
namespace(java.lang.String _nsURI,
java.lang.String _prefix)
Deprecated. Creates a namespace. |
static CoreComponentI |
procInst(java.lang.String _target,
java.lang.String _text)
Deprecated. Creates a complete Processing Instruction with target and textual content. |
static CoreComponentI |
procInst(java.lang.String _target,
java.lang.String _text,
boolean _complete)
Deprecated. Creates a Processing Instruction with target and textual content, allowing the code to specify whether or not it is complete. |
static CoreComponentI |
whitespace(java.lang.String _text)
Deprecated. Creates a whitespace node with content. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultFactory()
Method Detail |
public static java.lang.String[] breakQName(java.lang.String QName)
public static CoreComponentI element(java.lang.String _nsURI, java.lang.String _localName, java.lang.String _prefix)
public static CoreComponentI element(java.lang.String _nsURI, java.lang.String _localName, java.lang.String _prefix, java.lang.String _text)
public static CoreComponentI element(java.lang.String _nsURI, java.lang.String _localName, java.lang.String _prefix, java.lang.String _text, boolean _complete)
public static CoreComponentI attribute(java.lang.String _nsURI, java.lang.String _localName, java.lang.String _prefix)
public static CoreComponentI attribute(java.lang.String _nsURI, java.lang.String _localName, java.lang.String _prefix, java.lang.String _text)
public static CoreComponentI attribute(java.lang.String _nsURI, java.lang.String _localName, java.lang.String _prefix, java.lang.String _text, boolean _complete)
public static CoreComponentI characters(java.lang.String _text)
public static CoreComponentI cdataSect(java.lang.String _text)
public static CoreComponentI cdataSect(java.lang.String _text, boolean _complete)
public static CoreComponentI procInst(java.lang.String _target, java.lang.String _text)
public static CoreComponentI procInst(java.lang.String _target, java.lang.String _text, boolean _complete)
public static CoreComponentI comment(java.lang.String _text)
public static CoreComponentI comment(java.lang.String _text, boolean _complete)
public static CoreComponentI whitespace(java.lang.String _text)
public static CoreComponentI namespace(java.lang.String _nsURI, java.lang.String _prefix)
public static CoreComponentI namespace(java.lang.String _nsURI)
public static CoreComponentI endElement(java.lang.String _nsURI, java.lang.String _localName, java.lang.String _prefix)
public static CoreComponentI endAttribute(java.lang.String _nsURI, java.lang.String _localName, java.lang.String _prefix)
public static CoreComponentI endNamespace(java.lang.String _nsURI, java.lang.String _prefix)
public static CoreComponentI endCdataSect()
public static CoreComponentI endProcInst()
public static CoreComponentI endComment()
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |