|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axiom.om.impl.llom.factory.OMLinkedListImplFactory
org.apache.abdera.parser.stax.FOMFactory
public class FOMFactory
Field Summary |
---|
Fields inherited from class org.apache.axiom.om.impl.llom.factory.OMLinkedListImplFactory |
---|
namespaceTable |
Constructor Summary | |
---|---|
FOMFactory()
|
|
FOMFactory(Abdera abdera)
|
Method Summary | ||
---|---|---|
protected org.apache.axiom.om.OMElement |
createElement(QName qname,
org.apache.axiom.om.OMContainer parent,
FOMBuilder builder)
|
|
protected org.apache.axiom.om.OMElement |
createElement(QName qname,
org.apache.axiom.om.OMContainer parent,
org.apache.axiom.om.OMFactory factory,
Object objecttype)
|
|
org.apache.axiom.om.OMComment |
createOMComment(org.apache.axiom.om.OMContainer arg0,
String arg1)
|
|
org.apache.axiom.om.OMProcessingInstruction |
createOMProcessingInstruction(org.apache.axiom.om.OMContainer arg0,
String arg1,
String arg2)
|
|
org.apache.axiom.om.OMText |
createOMText(Object arg0,
boolean arg1)
|
|
org.apache.axiom.om.OMText |
createOMText(org.apache.axiom.om.OMContainer arg0,
char[] arg1,
int arg2)
|
|
org.apache.axiom.om.OMText |
createOMText(org.apache.axiom.om.OMContainer arg0,
QName arg1)
|
|
org.apache.axiom.om.OMText |
createOMText(org.apache.axiom.om.OMContainer arg0,
QName arg1,
int arg2)
|
|
org.apache.axiom.om.OMText |
createOMText(org.apache.axiom.om.OMContainer arg0,
String arg1)
|
|
org.apache.axiom.om.OMText |
createOMText(org.apache.axiom.om.OMContainer arg0,
String arg1,
int arg2)
|
|
org.apache.axiom.om.OMText |
createOMText(org.apache.axiom.om.OMContainer arg0,
String arg1,
String arg2,
boolean arg3)
|
|
org.apache.axiom.om.OMText |
createOMText(String arg0)
|
|
org.apache.axiom.om.OMText |
createOMText(String arg0,
int arg1)
|
|
org.apache.axiom.om.OMText |
createOMText(String arg0,
org.apache.axiom.om.OMContainer arg1,
org.apache.axiom.om.OMXMLParserWrapper arg2)
|
|
org.apache.axiom.om.OMText |
createOMText(String arg0,
String arg1,
boolean arg2)
|
|
Abdera |
getAbdera()
Get the Abdera instance for this factory |
|
|
getElementWrapper(Element internal)
Abdera's support for static extensions is based on a simple delegation model. |
|
|
getMimeType(T base)
Get the mime type for the specified extension element / document |
|
String[] |
getNamespaces()
Returns the Namespace URIs handled by this Extension Factory |
|
boolean |
handlesNamespace(String namespace)
Returns true if this extension factory handles the specified namespace |
|
String[] |
listExtensionFactories()
Returns a listing of extension factories registered |
|
Person |
newAuthor()
Create a new author element. |
|
Person |
newAuthor(Element parent)
Create a new author element as a child of the given Element. |
|
Categories |
newCategories()
Create a new Categories element. |
|
Categories |
newCategories(Base parent)
Create a new Categories element. |
|
Categories |
newCategories(QName qname,
org.apache.axiom.om.OMContainer parent,
org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
|
|
Category |
newCategory()
Create a new Category element. |
|
Category |
newCategory(Element parent)
Create a new Category element as a child of the given Element. |
|
Category |
newCategory(QName qname,
org.apache.axiom.om.OMContainer parent,
org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
|
|
Collection |
newCollection()
Create a new Collection element. |
|
Collection |
newCollection(Element parent)
Create a new Collection element as a child of the given Element. |
|
Collection |
newCollection(QName qname,
org.apache.axiom.om.OMContainer parent,
org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
|
|
Content |
newContent()
Create a new Content element. |
|
Content |
newContent(Content.Type type)
Create a new Content element of the given Content.Type. |
|
Content |
newContent(Content.Type type,
Element parent)
Create a new Content element of the given Content.Type as a child of the given Element. |
|
Content |
newContent(javax.activation.MimeType mediaType)
Create a new Content element of the given MediaType. |
|
Content |
newContent(javax.activation.MimeType mediaType,
Element parent)
Create a new Content element of the given MediaType as a child of the given Element. |
|
Content |
newContent(QName qname,
Content.Type type,
org.apache.axiom.om.OMContainer parent,
org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
|
|
Person |
newContributor()
Create a new contributor element. |
|
Person |
newContributor(Element parent)
Create a new contributor element as a child of the given Element. |
|
Control |
newControl()
Create a new Control element. |
|
Control |
newControl(Element parent)
Create a new Control element as a child of the given Element. |
|
Control |
newControl(QName qname,
org.apache.axiom.om.OMContainer parent,
org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
|
|
DateTime |
newDateTime(QName qname,
Element parent)
Create a new DateTime element with the given QName as a child of the given Element. |
|
DateTime |
newDateTimeElement(QName qname,
org.apache.axiom.om.OMContainer parent,
org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
|
|
Generator |
newDefaultGenerator()
Create a new Generator with Abdera's default name and version. |
|
Generator |
newDefaultGenerator(Element parent)
Create a new Generator using Abdera's default name and version as a child of the given Element. |
|
Div |
newDiv()
Create a new Div element. |
|
Div |
newDiv(Base parent)
Create a new Div element as a child of the given Base. |
|
Div |
newDiv(QName qname,
org.apache.axiom.om.OMContainer parent,
org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
|
|
|
newDocument()
Create a new Document instance with a root Element of type T. |
|
|
newDocument(org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
|
|
|
newDocument(T root,
org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
|
|
DateTime |
newEdited()
Create a new app:edited element. |
|
DateTime |
newEdited(Element parent)
Create a new app:edited element. |
|
|
newElement(QName qname)
Create a new Element with the given QName. |
|
|
newElement(QName qname,
Base parent)
Create a new Element with the given QName as a child of the given Base. |
|
Element |
newElement(QName qname,
org.apache.axiom.om.OMContainer parent,
org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
|
|
Element |
newEmail()
Create a new email element. |
|
Element |
newEmail(Element parent)
Create a new email element as a child of the given Element. |
|
Entry |
newEntry()
Create a new Entry element. |
|
Entry |
newEntry(Base parent)
Create a new Entry element as a child of the given Base. |
|
Entry |
newEntry(QName qname,
org.apache.axiom.om.OMContainer parent,
org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
|
|
|
newExtensionElement(QName qname)
Create a new extension element with the given QName. |
|
|
newExtensionElement(QName qname,
Base parent)
Create a new extension element with the given QName as a child of the given Base. |
|
Feed |
newFeed()
Create a new Feed element. |
|
Feed |
newFeed(Base parent)
Create a new Feed element as a child of the given Base. |
|
Feed |
newFeed(QName qname,
org.apache.axiom.om.OMContainer parent,
org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
|
|
Generator |
newGenerator()
Create a new Generator element. |
|
Generator |
newGenerator(Element parent)
Create a new Generator element as a child of the given Element. |
|
Generator |
newGenerator(QName qname,
org.apache.axiom.om.OMContainer parent,
org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
|
|
IRIElement |
newIcon()
Create a new icon element. |
|
IRIElement |
newIcon(Element parent)
Create a new icon element as a child of the given Element. |
|
IRIElement |
newID()
Create a new id element. |
|
IRIElement |
newID(Element parent)
Create a new id element as a child of the given Element. |
|
IRIElement |
newID(QName qname,
org.apache.axiom.om.OMContainer parent,
org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
|
|
IRIElement |
newIRIElement(QName qname,
Element parent)
Create a new IRI element with the given QName as a child of the given Element. |
|
Link |
newLink()
Create a new Link element. |
|
Link |
newLink(Element parent)
Create a new Link element as a child of the given Element. |
|
Link |
newLink(QName qname,
org.apache.axiom.om.OMContainer parent,
org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
|
|
IRIElement |
newLogo()
Create a new logo element. |
|
IRIElement |
newLogo(Element parent)
Create a new logo element as a child of the given Element. |
|
Collection |
newMultipartCollection(Element parent)
|
|
Element |
newName()
Create a new name element. |
|
Element |
newName(Element parent)
Create a new name element as a child of the given Element. |
|
Parser |
newParser()
Create a new Parser instance. |
|
Person |
newPerson(QName qname,
Element parent)
Create a new Person element with the given QName as a child of the given Element. |
|
Person |
newPerson(QName qname,
org.apache.axiom.om.OMContainer parent,
org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
|
|
DateTime |
newPublished()
Create a new published element. |
|
DateTime |
newPublished(Element parent)
Create a new published element as a child of the given Element. |
|
Text |
newRights()
Create a new rights element. |
|
Text |
newRights(Element parent)
Create a new rights element as a child of the given Element. |
|
Text |
newRights(Text.Type type)
Create a new rights element with the given Text.Type. |
|
Text |
newRights(Text.Type type,
Element parent)
Create a new rights element with the given Text.Type as a child of the given Element. |
|
Service |
newService()
Create a new Service element. |
|
Service |
newService(Base parent)
Create a new Service element as a child of the given Base. |
|
Service |
newService(QName qname,
org.apache.axiom.om.OMContainer parent,
org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
|
|
Source |
newSource()
Create a new Source element. |
|
Source |
newSource(Element parent)
Create a new Source element as a child of the given Element. |
|
Source |
newSource(QName qname,
org.apache.axiom.om.OMContainer parent,
org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
|
|
Text |
newSubtitle()
Create a new subtitle element. |
|
Text |
newSubtitle(Element parent)
Create a new subtitle element as a child of the given Element. |
|
Text |
newSubtitle(Text.Type type)
Create a new subtitle element with the given Text.Type. |
|
Text |
newSubtitle(Text.Type type,
Element parent)
Create a new subtitle element with the given Text.Type as a child of the given Element. |
|
Text |
newSummary()
Create a new summary element. |
|
Text |
newSummary(Element parent)
Create a new summary element as a child of the given Element. |
|
Text |
newSummary(Text.Type type)
Create a new summary element with the given Text.Type. |
|
Text |
newSummary(Text.Type type,
Element parent)
Create a new summary element with the given Text.Type as a child of the given Element. |
|
Text |
newText(QName qname,
Text.Type type)
Create a new Text element with the given QName and Text.Type. |
|
Text |
newText(QName qname,
Text.Type type,
Element parent)
Create a new Text element with the given QName and Text.Type as a child of the given Element. |
|
Text |
newText(QName qname,
Text.Type type,
org.apache.axiom.om.OMContainer parent,
org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
|
|
Text |
newTitle()
Create a new title element. |
|
Text |
newTitle(Element parent)
Create a new title element as a child of the given Element. |
|
Text |
newTitle(Text.Type type)
Create a new title element with the given Text.Type. |
|
Text |
newTitle(Text.Type type,
Element parent)
Create a new title element with the given Text.Type as a child of the given Element. |
|
DateTime |
newUpdated()
Create a new updated element. |
|
DateTime |
newUpdated(Element parent)
create a new updated element as a child of the given Element. |
|
IRIElement |
newUri()
Create a new uri element. |
|
IRIElement |
newUri(Element parent)
Create a new uri element as a child of the given Element. |
|
IRIElement |
newURIElement(QName qname,
org.apache.axiom.om.OMContainer parent,
org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
|
|
String |
newUuidUri()
Generate a new random UUID URI |
|
Workspace |
newWorkspace()
Create a new Workspace element. |
|
Workspace |
newWorkspace(Element parent)
Create a new Workspace element as a child of the given Element. |
|
Workspace |
newWorkspace(QName qname,
org.apache.axiom.om.OMContainer parent,
org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
|
|
static void |
registerAsDefault()
|
|
Factory |
registerExtension(ExtensionFactory factory)
Registers an extension factory for this Factory instance only |
Methods inherited from class org.apache.axiom.om.impl.llom.factory.OMLinkedListImplFactory |
---|
createOMAttribute, createOMDocType, createOMDocument, createOMDocument, createOMElement, createOMElement, createOMElement, createOMElement, createOMElement, createOMElement, createOMElement, createOMNamespace, createOMText |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FOMFactory()
public FOMFactory(Abdera abdera)
Method Detail |
---|
public static void registerAsDefault()
public Parser newParser()
Factory
newParser
in interface Factory
public <T extends Element> Document<T> newDocument()
Factory
newDocument
in interface Factory
public <T extends Element> Document<T> newDocument(org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
public <T extends Element> Document<T> newDocument(T root, org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
public Service newService(QName qname, org.apache.axiom.om.OMContainer parent, org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
public Service newService(Base parent)
Factory
newService
in interface Factory
parent
- The element or document to which the new Service should be added as a child
public Workspace newWorkspace(QName qname, org.apache.axiom.om.OMContainer parent, org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
public Workspace newWorkspace()
Factory
newWorkspace
in interface Factory
public Workspace newWorkspace(Element parent)
Factory
newWorkspace
in interface Factory
parent
- The element to which the new Workspace should be added as a child
public Collection newCollection(QName qname, org.apache.axiom.om.OMContainer parent, org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
public Collection newCollection()
Factory
newCollection
in interface Factory
public Collection newCollection(Element parent)
Factory
newCollection
in interface Factory
parent
- The element to which the new Collection should be added as a child
public Collection newMultipartCollection(Element parent)
public Feed newFeed()
Factory
newFeed
in interface Factory
public Entry newEntry()
Factory
newEntry
in interface Factory
public Service newService()
Factory
newService
in interface Factory
public Feed newFeed(QName qname, org.apache.axiom.om.OMContainer parent, org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
public Feed newFeed(Base parent)
Factory
newFeed
in interface Factory
parent
- The element or document to which the new Feed should be added as a child
public Entry newEntry(QName qname, org.apache.axiom.om.OMContainer parent, org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
public Entry newEntry(Base parent)
Factory
newEntry
in interface Factory
parent
- The element or document to which the new Entry should be added as a child
public Category newCategory(QName qname, org.apache.axiom.om.OMContainer parent, org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
public Category newCategory()
Factory
newCategory
in interface Factory
public Category newCategory(Element parent)
Factory
newCategory
in interface Factory
parent
- The element to which the new Category should be added as a child
public Content newContent(QName qname, Content.Type type, org.apache.axiom.om.OMContainer parent, org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
public Content newContent()
Factory
newContent
in interface Factory
public Content newContent(Content.Type type)
Factory
newContent
in interface Factory
type
- The Content.Type for the newly created Content element.
public Content newContent(Content.Type type, Element parent)
Factory
newContent
in interface Factory
type
- The Content.Type for the newly created Content element.parent
- The element to which the new Content should be added as a child
public Content newContent(javax.activation.MimeType mediaType)
Factory
newContent
in interface Factory
mediaType
- The MIME media type to be specified by the type attribute
public Content newContent(javax.activation.MimeType mediaType, Element parent)
Factory
newContent
in interface Factory
mediaType
- The MIME media type to be specified by the type attributeparent
- The element to which the new Content should be added as a child
public DateTime newDateTimeElement(QName qname, org.apache.axiom.om.OMContainer parent, org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
public DateTime newDateTime(QName qname, Element parent)
Factory
newDateTime
in interface Factory
qname
- The XML QName of the Atom Date element to createparent
- The element to which the new Atom Date element should be added as a child
public Generator newGenerator(QName qname, org.apache.axiom.om.OMContainer parent, org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
public Generator newDefaultGenerator()
Factory
newDefaultGenerator
in interface Factory
public Generator newDefaultGenerator(Element parent)
Factory
newDefaultGenerator
in interface Factory
parent
- The element to which the new Generator element should be added as a child
public Generator newGenerator()
Factory
newGenerator
in interface Factory
public Generator newGenerator(Element parent)
Factory
newGenerator
in interface Factory
parent
- The element to which the new Generator element should be added as a child
public IRIElement newID(QName qname, org.apache.axiom.om.OMContainer parent, org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
public IRIElement newID()
Factory
newID
in interface Factory
public IRIElement newID(Element parent)
Factory
newID
in interface Factory
parent
- The element to which the new ID element should be added as a child
public IRIElement newURIElement(QName qname, org.apache.axiom.om.OMContainer parent, org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
public IRIElement newIRIElement(QName qname, Element parent)
Factory
newIRIElement
in interface Factory
qname
- The XML QName of the new IRI elementparent
- The element to which the new generic IRI element should be added as a child
public Link newLink(QName qname, org.apache.axiom.om.OMContainer parent, org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
public Link newLink()
Factory
newLink
in interface Factory
public Link newLink(Element parent)
Factory
newLink
in interface Factory
parent
- The element to which the new Link element should be added as a child
public Person newPerson(QName qname, org.apache.axiom.om.OMContainer parent, org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
public Person newPerson(QName qname, Element parent)
Factory
newPerson
in interface Factory
qname
- The XML QName of the newly created Person elementparent
- The element to which the new Person element should be added as a child
public Source newSource(QName qname, org.apache.axiom.om.OMContainer parent, org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
public Source newSource()
Factory
newSource
in interface Factory
public Source newSource(Element parent)
Factory
newSource
in interface Factory
parent
- The element to which the new Source element should be added as a child
public Text newText(QName qname, Text.Type type, org.apache.axiom.om.OMContainer parent, org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
public Text newText(QName qname, Text.Type type)
Factory
newText
in interface Factory
qname
- The XML QName of the Text element to createtype
- The type of text (plain text, HTML or XHTML)
public Text newText(QName qname, Text.Type type, Element parent)
Factory
newText
in interface Factory
qname
- The XML QName of the Text element to createtype
- The type of text (plain text, HTML or XHTML)parent
- The element to which the new Updated element should be added as a child
public <T extends Element> T newElement(QName qname)
Factory
newElement
in interface Factory
public <T extends Element> T newElement(QName qname, Base parent)
Factory
newElement
in interface Factory
qname
- The XML QName of the element to createparent
- The element or document to which the new element should be added as a child
public <T extends Element> T newExtensionElement(QName qname)
Factory
newExtensionElement
in interface Factory
qname
- The XML QName of the element to create
public <T extends Element> T newExtensionElement(QName qname, Base parent)
Factory
newExtensionElement
in interface Factory
qname
- The XML QName of the element to createparent
- The element or document to which the new element should be added as a child
public Control newControl()
Factory
newControl
in interface Factory
public Control newControl(Element parent)
Factory
newControl
in interface Factory
parent
- The element to which the new Control element should be added as a child
public Control newControl(QName qname, org.apache.axiom.om.OMContainer parent, org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
public DateTime newPublished()
Factory
newPublished
in interface Factory
public DateTime newPublished(Element parent)
Factory
newPublished
in interface Factory
parent
- The element to which the new Published element should be added as a child
public DateTime newUpdated()
Factory
newUpdated
in interface Factory
public DateTime newUpdated(Element parent)
Factory
newUpdated
in interface Factory
parent
- The element to which the new Updated element should be added as a child
public DateTime newEdited()
Factory
newEdited
in interface Factory
public DateTime newEdited(Element parent)
Factory
newEdited
in interface Factory
parent
- The element to which the new Edited element should be added as a child
public IRIElement newIcon()
Factory
newIcon
in interface Factory
public IRIElement newIcon(Element parent)
Factory
newIcon
in interface Factory
parent
- The element to which the new Icon element should be added as a child
public IRIElement newLogo()
Factory
newLogo
in interface Factory
public IRIElement newLogo(Element parent)
Factory
newLogo
in interface Factory
parent
- The element to which the new Logo element should be added as a child
public IRIElement newUri()
Factory
newUri
in interface Factory
public IRIElement newUri(Element parent)
Factory
newUri
in interface Factory
parent
- The element to which the new URI element should be added as a child
public Person newAuthor()
Factory
newAuthor
in interface Factory
public Person newAuthor(Element parent)
Factory
newAuthor
in interface Factory
parent
- The element to which the new Author element should be added as a child
public Person newContributor()
Factory
newContributor
in interface Factory
public Person newContributor(Element parent)
Factory
newContributor
in interface Factory
parent
- The element to which the new Contributor element should be added as a child
public Text newTitle()
Factory
newTitle
in interface Factory
public Text newTitle(Element parent)
Factory
newTitle
in interface Factory
parent
- The element to which the new Title element should be added as a child
public Text newTitle(Text.Type type)
Factory
newTitle
in interface Factory
type
- The type of text used in the title (plain text, HTML, XHTML)
public Text newTitle(Text.Type type, Element parent)
Factory
newTitle
in interface Factory
type
- The type of text used in the title (plain text, HTML, XHTML)parent
- The element to which the new Updated element should be added as a child
public Text newSubtitle()
Factory
newSubtitle
in interface Factory
public Text newSubtitle(Element parent)
Factory
newSubtitle
in interface Factory
parent
- The element to which the new Subtitle element should be added as a child
public Text newSubtitle(Text.Type type)
Factory
newSubtitle
in interface Factory
type
- The type of text used in the subtitle (plain text, HTML, XHTML)
public Text newSubtitle(Text.Type type, Element parent)
Factory
newSubtitle
in interface Factory
type
- The type of text used i the subtitle (plain text, HTML, XHTML)parent
- The element to which the new Subtitle element should be added as a child
public Text newSummary()
Factory
newSummary
in interface Factory
public Text newSummary(Element parent)
Factory
newSummary
in interface Factory
parent
- The element to which the new Summary element should be added as a child
public Text newSummary(Text.Type type)
Factory
newSummary
in interface Factory
type
- The type of text used in the summary (plain text, HTML, XHTML)
public Text newSummary(Text.Type type, Element parent)
Factory
newSummary
in interface Factory
type
- The type of text used in the summary (plain text, HTML, XHTML)parent
- The element to which the new Summary element should be added as a child
public Text newRights()
Factory
newRights
in interface Factory
public Text newRights(Element parent)
Factory
newRights
in interface Factory
parent
- The element to which the new Rights element should be added as a child
public Text newRights(Text.Type type)
Factory
newRights
in interface Factory
type
- The type of text used in the Rights (plain text, HTML, XHTML)
public Text newRights(Text.Type type, Element parent)
Factory
newRights
in interface Factory
type
- The type of text used in the Rights (plain text, HTML, XHTML)parent
- The element to which the new Rights element should be added as a child
public Element newName()
Factory
newName
in interface Factory
public Element newName(Element parent)
Factory
newName
in interface Factory
parent
- The element to which the new Name element should be added as a child
public Element newEmail()
Factory
newEmail
in interface Factory
public Element newEmail(Element parent)
Factory
newEmail
in interface Factory
parent
- The element to which the new Email element should be added as a child
public Div newDiv()
Factory
newDiv
in interface Factory
public Div newDiv(Base parent)
Factory
newDiv
in interface Factory
parent
- The element or document to which the new XHTML div element should be added as a child
public Div newDiv(QName qname, org.apache.axiom.om.OMContainer parent, org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
public Element newElement(QName qname, org.apache.axiom.om.OMContainer parent, org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
protected org.apache.axiom.om.OMElement createElement(QName qname, org.apache.axiom.om.OMContainer parent, org.apache.axiom.om.OMFactory factory, Object objecttype)
protected org.apache.axiom.om.OMElement createElement(QName qname, org.apache.axiom.om.OMContainer parent, FOMBuilder builder)
public Factory registerExtension(ExtensionFactory factory)
Factory
registerExtension
in interface Factory
factory
- An ExtensionFactory instancepublic Categories newCategories()
Factory
newCategories
in interface Factory
public Categories newCategories(Base parent)
Factory
newCategories
in interface Factory
parent
- The element or document to which the new Categories element should be added as a child
public Categories newCategories(QName qname, org.apache.axiom.om.OMContainer parent, org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
public String newUuidUri()
Factory
newUuidUri
in interface Factory
public <T extends Element> T getElementWrapper(Element internal)
ExtensionFactory
getElementWrapper
in interface ExtensionFactory
internal
- The Abdera element that needs to be wrapped
public String[] getNamespaces()
ExtensionFactory
getNamespaces
in interface ExtensionFactory
public boolean handlesNamespace(String namespace)
ExtensionFactory
handlesNamespace
in interface ExtensionFactory
namespace
- The XML namespace of the extension
public Abdera getAbdera()
Factory
getAbdera
in interface Factory
public <T extends Base> String getMimeType(T base)
Factory
getMimeType
in interface ExtensionFactory
getMimeType
in interface Factory
base
- An Abdera object
public String[] listExtensionFactories()
Factory
listExtensionFactories
in interface Factory
public org.apache.axiom.om.OMText createOMText(Object arg0, boolean arg1)
createOMText
in interface org.apache.axiom.om.OMFactory
createOMText
in class org.apache.axiom.om.impl.llom.factory.OMLinkedListImplFactory
public org.apache.axiom.om.OMText createOMText(org.apache.axiom.om.OMContainer arg0, char[] arg1, int arg2)
createOMText
in interface org.apache.axiom.om.OMFactory
createOMText
in class org.apache.axiom.om.impl.llom.factory.OMLinkedListImplFactory
public org.apache.axiom.om.OMText createOMText(org.apache.axiom.om.OMContainer arg0, QName arg1, int arg2)
createOMText
in interface org.apache.axiom.om.OMFactory
createOMText
in class org.apache.axiom.om.impl.llom.factory.OMLinkedListImplFactory
public org.apache.axiom.om.OMText createOMText(org.apache.axiom.om.OMContainer arg0, QName arg1)
createOMText
in interface org.apache.axiom.om.OMFactory
createOMText
in class org.apache.axiom.om.impl.llom.factory.OMLinkedListImplFactory
public org.apache.axiom.om.OMText createOMText(org.apache.axiom.om.OMContainer arg0, String arg1, int arg2)
createOMText
in interface org.apache.axiom.om.OMFactory
createOMText
in class org.apache.axiom.om.impl.llom.factory.OMLinkedListImplFactory
public org.apache.axiom.om.OMText createOMText(org.apache.axiom.om.OMContainer arg0, String arg1, String arg2, boolean arg3)
createOMText
in interface org.apache.axiom.om.OMFactory
createOMText
in class org.apache.axiom.om.impl.llom.factory.OMLinkedListImplFactory
public org.apache.axiom.om.OMText createOMText(org.apache.axiom.om.OMContainer arg0, String arg1)
createOMText
in interface org.apache.axiom.om.OMFactory
createOMText
in class org.apache.axiom.om.impl.llom.factory.OMLinkedListImplFactory
public org.apache.axiom.om.OMText createOMText(String arg0, int arg1)
createOMText
in interface org.apache.axiom.om.OMFactory
createOMText
in class org.apache.axiom.om.impl.llom.factory.OMLinkedListImplFactory
public org.apache.axiom.om.OMText createOMText(String arg0, org.apache.axiom.om.OMContainer arg1, org.apache.axiom.om.OMXMLParserWrapper arg2)
createOMText
in interface org.apache.axiom.om.OMFactory
createOMText
in class org.apache.axiom.om.impl.llom.factory.OMLinkedListImplFactory
public org.apache.axiom.om.OMText createOMText(String arg0, String arg1, boolean arg2)
createOMText
in interface org.apache.axiom.om.OMFactory
createOMText
in class org.apache.axiom.om.impl.llom.factory.OMLinkedListImplFactory
public org.apache.axiom.om.OMText createOMText(String arg0)
createOMText
in interface org.apache.axiom.om.OMFactory
createOMText
in class org.apache.axiom.om.impl.llom.factory.OMLinkedListImplFactory
public org.apache.axiom.om.OMComment createOMComment(org.apache.axiom.om.OMContainer arg0, String arg1)
createOMComment
in interface org.apache.axiom.om.OMFactory
createOMComment
in class org.apache.axiom.om.impl.llom.factory.OMLinkedListImplFactory
public org.apache.axiom.om.OMProcessingInstruction createOMProcessingInstruction(org.apache.axiom.om.OMContainer arg0, String arg1, String arg2)
createOMProcessingInstruction
in interface org.apache.axiom.om.OMFactory
createOMProcessingInstruction
in class org.apache.axiom.om.impl.llom.factory.OMLinkedListImplFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |