public class Is24XmlUtils extends Object
Modifier and Type | Field and Description |
---|---|
static ObjectFactory |
FACTORY
the factory for creation of JAXB objects
|
static String |
NAMESPACE
the XML target namespace of this format
|
static String |
PACKAGE
the package, where generated JAXB classes are located
|
static String |
VERSION
the latest implemented version of this format
|
public static final String VERSION
public static final String NAMESPACE
public static final String PACKAGE
public static final ObjectFactory FACTORY
public static Is24XmlDocument createDocument(InputStream input) throws SAXException, IOException, ParserConfigurationException
Is24XmlDocument
from an InputStream
.input
- XML inputSAXException
- if XML is invalidIOException
- if reading failedParserConfigurationException
- if the parser is not properly configuredpublic static Is24XmlDocument createDocument(File xmlFile) throws SAXException, IOException, ParserConfigurationException
Is24XmlDocument
from a File
.xmlFile
- XML fileSAXException
- if XML is invalidIOException
- if reading failedParserConfigurationException
- if the parser is not properly configuredpublic static Is24XmlDocument createDocument(String xmlString) throws SAXException, IOException, ParserConfigurationException
Is24XmlDocument
from a String
.xmlString
- XML stringSAXException
- if XML is invalidIOException
- if reading failedParserConfigurationException
- if the parser is not properly configuredpublic static Is24XmlDocument createDocument(Document doc)
Is24XmlDocument
from a Document
.doc
- XML documentpublic static Marshaller createMarshaller() throws JAXBException
Marshaller
to write JAXB objects into XML.JAXBException
- if a problem with JAXB occuredpublic static Marshaller createMarshaller(String encoding, boolean formatted) throws JAXBException
Marshaller
to write JAXB objects into XML.encoding
- encoding of written XMLformatted
- if written XML is pretty printedJAXBException
- if a problem with JAXB occuredpublic static Unmarshaller createUnmarshaller() throws JAXBException
Unmarshaller
to read JAXB objects from XML.JAXBException
- if a problem with JAXB occuredpublic static JAXBContext getContext() throws JAXBException
JAXBContext
for this format.JAXBException
- if a problem with JAXB occuredpublic static DateFormat getDateFormat()
public static ObjectFactory getFactory()
ObjectFactory
for this format.public static void initContext(ClassLoader classloader) throws JAXBException
JAXBContext
for this format.classloader
- the classloader to load the generated JAXB classes withJAXBException
- if a problem with JAXB occuredpublic static BigDecimal parsePreisAufAnfrage(String value)
public static BigInteger parseZahl20(String value)
public static BigDecimal parseZahl31(String value)
public static BigDecimal parseZahl32(String value)
public static BigDecimal parseZahl42(String value)
public static BigDecimal parseZahl52(String value)
public static BigDecimal parseZahl62(String value)
public static BigDecimal parseZahl72(String value)
public static BigDecimal parseZahl102(String value)
public static BigDecimal parseZahl152(String value)
public static BigDecimal parseZimmeranzahl(String value)
public static String printPreisAufAnfrage(BigDecimal value)
public static String printZahl20(BigInteger value)
public static String printZahl31(BigDecimal value)
public static String printZahl32(BigDecimal value)
public static String printZahl42(BigDecimal value)
public static String printZahl52(BigDecimal value)
public static String printZahl62(BigDecimal value)
public static String printZahl72(BigDecimal value)
public static String printZahl102(BigDecimal value)
public static String printZahl152(BigDecimal value)
public static String printZimmeranzahl(BigDecimal value)
Copyright © 2017 OpenEstate. All rights reserved.