当前位置: 首页>>代码示例>>Java>>正文


Java DOMStringList类代码示例

本文整理汇总了Java中org.w3c.dom.DOMStringList的典型用法代码示例。如果您正苦于以下问题:Java DOMStringList类的具体用法?Java DOMStringList怎么用?Java DOMStringList使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


DOMStringList类属于org.w3c.dom包,在下文中一共展示了DOMStringList类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getParameterNames

import org.w3c.dom.DOMStringList; //导入依赖的package包/类
public DOMStringList getParameterNames()
{
  String[] names = new String[] {
    "canonical-form",
    "cdata-sections",
    "check-character-normalization",
    "comments",
    "datatype-normalization",
    "element-content-whitespace",
    "entities",
    "error-handler",
    "infoset",
    "namespaces",
    "namespace-declarations",
    "normalize-characters",
    "split-cdata-sections",
    "validate",
    "validate-if-schema",
    "well-formed"
  };
  return new GnomeDOMStringList(names);
}
 
开发者ID:vilie,项目名称:javify,代码行数:23,代码来源:GnomeDocument.java

示例2: getParameterNames

import org.w3c.dom.DOMStringList; //导入依赖的package包/类
/**
 * Returns a DOMStringList of parameter names.
 */
public DOMStringList getParameterNames() {
    if (paramNameList == null) {
        paramNameList = new ParameterNameList();
    }
    return paramNameList;
}
 
开发者ID:git-moss,项目名称:Push2Display,代码行数:10,代码来源:AbstractDocument.java

示例3: getParameterNames

import org.w3c.dom.DOMStringList; //导入依赖的package包/类
public DOMStringList getParameterNames() {
    final String[] result = PARAMETERS.keySet().toArray(new String[PARAMETERS.size()]);
    return new DOMStringList() {
        public String item(int index) {
            return index < result.length ? result[index] : null;
        }
        public int getLength() {
            return result.length;
        }
        public boolean contains(String str) {
            return PARAMETERS.containsKey(str); // case-insensitive.
        }
    };
}
 
开发者ID:thahn0720,项目名称:agui_framework,代码行数:15,代码来源:DOMConfigurationImpl.java

示例4: getDOMStringList

import org.w3c.dom.DOMStringList; //导入依赖的package包/类
public static DOMStringList getDOMStringList(org.oss.pdfreporter.uses.org.w3c.dom.DOMStringList domStringList) {
	if (domStringList==null) return null;
	if (domStringList instanceof DelegatingDOMStringList) {
		return ((DelegatingDOMStringList)domStringList).getDelegate();			
	}
	return new UnmarshallingDOMStringList(domStringList);
}
 
开发者ID:OpenSoftwareSolutions,项目名称:PDFReporter,代码行数:8,代码来源:XmlParserUnmarshaller.java

示例5: getParameterNames

import org.w3c.dom.DOMStringList; //导入依赖的package包/类
/**
 *  DOM Level 3 CR - Experimental.
 *
 *  The list of the parameters supported by this
 * <code>DOMConfiguration</code> object and for which at least one value
 * can be set by the application. Note that this list can also contain
 * parameter names defined outside this specification.
 */
