org.openestate.io.core.XmlValidationHandler.<init>()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(9.8k)|赞(0)|评价(0)|浏览(87)

本文整理了Java中org.openestate.io.core.XmlValidationHandler.<init>()方法的一些代码示例,展示了XmlValidationHandler.<init>()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XmlValidationHandler.<init>()方法的具体详情如下:
包路径:org.openestate.io.core.XmlValidationHandler
类名称:XmlValidationHandler
方法名:<init>

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;
}

相关文章

XmlValidationHandler类方法