接口的使用
javax.xml.stream.events.Attribute
使用 Attribute 的包
-
Attribute 在 javax.xml.stream 中的用法
javax.xml.stream 中返回 Attribute 的方法修饰符和类型方法描述abstract Attribute
XMLEventFactory.createAttribute
(String localName, String value) 创建新属性abstract Attribute
XMLEventFactory.createAttribute
(String prefix, String namespaceURI, String localName, String value) 创建新属性abstract Attribute
XMLEventFactory.createAttribute
(QName name, String value) 创建新属性javax.xml.stream 中的方法参数,类型参数为 Attribute修饰符和类型方法描述abstract StartElement
XMLEventFactory.createStartElement
(String prefix, String namespaceUri, String localName, Iterator<? extends Attribute> attributes, Iterator<? extends Namespace> namespaces) 创建一个新的 StartElement。abstract StartElement
XMLEventFactory.createStartElement
(String prefix, String namespaceUri, String localName, Iterator<? extends Attribute> attributes, Iterator<? extends Namespace> namespaces, NamespaceContext context) 创建一个新的 StartElement。abstract StartElement
XMLEventFactory.createStartElement
(QName name, Iterator<? extends Attribute> attributes, Iterator<? extends Namespace> namespaces) 创建一个新的 StartElement。 -
Attribute 在 javax.xml.stream.events 中的用法
javax.xml.stream.events 中 Attribute 的子接口javax.xml.stream.events 中返回 Attribute 的方法返回类型中包含 Attribute 类型参数的 javax.xml.stream.events 中的方法