类 AbstractBinder

  • 所有已实现的接口:
    Binder
    直接已知子类:
    MappingBinder

    public abstract class AbstractBinder
    extends Object
    implements Binder
    作者:
    Steve Ebersole
    • 构造器详细资料

      • AbstractBinder

        protected AbstractBinder​(ClassLoaderService classLoaderService,
                                 boolean validateXml)
    • 方法详细资料

      • isValidationEnabled

        public boolean isValidationEnabled()
      • bind

        public Binding bind​(InputStream stream,
                            Origin origin)
        从接口复制的说明: Binder
        Bind from an InputStream
        指定者:
        bind 在接口中 Binder
        参数:
        stream - The InputStream containing XML
        origin - The descriptor of the stream origin
        返回:
        The bound JAXB model
      • bind

        public Binding bind​(Source source,
                            Origin origin)
        从接口复制的说明: Binder
        Bind from an XML source.
        指定者:
        bind 在接口中 Binder
        参数:
        source - The XML source.
        origin - The descriptor of the source origin
        返回:
        The bound JAXB model
      • hasNamespace

        protected static boolean hasNamespace​(StartElement startElement)