public DOMStringList getParameterNames () {
    if (fRecognizedParameters == null){
        ArrayList parameters = new ArrayList();
        
        // REVISIT: add Xerces recognized properties/features
        parameters.add(Constants.DOM_NAMESPACES);
        parameters.add(Constants.DOM_CDATA_SECTIONS);
        parameters.add(Constants.DOM_CANONICAL_FORM);
        parameters.add(Constants.DOM_NAMESPACE_DECLARATIONS);
        parameters.add(Constants.DOM_SPLIT_CDATA);
        
        parameters.add(Constants.DOM_ENTITIES);
        parameters.add(Constants.DOM_VALIDATE_IF_SCHEMA);
        parameters.add(Constants.DOM_VALIDATE);
        parameters.add(Constants.DOM_DATATYPE_NORMALIZATION);
        
        parameters.add(Constants.DOM_CHARSET_OVERRIDES_XML_ENCODING);
        parameters.add(Constants.DOM_CHECK_CHAR_NORMALIZATION);
        parameters.add(Constants.DOM_SUPPORTED_MEDIATYPES_ONLY);
        parameters.add(Constants.DOM_IGNORE_UNKNOWN_CHARACTER_DENORMALIZATIONS);
        
        parameters.add(Constants.DOM_NORMALIZE_CHARACTERS);
        parameters.add(Constants.DOM_WELLFORMED);
        parameters.add(Constants.DOM_INFOSET);
        parameters.add(Constants.DOM_DISALLOW_DOCTYPE);
        parameters.add(Constants.DOM_ELEMENT_CONTENT_WHITESPACE);
        parameters.add(Constants.DOM_COMMENTS);
        
        parameters.add(Constants.DOM_ERROR_HANDLER);
        parameters.add(Constants.DOM_RESOURCE_RESOLVER);
        parameters.add(Constants.DOM_SCHEMA_LOCATION);
        parameters.add(Constants.DOM_SCHEMA_TYPE);
        
        fRecognizedParameters = new DOMStringListImpl(parameters);
        
    }
    
    return fRecognizedParameters;
}
 
开发者ID:AaronZhangL,项目名称:SplitCharater,代码行数:48,代码来源:DOMParserImpl.java

示例6: getParameterNames

import org.w3c.dom.DOMStringList; //导入依赖的package包/类
public DOMStringList getParameterNames() {
    if (fRecognizedParameters == null){
        ArrayList v = new ArrayList();
        v.add(Constants.DOM_VALIDATE);
        v.add(Constants.DOM_ERROR_HANDLER);
        v.add(Constants.DOM_RESOURCE_RESOLVER);
        v.add(SYMBOL_TABLE);
        v.add(ERROR_REPORTER);
        v.add(ERROR_HANDLER);
        v.add(ENTITY_RESOLVER);
        v.add(XMLGRAMMAR_POOL);
        v.add(SCHEMA_LOCATION);
        v.add(SCHEMA_NONS_LOCATION);
        v.add(JAXP_SCHEMA_SOURCE);
        v.add(SCHEMA_FULL_CHECKING);
        v.add(CONTINUE_AFTER_FATAL_ERROR);
        v.add(ALLOW_JAVA_ENCODINGS);
        v.add(STANDARD_URI_CONFORMANT_FEATURE);
        v.add(VALIDATE_ANNOTATIONS);
        v.add(GENERATE_SYNTHETIC_ANNOTATIONS);
        v.add(HONOUR_ALL_SCHEMALOCATIONS);
        v.add(NAMESPACE_GROWTH);
        v.add(TOLERATE_DUPLICATES);
        fRecognizedParameters = new DOMStringListImpl(v);      	
    }
    return fRecognizedParameters;
}
 
开发者ID:AaronZhangL,项目名称:SplitCharater,代码行数:28,代码来源:XMLSchemaLoader.java

示例7: getParameterNames

