本文整理了Java中org.openestate.io.core.XmlValidationHandler.<init>()
方法的一些代码示例,展示了XmlValidationHandler.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XmlValidationHandler.<init>()
方法的具体详情如下:
包路径:org.openestate.io.core.XmlValidationHandler
类名称:XmlValidationHandler
方法名:<init>
暂无
代码示例来源:origin: org.openestate.io/OpenEstate-IO-ImmobiliareIT
/**
* Creates a {@link Unmarshaller} to read JAXB objects from XML.
*
* @return created unmarshaller
* @throws JAXBException if a problem with JAXB occurred
*/
public static Unmarshaller createUnmarshaller() throws JAXBException {
Unmarshaller m = getContext().createUnmarshaller();
m.setEventHandler(new XmlValidationHandler());
return m;
}
代码示例来源:origin: org.openestate.io/OpenEstate-IO-ImmobiliareIT
/**
* Creates a {@link Marshaller} to write JAXB objects into XML.
*
* @param encoding encoding of written XML
* @param formatted if written XML is pretty printed
* @return created marshaller
* @throws JAXBException if a problem with JAXB occurred
*/
public static Marshaller createMarshaller(String encoding, boolean formatted) throws JAXBException {
Marshaller m = getContext().createMarshaller();
m.setProperty(Marshaller.JAXB_ENCODING, encoding);
m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, formatted);
m.setEventHandler(new XmlValidationHandler());
return m;
}
代码示例来源:origin: org.openestate.io/OpenEstate-IO-CasaIT
/**
* Creates a {@link Unmarshaller} to read JAXB objects from XML.
*
* @return created unmarshaller
* @throws JAXBException if a problem with JAXB occurred
*/
public static Unmarshaller createUnmarshaller() throws JAXBException {
Unmarshaller m = getContext().createUnmarshaller();
m.setEventHandler(new XmlValidationHandler());
return m;
}
代码示例来源:origin: org.openestate.io/OpenEstate-IO-Filemaker
/**
* Creates a {@link Unmarshaller} to read JAXB objects from XML.
*
* @return created unmarshaller
* @throws JAXBException if a problem with JAXB occurred
*/
public static Unmarshaller createUnmarshaller() throws JAXBException {
Unmarshaller m = getContext().createUnmarshaller();
m.setEventHandler(new XmlValidationHandler());
return m;
}
代码示例来源:origin: org.openestate.io/OpenEstate-IO-ImmoXML
/**
* Creates a {@link Unmarshaller} to read JAXB objects from XML.
*
* @return created unmarshaller
* @throws JAXBException if a problem with JAXB occurred
*/
public static Unmarshaller createUnmarshaller() throws JAXBException {
Unmarshaller m = getContext().createUnmarshaller();
m.setEventHandler(new XmlValidationHandler());
return m;
}
代码示例来源:origin: org.openestate.io/OpenEstate-IO-Kyero
/**
* Creates a {@link Unmarshaller} to read JAXB objects from XML.
*
* @return created unmarshaller
* @throws JAXBException if a problem with JAXB occurred
*/
public static Unmarshaller createUnmarshaller() throws JAXBException {
Unmarshaller m = getContext().createUnmarshaller();
m.setEventHandler(new XmlValidationHandler());
return m;
}
代码示例来源:origin: org.openestate.io/OpenEstate-IO-WisIT
/**
* Creates a {@link Unmarshaller} to read JAXB objects from XML.
*
* @return created unmarshaller
* @throws JAXBException if a problem with JAXB occurred
*/
public static Unmarshaller createUnmarshaller() throws JAXBException {
Unmarshaller m = getContext().createUnmarshaller();
m.setEventHandler(new XmlValidationHandler());
return m;
}
代码示例来源:origin: org.openestate.io/OpenEstate-IO-OpenImmo
/**
* Creates a {@link Marshaller} to write JAXB objects into XML.
*
* @param encoding encoding of written XML
* @param formatted if written XML is pretty printed
* @return created marshaller
* @throws JAXBException if a problem with JAXB occurred
*/
@SuppressWarnings("Duplicates")
public static Marshaller createMarshaller(String encoding, boolean formatted) throws JAXBException {
Marshaller m = getContext().createMarshaller();
m.setProperty(Marshaller.JAXB_ENCODING, encoding);
m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, formatted);
m.setEventHandler(new XmlValidationHandler());
return m;
}
代码示例来源:origin: org.openestate.io/OpenEstate-IO-Filemaker
/**
* Creates a {@link Marshaller} to write JAXB objects into XML.
*
* @param encoding encoding of written XML
* @param formatted if written XML is pretty printed
* @return created marshaller
* @throws JAXBException if a problem with JAXB occurred
*/
@SuppressWarnings("Duplicates")
public static Marshaller createMarshaller(String encoding, boolean formatted) throws JAXBException {
Marshaller m = getContext().createMarshaller();
m.setProperty(Marshaller.JAXB_ENCODING, encoding);
m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, formatted);
m.setEventHandler(new XmlValidationHandler());
return m;
}
代码示例来源:origin: org.openestate.io/OpenEstate-IO-Trovit
/**
* Creates a {@link Marshaller} to write JAXB objects into XML.
*
* @param encoding encoding of written XML
* @param formatted if written XML is pretty printed
* @return created marshaller
* @throws JAXBException if a problem with JAXB occurred
*/
@SuppressWarnings("Duplicates")
public static Marshaller createMarshaller(String encoding, boolean formatted) throws JAXBException {
Marshaller m = getContext().createMarshaller();
m.setProperty(Marshaller.JAXB_ENCODING, encoding);
m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, formatted);
m.setEventHandler(new XmlValidationHandler());
return m;
}
代码示例来源:origin: org.openestate.io/OpenEstate-IO-Kyero
/**
* Creates a {@link Marshaller} to write JAXB objects into XML.
*
* @param encoding encoding of written XML
* @param formatted if written XML is pretty printed
* @return created marshaller
* @throws JAXBException if a problem with JAXB occurred
*/
@SuppressWarnings("Duplicates")
public static Marshaller createMarshaller(String encoding, boolean formatted) throws JAXBException {
Marshaller m = getContext().createMarshaller();
m.setProperty(Marshaller.JAXB_ENCODING, encoding);
m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, formatted);
m.setEventHandler(new XmlValidationHandler());
return m;
}
代码示例来源:origin: org.openestate.io/OpenEstate-IO-ImmoXML
/**
* Creates a {@link Marshaller} to write JAXB objects into XML.
*
* @param encoding encoding of written XML
* @param formatted if written XML is pretty printed
* @return created marshaller
* @throws JAXBException if a problem with JAXB occurred
*/
@SuppressWarnings("Duplicates")
public static Marshaller createMarshaller(String encoding, boolean formatted) throws JAXBException {
Marshaller m = getContext().createMarshaller();
m.setProperty(Marshaller.JAXB_ENCODING, encoding);
m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, formatted);
m.setEventHandler(new XmlValidationHandler());
return m;
}
代码示例来源:origin: org.openestate.io/OpenEstate-IO-Trovit
/**
* Creates a {@link Unmarshaller} to read JAXB objects from XML.
*
* @return created unmarshaller
* @throws JAXBException if a problem with JAXB occurred
*/
public static Unmarshaller createUnmarshaller() throws JAXBException {
Unmarshaller m = getContext().createUnmarshaller();
m.setEventHandler(new XmlValidationHandler());
return m;
}
代码示例来源:origin: org.openestate.io/OpenEstate-IO-DaftIE
/**
* Creates a {@link Unmarshaller} to read JAXB objects from XML.
*
* @return created unmarshaller
* @throws JAXBException if a problem with JAXB occurred
*/
public static Unmarshaller createUnmarshaller() throws JAXBException {
Unmarshaller m = getContext().createUnmarshaller();
m.setEventHandler(new XmlValidationHandler());
return m;
}
代码示例来源:origin: org.openestate.io/OpenEstate-IO-OpenImmo
/**
* Creates a {@link Unmarshaller} to read JAXB objects from XML.
*
* @return created unmarshaller
* @throws JAXBException if a problem with JAXB occurred
*/
public static Unmarshaller createUnmarshaller() throws JAXBException {
Unmarshaller m = getContext().createUnmarshaller();
m.setEventHandler(new XmlValidationHandler());
return m;
}
代码示例来源:origin: org.openestate.io/OpenEstate-IO-IS24-XML
/**
* Creates a {@link Unmarshaller} to read JAXB objects from XML.
*
* @return created unmarshaller
* @throws JAXBException if a problem with JAXB occurred
*/
public static Unmarshaller createUnmarshaller() throws JAXBException {
Unmarshaller m = getContext().createUnmarshaller();
m.setEventHandler(new XmlValidationHandler());
return m;
}
代码示例来源:origin: org.openestate.io/OpenEstate-IO-CasaIT
/**
* Creates a {@link Marshaller} to write JAXB objects into XML.
*
* @param encoding encoding of written XML
* @param formatted if written XML is pretty printed
* @return created marshaller
* @throws JAXBException if a problem with JAXB occurred
*/
@SuppressWarnings("Duplicates")
public static Marshaller createMarshaller(String encoding, boolean formatted) throws JAXBException {
Marshaller m = getContext().createMarshaller();
m.setProperty(Marshaller.JAXB_ENCODING, encoding);
m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, formatted);
m.setEventHandler(new XmlValidationHandler());
return m;
}
代码示例来源:origin: org.openestate.io/OpenEstate-IO-IS24-XML
/**
* Creates a {@link Marshaller} to write JAXB objects into XML.
*
* @param encoding encoding of written XML
* @param formatted if written XML is pretty printed
* @return created marshaller
* @throws JAXBException if a problem with JAXB occurred
*/
@SuppressWarnings("Duplicates")
public static Marshaller createMarshaller(String encoding, boolean formatted) throws JAXBException {
Marshaller m = getContext().createMarshaller();
m.setProperty(Marshaller.JAXB_ENCODING, encoding);
m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, formatted);
m.setEventHandler(new XmlValidationHandler());
return m;
}
代码示例来源:origin: org.openestate.io/OpenEstate-IO-WisIT
/**
* Creates a {@link Marshaller} to write JAXB objects into XML.
*
* @param encoding encoding of written XML
* @param formatted if written XML is pretty printed
* @return created marshaller
* @throws JAXBException if a problem with JAXB occurred
*/
@SuppressWarnings("Duplicates")
public static Marshaller createMarshaller(String encoding, boolean formatted) throws JAXBException {
Marshaller m = getContext().createMarshaller();
m.setProperty(Marshaller.JAXB_ENCODING, encoding);
m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, formatted);
m.setEventHandler(new XmlValidationHandler());
return m;
}
代码示例来源:origin: org.openestate.io/OpenEstate-IO-DaftIE
/**
* Creates a {@link Marshaller} to write JAXB objects into XML.
*
* @param encoding encoding of written XML
* @param formatted if written XML is pretty printed
* @return created marshaller
* @throws JAXBException if a problem with JAXB occurred
*/
@SuppressWarnings("Duplicates")
public static Marshaller createMarshaller(String encoding, boolean formatted) throws JAXBException {
Marshaller m = getContext().createMarshaller();
m.setProperty(Marshaller.JAXB_ENCODING, encoding);
m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, formatted);
m.setEventHandler(new XmlValidationHandler());
return m;
}
内容来源于网络,如有侵权,请联系作者删除!