Package org.hl7.fhir.utilities.xml
Interface IXMLWriter
- All Known Implementing Classes:
XMLWriter
public interface IXMLWriter
Generalize
- Author:
- dennisn
-
Method Summary
Modifier and TypeMethodDescriptionbooleanabbreviationDefined(String abbreviation) voidvoidvoidvoidvoidvoidvoidattributeNoLines(String name, String value) booleancanElide()voidvoidvoiddecorate(ElementDecoration decoration) voidvoidvoidvoidvoidvoidvoidelide()voidend()voidvoidvoidvoidvoidescapedText(String content) voidexit()voidvoidvoidexitToLevel(int count) voidexternalLink(String ref) booleanbooleanisPretty()voidvoidvoidbooleannamespaceDefined(String namespace) voidsetDefaultNamespace(String namespace) voidsetPretty(boolean pretty) voidsetSchemaLocation(String ns, String loc) voidstart()voidStart comment inserts a so the comment doesn't close prematurely.voidvoidvoidwriteBytes(byte[] bytes)
-
Method Details
-
start
- Throws:
IOException
-
end
- Throws:
IOException
-
attribute
void attribute(String namespace, String name, String value, boolean onlyIfNotEmpty) throws IOException - Throws:
IOException
-
attribute
- Throws:
IOException
-
attribute
- Throws:
IOException
-
attribute
- Throws:
IOException
-
attributeNoLines
- Throws:
IOException
-
namespaceDefined
-
abbreviationDefined
-
getDefaultNamespace
-
namespace
- Throws:
IOException
-
setDefaultNamespace
- Throws:
IOException
-
namespace
- Throws:
IOException
-
comment
- Throws:
IOException
-
decorate
- Throws:
IOException
-
setSchemaLocation
- Throws:
IOException
-
enter
- Throws:
IOException
-
enter
- Throws:
IOException
-
enter
- Throws:
IOException
-
exit
- Throws:
IOException
-
exit
- Throws:
IOException
-
exit
- Throws:
IOException
-
exitToLevel
- Throws:
IOException
-
element
void element(String namespace, String name, String content, boolean onlyIfNotEmpty) throws IOException - Throws:
IOException
-
element
- Throws:
IOException
-
element
- Throws:
IOException
-
element
- Throws:
IOException
-
element
- Throws:
IOException
-
element
- Throws:
IOException
-
text
- Throws:
IOException
-
text
- Throws:
IOException
-
cData
- Throws:
IOException
-
writeBytes
- Throws:
IOException
-
isPretty
- Throws:
IOException
-
setPretty
- Throws:
IOException
-
isCanonical
- Throws:
IOException
-
startCommentBlock
Start comment inserts a so the comment doesn't close prematurely.- Throws:
IOException
-
endCommentBlock
- Throws:
IOException
-
escapedText
- Throws:
IOException
-
link
-
anchor
-
externalLink
- Throws:
IOException
-
canElide
boolean canElide() -
elide
- Throws:
IOException
-
attributeElide
void attributeElide()
-