import org.w3c.dom.DOMStringList; //导入依赖的package包/类
/**
  *  DOM Level 3 Core CR - Experimental.
  * 
  *  The list of the parameters supported by this 
  * <code>DOMConfiguration</code> object and for which at least one value 
  * can be set by the application. Note that this list can also contain 
  * parameter names defined outside this specification. 
  */
 public DOMStringList getParameterNames() {
 	
  	if (fRecognizedParameters == null){
ArrayList parameters = new ArrayList();

//Add DOM recognized parameters
//REVISIT: Would have been nice to have a list of 
//recognized parameters.
parameters.add(Constants.DOM_NAMESPACES);
parameters.add(Constants.DOM_SPLIT_CDATA);
parameters.add(Constants.DOM_DISCARD_DEFAULT_CONTENT);
parameters.add(Constants.DOM_XMLDECL);
parameters.add(Constants.DOM_CANONICAL_FORM);
parameters.add(Constants.DOM_VALIDATE_IF_SCHEMA);
parameters.add(Constants.DOM_VALIDATE);
parameters.add(Constants.DOM_CHECK_CHAR_NORMALIZATION);
parameters.add(Constants.DOM_DATATYPE_NORMALIZATION);
parameters.add(Constants.DOM_FORMAT_PRETTY_PRINT);
parameters.add(Constants.DOM_NORMALIZE_CHARACTERS);
parameters.add(Constants.DOM_WELLFORMED);
parameters.add(Constants.DOM_INFOSET);
parameters.add(Constants.DOM_NAMESPACE_DECLARATIONS);
parameters.add(Constants.DOM_ELEMENT_CONTENT_WHITESPACE);
parameters.add(Constants.DOM_ENTITIES);
parameters.add(Constants.DOM_CDATA_SECTIONS);
parameters.add(Constants.DOM_COMMENTS);
parameters.add(Constants.DOM_IGNORE_UNKNOWN_CHARACTER_DENORMALIZATIONS);
parameters.add(Constants.DOM_ERROR_HANDLER);
//parameters.add(Constants.DOM_SCHEMA_LOCATION);
//parameters.add(Constants.DOM_SCHEMA_TYPE);

//Add recognized xerces features and properties

fRecognizedParameters = new DOMStringListImpl(parameters);		
 		
 	}

 	return fRecognizedParameters; 	
 }
 
开发者ID:AaronZhangL,项目名称:SplitCharater,代码行数:48,代码来源:DOMSerializerImpl.java

示例8: getParameterNames

import org.w3c.dom.DOMStringList; //导入依赖的package包/类
/**
 *  DOM Level 3 CR - Experimental.
 *
 *  The list of the parameters supported by this
 * <code>DOMConfiguration</code> object and for which at least one value
 * can be set by the application. Note that this list can also contain
 * parameter names defined outside this specification.
 */
