|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axiom.om.impl.llom.OMNodeImpl
org.apache.axiom.om.impl.llom.OMElementImpl
org.apache.abdera.parser.stax.FOMElement
org.apache.abdera.parser.stax.FOMText
public class FOMText
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.abdera.model.Text |
---|
Text.Type |
Field Summary | |
---|---|
protected Text.Type |
type
|
Fields inherited from class org.apache.axiom.om.impl.llom.OMElementImpl |
---|
attributes, DEFAULT_DEFAULT_NS_OBJECT, firstChild, lastChild, localName, namespaces, noPrefixNamespaceCounter, ns, qName |
Fields inherited from class org.apache.axiom.om.impl.llom.OMNodeImpl |
---|
builder, done, factory, nextSibling, nodeType, parent, previousSibling |
Fields inherited from interface org.apache.axiom.om.OMNode |
---|
CDATA_SECTION_NODE, COMMENT_NODE, DTD_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, PI_NODE, SPACE_NODE, TEXT_NODE |
Fields inherited from interface org.apache.axiom.om.OMConstants |
---|
ARRAY_ITEM_LOCALNAME, ARRAY_ITEM_NS_PREFIX, ARRAY_ITEM_NSURI, ARRAY_ITEM_QNAME, DATA_HANDLER, DEFAULT_CHAR_SET_ENCODING, DEFAULT_DEFAULT_NAMESPACE, DEFAULT_XML_VERSION, IS_BINARY, IS_DATA_HANDLERS_AWARE, PULL_TYPE_BUILDER, PUSH_TYPE_BUILDER, XMLATTRTYPE_CDATA, XMLATTRTYPE_ENTITIES, XMLATTRTYPE_ENTITY, XMLATTRTYPE_ID, XMLATTRTYPE_IDREF, XMLATTRTYPE_IDREFS, XMLATTRTYPE_NMTOKEN, XMLATTRTYPE_NMTOKENS, XMLATTRTYPE_NOTATION, XMLNS_NS_PREFIX, XMLNS_NS_URI, XMLNS_PREFIX, XMLNS_URI |
Constructor Summary | |
---|---|
|
FOMText(QName qname,
Text.Type type)
|
protected |
FOMText(Text.Type type,
QName qname,
org.apache.axiom.om.OMContainer parent,
org.apache.axiom.om.OMFactory factory)
|
protected |
FOMText(Text.Type type,
QName qname,
org.apache.axiom.om.OMContainer parent,
org.apache.axiom.om.OMFactory factory,
org.apache.axiom.om.OMXMLParserWrapper builder)
|
protected |
FOMText(Text.Type type,
String name,
org.apache.axiom.om.OMNamespace namespace,
org.apache.axiom.om.OMContainer parent,
org.apache.axiom.om.OMFactory factory)
|
Method Summary | ||
---|---|---|
Object |
clone()
Clone this Base |
|
IRI |
getBaseUri()
Returns the value of this element's xml:base attribute or null if xml:base is
undefined. |
|
String |
getLanguage()
Returns the value of this elements xml:lang attribute or null if xml:lang is undefined. |
|
IRI |
getResolvedBaseUri()
Returns the current in-scope, fully qualified Base URI for this element. |
|
Text.Type |
getTextType()
Return the Text.Type |
|
String |
getValue()
Return the text value |
|
Div |
getValueElement()
Return the text value element |
|
String |
getWrappedValue()
Return the wrapped value |
|
|
setText(String value)
|
|
|
setText(Text.Type type,
String value)
|
|
Text |
setTextType(Text.Type type)
Set the Text.Type |
|
Text |
setValue(String value)
Set the text value |
|
Text |
setValueElement(Div value)
Set the text value element |
|
Text |
setWrappedValue(String wrappedValue)
Set the wrapped value |
Methods inherited from class org.apache.axiom.om.impl.llom.OMElementImpl |
---|
addAttribute, addAttribute, addChild, build, buildNext, buildWithAttachments, cloneOMElement, declareDefaultNamespace, declareNamespace, declareNamespace, detach, discard, findNamespace, findNamespaceURI, getAllAttributes, getAllDeclaredNamespaces, getAttribute, getBuilder, getChildElements, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getDefaultNamespace, getFirstChildWithName, getFirstElement, getFirstOMChild, getLineNumber, getLocalName, getNamespace, getNextOMSibling, getQName, getTextAsQName, getTrimmedText, getType, getXMLStreamReader, getXMLStreamReaderWithoutCaching, internalSerialize, internalSerialize, internalSerializeAndConsume, isComplete, notifyChildComplete, removeAttribute, resolveQName, setBuilder, setFirstChild, setLastChild, setLineNumber, setLocalName, setNamespace, setNamespaceWithNoFindInCurrentScope, setText, toString, toStringWithConsume |
Methods inherited from class org.apache.axiom.om.impl.llom.OMNodeImpl |
---|
close, getOMFactory, getParent, getPreviousOMSibling, importNode, insertSiblingAfter, insertSiblingBefore, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, setComplete, setNextOMSibling, setParent, setPreviousOMSibling, setType |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.abdera.model.Element |
---|
declareNS, discard, getAttributes, getAttributeValue, getAttributeValue, getDocument, getElements, getExtensionAttributes, getFirstChild, getFirstChild, getLanguageTag, getLocale, getMustPreserveWhitespace, getNamespaces, getNextSibling, getNextSibling, getParentElement, getPreviousSibling, getPreviousSibling, getQName, getText, removeAttribute, removeAttribute, setAttributeValue, setAttributeValue, setBaseUri, setBaseUri, setLanguage, setMustPreserveWhitespace, setParentElement, setText, setText |
Methods inherited from interface org.apache.abdera.model.Base |
---|
addComment, complete, getDefaultWriterOptions, getFactory, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Methods inherited from interface org.apache.axiom.om.OMElement |
---|
addAttribute, addAttribute, cloneOMElement, declareDefaultNamespace, declareNamespace, declareNamespace, findNamespace, findNamespaceURI, getAllAttributes, getAllDeclaredNamespaces, getAttribute, getBuilder, getChildElements, getDefaultNamespace, getFirstElement, getLineNumber, getLocalName, getNamespace, getQName, getTextAsQName, getXMLStreamReader, getXMLStreamReaderWithoutCaching, removeAttribute, resolveQName, setBuilder, setFirstChild, setLineNumber, setLocalName, setNamespace, setNamespaceWithNoFindInCurrentScope, setText, toString, toStringWithConsume |
Methods inherited from interface org.apache.axiom.om.OMNode |
---|
build, buildWithAttachments, close, detach, discard, getNextOMSibling, getOMFactory, getParent, getPreviousOMSibling, getType, insertSiblingAfter, insertSiblingBefore, isComplete, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume |
Methods inherited from interface org.apache.axiom.om.OMContainer |
---|
addChild, buildNext, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getFirstChildWithName, getFirstOMChild, isComplete |
Methods inherited from interface org.apache.axiom.om.impl.OMContainerEx |
---|
setComplete |
Field Detail |
---|
protected Text.Type type
Constructor Detail |
---|
public FOMText(QName qname, Text.Type type)
protected FOMText(Text.Type type, String name, org.apache.axiom.om.OMNamespace namespace, org.apache.axiom.om.OMContainer parent, org.apache.axiom.om.OMFactory factory) throws org.apache.axiom.om.OMException
org.apache.axiom.om.OMException
protected FOMText(Text.Type type, QName qname, org.apache.axiom.om.OMContainer parent, org.apache.axiom.om.OMFactory factory) throws org.apache.axiom.om.OMException
org.apache.axiom.om.OMException
protected FOMText(Text.Type type, QName qname, org.apache.axiom.om.OMContainer parent, org.apache.axiom.om.OMFactory factory, org.apache.axiom.om.OMXMLParserWrapper builder) throws org.apache.axiom.om.OMException
org.apache.axiom.om.OMException
Method Detail |
---|
public final Text.Type getTextType()
Text
getTextType
in interface Text
public Text setTextType(Text.Type type)
Text
setTextType
in interface Text
type
- The Text.Typepublic Div getValueElement()
Text
getValueElement
in interface Text
public Text setValueElement(Div value)
Text
setValueElement
in interface Text
value
- The xhtml:divpublic String getValue()
Text
getValue
in interface Text
public <T extends Element> T setText(String value)
public <T extends Element> T setText(Text.Type type, String value)
public Text setValue(String value)
Text
setValue
in interface Text
value
- The text valuepublic String getWrappedValue()
Text
getWrappedValue
in interface Text
public Text setWrappedValue(String wrappedValue)
Text
setWrappedValue
in interface Text
wrappedValue
- The text value wrapped in a xhtml:divpublic IRI getBaseUri()
Element
xml:base
attribute or null if xml:base
is
undefined.
getBaseUri
in interface Element
getBaseUri
in class FOMElement
public IRI getResolvedBaseUri()
Element
getResolvedBaseUri
in interface Element
getResolvedBaseUri
in class FOMElement
public String getLanguage()
Element
xml:lang
attribute or null if xml:lang
is undefined.
getLanguage
in interface Element
getLanguage
in class FOMElement
public Object clone()
Base
clone
in interface Base
clone
in class FOMElement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |