Package kz.greetgo.xml.dom.impl
Class XmlTagImpl
java.lang.Object
kz.greetgo.xml.dom.impl.XmlTagImpl
- All Implemented Interfaces:
XmlTag
-
Constructor Summary
ConstructorsConstructorDescriptionXmlTagImpl(@NonNull XmlTagImpl bro, @NonNull Element tag) XmlTagImpl(@NonNull Document document, @NonNull Element tag) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddNamespacePrefix(String namespaceUri, String alias) appendNewTag(@NonNull String tagName) children()getAttribute(@NonNull String attrName) outerXml()static @NonNull XmlTagImplparseXmlText(String xmlText) removeAttribute(String attrName) static @NonNull XmlTagImplsetAttribute(@NonNull String attrName, String attrValue) setInnerText(String innerText) tagName()
-
Constructor Details
-
XmlTagImpl
-
XmlTagImpl
-
-
Method Details
-
namespaceUriToPrefix
- Specified by:
namespaceUriToPrefixin interfaceXmlTag
-
parseXmlText
-
root
@NonNull public static @NonNull XmlTagImpl root(String namespaceUri, @NonNull @NonNull String qName) -
outerXml
-
outerXmlPretty
- Specified by:
outerXmlPrettyin interfaceXmlTag
-
addNamespacePrefix
- Specified by:
addNamespacePrefixin interfaceXmlTag
-
gotoTag
-
getInnerText
- Specified by:
getInnerTextin interfaceXmlTag
-
setInnerText
- Specified by:
setInnerTextin interfaceXmlTag
-
append
-
appendNewTag
- Specified by:
appendNewTagin interfaceXmlTag
-
setAttribute
- Specified by:
setAttributein interfaceXmlTag
-
getAttribute
- Specified by:
getAttributein interfaceXmlTag
-
removeAttribute
- Specified by:
removeAttributein interfaceXmlTag
-
children
-
tagName
-