public DOMStringList getParameterNames() {
    if (fRecognizedParameters == null){
                    Vector parameters = new Vector();

                    //Add DOM recognized parameters
                    //REVISIT: Would have been nice to have a list of
                    //recognized paramters.
                    parameters.add(Constants.DOM_COMMENTS);
                    parameters.add(Constants.DOM_DATATYPE_NORMALIZATION);
                    parameters.add(Constants.DOM_CDATA_SECTIONS);
                    parameters.add(Constants.DOM_ENTITIES);
                    parameters.add(Constants.DOM_SPLIT_CDATA);
                    parameters.add(Constants.DOM_NAMESPACES);
                    parameters.add(Constants.DOM_VALIDATE);

                    parameters.add(Constants.DOM_INFOSET);
                    parameters.add(Constants.DOM_NORMALIZE_CHARACTERS);
                    parameters.add(Constants.DOM_CANONICAL_FORM);
                    parameters.add(Constants.DOM_VALIDATE_IF_SCHEMA);
                    parameters.add(Constants.DOM_CHECK_CHAR_NORMALIZATION);
                    parameters.add(Constants.DOM_WELLFORMED);

                    parameters.add(Constants.DOM_NAMESPACE_DECLARATIONS);
                    parameters.add(Constants.DOM_ELEMENT_CONTENT_WHITESPACE);

                    parameters.add(Constants.DOM_ERROR_HANDLER);
                    parameters.add(Constants.DOM_SCHEMA_TYPE);
                    parameters.add(Constants.DOM_SCHEMA_LOCATION);
                    parameters.add(Constants.DOM_RESOURCE_RESOLVER);

                    //Add recognized xerces features and properties
                    parameters.add(GRAMMAR_POOL);
                    parameters.add(SYMBOL_TABLE);
                    parameters.add(SEND_PSVI);

                    fRecognizedParameters = new DOMStringListImpl(parameters);

    }

    return fRecognizedParameters;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:50,代码来源:DOMConfigurationImpl.java

示例9: getParameterNames

import org.w3c.dom.DOMStringList; //导入依赖的package包/类
public DOMStringList getParameterNames() {
    return fSchemaLoader.getParameterNames();
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:XSLoaderImpl.java

示例10: getParameterNames

import org.w3c.dom.DOMStringList; //导入依赖的package包/类
/**
 *  DOM Level 3 CR - Experimental.
 *
 *  The list of the parameters supported by this
 * <code>DOMConfiguration</code> object and for which at least one value
 * can be set by the application. Note that this list can also contain
 * parameter names defined outside this specification.
 */
public DOMStringList getParameterNames() {
    if (fRecognizedParameters == null){
        ArrayList parameters = new ArrayList();

        //Add DOM recognized parameters
        //REVISIT: Would have been nice to have a list of
        //recognized paramters.
        parameters.add(Constants.DOM_COMMENTS);
        parameters.add(Constants.DOM_DATATYPE_NORMALIZATION);
        parameters.add(Constants.DOM_CDATA_SECTIONS);
        parameters.add(Constants.DOM_ENTITIES);
        parameters.add(Constants.DOM_SPLIT_CDATA);
        parameters.add(Constants.DOM_NAMESPACES);
        parameters.add(Constants.DOM_VALIDATE);

        parameters.add(Constants.DOM_INFOSET);
        parameters.add(Constants.DOM_NORMALIZE_CHARACTERS);
        parameters.add(Constants.DOM_CANONICAL_FORM);
        parameters.add(Constants.DOM_VALIDATE_IF_SCHEMA);
        parameters.add(Constants.DOM_CHECK_CHAR_NORMALIZATION);
        parameters.add(Constants.DOM_WELLFORMED);

        parameters.add(Constants.DOM_NAMESPACE_DECLARATIONS);
        parameters.add(Constants.DOM_ELEMENT_CONTENT_WHITESPACE);

        parameters.add(Constants.DOM_ERROR_HANDLER);
        parameters.add(Constants.DOM_SCHEMA_TYPE);
        parameters.add(Constants.DOM_SCHEMA_LOCATION);
        parameters.add(Constants.DOM_RESOURCE_RESOLVER);

        //Add recognized xerces features and properties
        parameters.add(GRAMMAR_POOL);
        parameters.add(SYMBOL_TABLE);
        parameters.add(SEND_PSVI);

        fRecognizedParameters = new DOMStringListImpl(parameters);
    }

    return fRecognizedParameters;
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:49,代码来源:DOMConfigurationImpl.java

示例11: getParameterNames

import org.w3c.dom.DOMStringList; //导入依赖的package包/类
public DOMStringList getParameterNames()
{
  return this;
}
 
开发者ID:vilie,项目名称:javify,代码行数:5,代码来源:DomDocumentConfiguration.java

示例12: getParameterNames

import org.w3c.dom.DOMStringList; //导入依赖的package包/类
@Override
public DOMStringList getParameterNames() {
	synchronized (this) {
		return new DOMStringListImpl(parameters.values());
	}
}
 
开发者ID:oswetto,项目名称:LoboEvolution,代码行数:7,代码来源:DOMConfigurationImpl.java

示例13: getNames

import org.w3c.dom.DOMStringList; //导入依赖的package包/类
@Override
public DOMStringList getNames() {
	// TODO Auto-generated method stub
	return null;
}
 
开发者ID:oswetto,项目名称:LoboEvolution,代码行数:6,代码来源:HTMLPropertiesCollectionImpl.java

示例14: getParameterNames

import org.w3c.dom.DOMStringList; //导入依赖的package包/类
public DOMStringList getParameterNames() {
	return XmlParserUnmarshaller.getDOMStringList(delegate.getParameterNames());
}
 
开发者ID:OpenSoftwareSolutions,项目名称:PDFReporter,代码行数:4,代码来源:UnmarshallingDOMConfiguration.java

示例15: UnmarshallingDOMStringList

import org.w3c.dom.DOMStringList; //导入依赖的package包/类
public UnmarshallingDOMStringList(org.oss.pdfreporter.uses.org.w3c.dom.DOMStringList delegate) {
	super();
	this.delegate = delegate;
}
 
开发者ID:OpenSoftwareSolutions,项目名称:PDFReporter,代码行数:5,代码来源:UnmarshallingDOMStringList.java


注:本文中的org.w3c.dom.DOMStringList类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。