| Modifier and Type | Method and Description |
|---|---|
IMicroElement |
IMicroNode.appendElement(IHasElementName aElementNameProvider)
Append an element without namespace to this node.
|
IMicroElement |
IMicroNode.appendElement(String sTagName)
Append an element without namespace to this node.
|
IMicroElement |
IMicroNode.appendElement(String sNamespaceURI,
IHasElementName aElementNameProvider)
Append an element with namespace to this node.
|
IMicroElement |
IMicroNode.appendElement(String sNamespaceURI,
String sTagName)
Append an element with namespace to this node.
|
IMicroElement |
IMicroElement.getClone() |
IMicroElement |
IMicroDocument.getDocumentElement() |
IMicroElement |
IMicroElement.getFirstChildElement()
Get the first child element of this element.
|
IMicroElement |
IMicroElement.getFirstChildElement(IHasElementName aElementNameProvider)
Get the first child element with the given tag name.
|
IMicroElement |
IMicroElement.getFirstChildElement(String sTagName)
Get the first child element with the given tag name.
|
IMicroElement |
IMicroElement.getFirstChildElement(String sNamespaceURI,
IHasElementName aElementNameProvider)
Get the first child element with the given tag name and the given
namespace.
|
IMicroElement |
IMicroElement.getFirstChildElement(String sNamespaceURI,
String sLocalName)
Get the first child element with the given tag name and the given
namespace.
|
IMicroElement |
IMicroNode.getParentElementWithName(String sTagName) |
IMicroElement |
IMicroNode.getParentElementWithName(String sNamespaceURI,
String sTagName) |
IMicroElement |
IMicroElement.setAttribute(String sAttrName,
IHasAttributeValue aAttrValueProvider)
Set an attribute value of this element.
|
IMicroElement |
IMicroElement.setAttribute(String sAttrName,
int nAttrValue)
Set an attribute value of this element.
|
IMicroElement |
IMicroElement.setAttribute(String sAttrName,
long nAttrValue)
Set an attribute value of this element.
|
IMicroElement |
IMicroElement.setAttribute(String sAttrName,
String sAttrValue)
Set an attribute value of this element.
|
IMicroElement |
IMicroElement.setAttributeWithConversion(String sAttrName,
Object aAttrValue)
Set an attribute value of this element.
|
| Modifier and Type | Method and Description |
|---|---|
List<IMicroElement> |
IMicroElement.getAllChildElements()
Get a list of all direct child elements.
|
List<IMicroElement> |
IMicroElement.getAllChildElements(IHasElementName aElementNameProvider)
Get a list of all direct child elements having the specified tag name.
|
List<IMicroElement> |
IMicroElement.getAllChildElements(String sTagName)
Get a list of all direct child elements having the specified tag name.
|
List<IMicroElement> |
IMicroElement.getAllChildElements(String sNamespaceURI,
IHasElementName aElementNameProvider)
Get a list of all direct child elements having the specified namespace and
the specified tag name.
|
List<IMicroElement> |
IMicroElement.getAllChildElements(String sNamespaceURI,
String sLocalName)
Get a list of all direct child elements having the specified namespace and
the specified tag name.
|
List<IMicroElement> |
IMicroElement.getAllChildElementsRecursive()
Recursively get all child elements.
|
| Modifier and Type | Method and Description |
|---|---|
static IMicroElement |
MicroTypeConverter.convertToMicroElement(Object aObject,
String sTagName) |
static IMicroElement |
MicroTypeConverter.convertToMicroElement(Object aObject,
String sNamespaceURI,
String sTagName) |
IMicroElement |
IMicroTypeConverter.convertToMicroElement(Object aObject,
String sNamespaceURI,
String sTagName)
Convert the passed object to a micro element using the specified tag name
|
| Modifier and Type | Method and Description |
|---|---|
Object |
IMicroTypeConverter.convertToNative(IMicroElement aElement)
Convert the passed object to a native element.
|
static <DSTTYPE> DSTTYPE |
MicroTypeConverter.convertToNative(IMicroElement aElement,
Class<DSTTYPE> aDstClass) |
| Modifier and Type | Method and Description |
|---|---|
IMicroElement |
StringMicroTypeConverter.convertToMicroElement(Object aObject,
String sNamespaceURI,
String sTagName) |
IMicroElement |
StringBasedMicroTypeConverter.convertToMicroElement(Object aObject,
String sNamespaceURI,
String sTagName) |
| Modifier and Type | Method and Description |
|---|---|
String |
StringMicroTypeConverter.convertToNative(IMicroElement aElement) |
Object |
StringBasedMicroTypeConverter.convertToNative(IMicroElement aElement) |
| Modifier and Type | Class and Description |
|---|---|
class |
MicroElement
Default implementation of the
IMicroElement interface. |
| Modifier and Type | Method and Description |
|---|---|
List<IMicroElement> |
MicroElement.getAllChildElements() |
List<IMicroElement> |
MicroElement.getAllChildElements(IHasElementName aElementNameProvider) |
List<IMicroElement> |
MicroElement.getAllChildElements(String sTagName) |
List<IMicroElement> |
MicroElement.getAllChildElements(String sNamespaceURI,
IHasElementName aElementNameProvider) |
List<IMicroElement> |
MicroElement.getAllChildElements(String sNamespaceURI,
String sLocalName) |
List<IMicroElement> |
MicroElement.getAllChildElementsRecursive() |
| Modifier and Type | Method and Description |
|---|---|
static ESuccess |
XMLListHandler.readList(IMicroElement aParentElement,
Collection<String> aTargetList) |
static ESuccess |
XMLMapHandler.readMap(IMicroElement aParentElement,
Map<String,String> aTargetMap) |
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends IMicroElement> |
ChildrenProviderElementWithName.getChildren(IMicroElement aCurrent) |
| Modifier and Type | Method and Description |
|---|---|
int |
ChildrenProviderElementWithName.getChildCount(IMicroElement aCurrent) |
Collection<? extends IMicroElement> |
ChildrenProviderElementWithName.getChildren(IMicroElement aCurrent) |
static String |
MicroUtils.getChildTextContent(IMicroElement eParentElement,
String sChildElementName)
Helper method to extract the text content of the child element denoted by
the parameter sChildElementName of the passed parent element.
|
static String |
MicroUtils.getChildTextContent(IMicroElement eParentElement,
String sNamespaceURI,
String sChildElementName)
Helper method to extract the text content of the child element denoted by
the parameters sNamespaceURI and sChildElementName of the passed parent
element.
|
static String |
MicroUtils.getChildTextContentTrimmed(IMicroElement eParentElement,
String sChildElementName)
Helper method to extract the text content of the child element denoted by
the parameter sChildElementName of the passed parent element.
|
static String |
MicroUtils.getChildTextContentTrimmed(IMicroElement eParentElement,
String sNamespaceURI,
String sChildElementName)
Helper method to extract the text content of the child element denoted by
the parameters sNamespaceURI and sChildElementName of the passed parent
element.
|
static <DSTTYPE> DSTTYPE |
MicroUtils.getChildTextContentWithConversion(IMicroElement eParentElement,
String sChildElementName,
Class<DSTTYPE> aDstClass)
Helper method to extract the text content of the child element denoted by
the parameter sChildElementName of the passed parent element.
|
static <DSTTYPE> DSTTYPE |
MicroUtils.getChildTextContentWithConversion(IMicroElement eParentElement,
String sNamespaceURI,
String sChildElementName,
Class<DSTTYPE> aDstClass)
Helper method to extract the text content of the child element denoted by
the parameters sNamespaceURI and sChildElementName of the passed parent
element.
|
boolean |
ChildrenProviderElementWithName.hasChildren(IMicroElement aCurrent) |
| Modifier and Type | Method and Description |
|---|---|
IMicroElement |
StatisticsVisitorToXML.getRoot() |
| Constructor and Description |
|---|
StatisticsVisitorToXML(IMicroElement eRoot) |
| Modifier and Type | Method and Description |
|---|---|
static <DATATYPE,ITEMTYPE extends ITreeItem<DATATYPE,ITEMTYPE>> |
TreeXMLConverter.getTreeAsXML(IBasicTree<DATATYPE,ITEMTYPE> aTree,
Comparator<? super ITEMTYPE> aItemComparator,
IConverterTreeItemToMicroNode<? super DATATYPE> aDataConverter) |
static <KEYTYPE,DATATYPE,ITEMTYPE extends ITreeItemWithID<KEYTYPE,DATATYPE,ITEMTYPE>> |
TreeXMLConverter.getTreeWithIDAsXML(IBasicTree<DATATYPE,ITEMTYPE> aTree,
Comparator<? super ITEMTYPE> aItemComparator,
IUnidirectionalConverter<KEYTYPE,String> aIDConverter,
IConverterTreeItemToMicroNode<? super DATATYPE> aDataConverter) |
static <DATATYPE,ITEMTYPE extends ITreeItemWithID<String,DATATYPE,ITEMTYPE>> |
TreeXMLConverter.getTreeWithStringIDAsXML(IBasicTree<DATATYPE,ITEMTYPE> aTree,
IConverterTreeItemToMicroNode<? super DATATYPE> aConverter)
Specialized conversion method for converting a tree with ID to a
standardized XML tree.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MicroTypeConverterTreeXML.appendDataValue(IMicroElement eDataElement,
DATATYPE aObject) |
void |
IConverterTreeItemToMicroNode.appendDataValue(IMicroElement eDataElement,
DATATYPE aObject) |
DATATYPE |
MicroTypeConverterTreeXML.getAsDataValue(IMicroElement eDataElement) |
DATATYPE |
IConverterMicroNodeToTreeItem.getAsDataValue(IMicroElement eDataElement) |
static <KEYTYPE,DATATYPE> |
TreeXMLConverter.getXMLAsTreeWithID(IMicroElement aElement,
IUnidirectionalConverter<String,KEYTYPE> aIDConverter,
IConverterMicroNodeToTreeItem<? extends DATATYPE> aDataConverter) |
static <KEYTYPE,DATATYPE> |
TreeXMLConverter.getXMLAsTreeWithUniqueID(IMicroElement aElement,
IUnidirectionalConverter<String,KEYTYPE> aIDConverter,
IConverterMicroNodeToTreeItem<? extends DATATYPE> aDataConverter) |
static <DATATYPE> DefaultTreeWithGlobalUniqueID<String,DATATYPE> |
TreeXMLConverter.getXMLAsTreeWithUniqueStringID(IMicroElement aElement,
IConverterMicroNodeToTreeItem<? extends DATATYPE> aDataConverter) |
Copyright © 2006–2014 phloc systems. All rights reserved.