public class XMLParser extends Object
| Constructor and Description |
|---|
XMLParser() |
| Modifier and Type | Method and Description |
|---|---|
XMLTag |
getNextTag(String xml)
Parses the XML string and returns the XMLTag data structure for the first
tag it encounters.
|
public XMLTag getNextTag(String xml) throws XMLException
<one>abc</one><two>def</two>,
XMLTag.name is one, XMLTag.content is abc,
and XMLTag.remainder is <two>def</two>.XMLExceptionCopyright © 2015–2022 SciJava. All rights reserved.