Uses of Interface
org.xmlpull.v1.builder.XmlElement
-
Packages that use XmlElement Package Description org.xmlpull.v1.builder This package defines API modeled after XML Information Set for building incrmentally XML trees from events streamed from pull parser (user can start navigating tree before whole XML input was parsed!) and has an unique ability to bypass tree building for selected sub trees to work directly with underlying event stream.org.xmlpull.v1.builder.adapter org.xmlpull.v1.builder.impl -
-
Uses of XmlElement in org.xmlpull.v1.builder
Methods in org.xmlpull.v1.builder that return XmlElement Modifier and Type Method Description XmlElementXmlDocument. addDocumentElement(String name)XmlElementXmlDocument. addDocumentElement(XmlNamespace namespace, String name)XmlElementXmlElement. addElement(int pos, XmlElement child)Method addElementXmlElementXmlElement. addElement(String name)Method addElementXmlElementXmlElement. addElement(XmlElement el)NOTE: the child element must unattached to be added (it is atttached if it is XmlContainer of recognized type and getParent() != null)XmlElementXmlElement. addElement(XmlNamespace namespace, String name)Method addElementXmlElementXmlDocument. element(XmlNamespace n, String name)XmlElementXmlDocument. element(XmlNamespace n, String name, boolean create)XmlElementXmlElement. element(int position)return element at poition (0..count-1) or IndexOutOfBoundsException if positon incorrectXmlElementXmlElement. element(XmlNamespace n, String name)find first element with name and namespace (if namespace is null it is ignored in search)XmlElementXmlElement. element(XmlNamespace n, String name, boolean create)find first element with name and namespace (if namespace is null it is ignored in search) if no matching element is found then new element is created, appended to children, and returnedXmlElementXmlElement. findElementByName(String name)Deprecated.see element()XmlElementXmlElement. findElementByName(String namespaceName, String name)Deprecated.see element()XmlElementXmlElement. findElementByName(String namespaceName, String name, XmlElement elementToStartLooking)Deprecated.see elements()XmlElementXmlElement. findElementByName(String name, XmlElement elementToStartLooking)Deprecated.see elements()XmlElementXmlDocument. getDocumentElement()XmlElementXmlAttribute. getOwner()XML Infoset [owner element] propertyXmlElementXmlUnexpandedEntityReference. getParent()XmlElementXmlElement. newElement(String name)Create unattached elementXmlElementXmlElement. newElement(String namespaceName, String name)Method newElementXmlElementXmlElement. newElement(XmlNamespace namespace, String name)Method newElementabstract XmlElementXmlInfosetBuilder. newFragment(String elementName)Create XML fragment that is not associated with any document.abstract XmlElementXmlInfosetBuilder. newFragment(String elementNamespace, String elementName)Create XML fragment that is not associated with any document.abstract XmlElementXmlInfosetBuilder. newFragment(XmlNamespace elementNamespace, String elementName)Create XML fragment that is not associated with any document.XmlElementXmlInfosetBuilder. parseFragementFromInputStream(InputStream is, String encoding)Parse input stream to create XML fragment using specified encoding.abstract XmlElementXmlInfosetBuilder. parseFragment(XmlPullParser sourceForXml)Parse fragment - parser must be on START_TAG.XmlElementXmlInfosetBuilder. parseFragmentFromInputStream(InputStream is)Parse input stream to create XML fragment.XmlElementXmlInfosetBuilder. parseFragmentFromReader(Reader reader)Parse reader to create XML fragment.abstract XmlElementXmlInfosetBuilder. parseStartTag(XmlPullParser pp)Parser must be on START_TAG and this method will convert START_TAG content into XmlELement.XmlElementXmlDocument. requiredElement(XmlNamespace n, String name)XmlElementXmlElement. requiredElement(XmlNamespace n, String name)call element(n, name) and if null was returnedthrow XmlBuilderExceptionMethods in org.xmlpull.v1.builder with parameters of type XmlElement Modifier and Type Method Description XmlElementXmlElement. addElement(int pos, XmlElement child)Method addElementXmlElementXmlElement. addElement(XmlElement el)NOTE: the child element must unattached to be added (it is atttached if it is XmlContainer of recognized type and getParent() != null)XmlElementXmlElement. findElementByName(String namespaceName, String name, XmlElement elementToStartLooking)Deprecated.see elements()XmlElementXmlElement. findElementByName(String name, XmlElement elementToStartLooking)Deprecated.see elements()abstract voidXmlInfosetBuilder. serializeEndTag(XmlElement el, XmlSerializer ser)Write XML end tag with information provided in XML element.abstract voidXmlInfosetBuilder. serializeStartTag(XmlElement el, XmlSerializer ser)Write XML start tag with information provided in XML element.voidXmlDocument. setDocumentElement(XmlElement rootElement) -
Uses of XmlElement in org.xmlpull.v1.builder.adapter
Classes in org.xmlpull.v1.builder.adapter that implement XmlElement Modifier and Type Class Description classXmlElementAdapterMethods in org.xmlpull.v1.builder.adapter that return XmlElement Modifier and Type Method Description XmlElementXmlDocumentAdapter. addDocumentElement(String name)XmlElementXmlDocumentAdapter. addDocumentElement(XmlNamespace namespace, String name)XmlElementXmlElementAdapter. addElement(int pos, XmlElement child)XmlElementXmlElementAdapter. addElement(String name)XmlElementXmlElementAdapter. addElement(XmlElement child)XmlElementXmlElementAdapter. addElement(XmlNamespace namespace, String name)XmlElementXmlDocumentAdapter. element(XmlNamespace n, String name)XmlElementXmlDocumentAdapter. element(XmlNamespace n, String name, boolean create)XmlElementXmlElementAdapter. element(int position)XmlElementXmlElementAdapter. element(XmlNamespace n, String name)XmlElementXmlElementAdapter. element(XmlNamespace n, String name, boolean create)XmlElementXmlElementAdapter. findElementByName(String name)XmlElementXmlElementAdapter. findElementByName(String namespaceName, String name)XmlElementXmlElementAdapter. findElementByName(String namespaceName, String name, XmlElement elementToStartLooking)XmlElementXmlElementAdapter. findElementByName(String name, XmlElement elementToStartLooking)XmlElementXmlDocumentAdapter. getDocumentElement()XmlElementXmlAttributeAdapter. getOwner()XmlElementXmlElementAdapter. getTarget()XmlElementXmlElementAdapter. newElement(String name)XmlElementXmlElementAdapter. newElement(String namespaceName, String name)XmlElementXmlElementAdapter. newElement(XmlNamespace namespace, String name)XmlElementXmlDocumentAdapter. requiredElement(XmlNamespace n, String name)XmlElementXmlElementAdapter. requiredElement(XmlNamespace n, String name)Methods in org.xmlpull.v1.builder.adapter with parameters of type XmlElement Modifier and Type Method Description XmlElementXmlElementAdapter. addElement(int pos, XmlElement child)XmlElementXmlElementAdapter. addElement(XmlElement child)static XmlElementAdapterXmlElementAdapter. castOrWrap(XmlElement el, Class adapterClass)XmlElementXmlElementAdapter. findElementByName(String namespaceName, String name, XmlElement elementToStartLooking)XmlElementXmlElementAdapter. findElementByName(String name, XmlElement elementToStartLooking)voidXmlDocumentAdapter. setDocumentElement(XmlElement rootElement)Constructors in org.xmlpull.v1.builder.adapter with parameters of type XmlElement Constructor Description XmlElementAdapter(XmlElement target) -
Uses of XmlElement in org.xmlpull.v1.builder.impl
Classes in org.xmlpull.v1.builder.impl that implement XmlElement Modifier and Type Class Description classXmlElementImplThis is implementation if XML Infoset Element Information Item.Methods in org.xmlpull.v1.builder.impl that return XmlElement Modifier and Type Method Description XmlElementXmlDocumentImpl. addDocumentElement(String name)XmlElementXmlDocumentImpl. addDocumentElement(XmlNamespace namespace, String name)XmlElementXmlElementImpl. addElement(int pos, XmlElement element)XmlElementXmlElementImpl. addElement(String name)XmlElementXmlElementImpl. addElement(XmlElement element)XmlElementXmlElementImpl. addElement(XmlNamespace namespace, String name)XmlElementXmlDocumentImpl. element(XmlNamespace n, String name)XmlElementXmlDocumentImpl. element(XmlNamespace namespace, String name, boolean create)XmlElementXmlElementImpl. element(int position)XmlElementXmlElementImpl. element(XmlNamespace n, String name)XmlElementXmlElementImpl. element(XmlNamespace n, String name, boolean create)XmlElementXmlElementImpl. findElementByName(String name)XmlElementXmlElementImpl. findElementByName(String namespaceName, String name)XmlElementXmlElementImpl. findElementByName(String namespaceName, String name, XmlElement elementToStartLooking)XmlElementXmlElementImpl. findElementByName(String name, XmlElement elementToStartLooking)XmlElementXmlDocumentImpl. getDocumentElement()XmlElementXmlAttributeImpl. getOwner()XmlElementXmlElementImpl. newElement(String name)XmlElementXmlElementImpl. newElement(String namespace, String name)XmlElementXmlElementImpl. newElement(XmlNamespace namespace, String name)XmlElementXmlInfosetBuilderImpl. newFragment(String elementName)XmlElementXmlInfosetBuilderImpl. newFragment(String elementNamespaceName, String elementName)XmlElementXmlInfosetBuilderImpl. newFragment(XmlNamespace elementNamespace, String elementName)XmlElementXmlInfosetBuilderImpl. parseFragment(XmlPullParser pp)XmlElementXmlInfosetBuilderImpl. parseStartTag(XmlPullParser pp)XmlElementXmlDocumentImpl. requiredElement(XmlNamespace n, String name)XmlElementXmlElementImpl. requiredElement(XmlNamespace n, String name)Methods in org.xmlpull.v1.builder.impl with parameters of type XmlElement Modifier and Type Method Description XmlElementXmlElementImpl. addElement(int pos, XmlElement element)XmlElementXmlElementImpl. addElement(XmlElement element)XmlElementXmlElementImpl. findElementByName(String namespaceName, String name, XmlElement elementToStartLooking)XmlElementXmlElementImpl. findElementByName(String name, XmlElement elementToStartLooking)voidXmlInfosetBuilderImpl. serializeEndTag(XmlElement el, XmlSerializer ser)voidXmlInfosetBuilderImpl. serializeStartTag(XmlElement el, XmlSerializer ser)voidXmlDocumentImpl. setDocumentElement(XmlElement rootElement)Constructors in org.xmlpull.v1.builder.impl with parameters of type XmlElement Constructor Description XmlAttributeImpl(XmlElement owner, String name, String value)XmlAttributeImpl(XmlElement owner, String type, XmlNamespace namespace, String name, String value)XmlAttributeImpl(XmlElement owner, String type, XmlNamespace namespace, String name, String value, boolean specified)XmlAttributeImpl(XmlElement owner, XmlNamespace namespace, String name, String value)
-